Learn which data types to use when working with Unreal Engine and GameDriver
When using GameDriver you will want to access values to get and set, such as the API commands GetObjectFieldValue and SetObjectFieldValue. To understand the mapping between unreal C++ and Gamedriver consider the table below.
Unreal Type |
C# Equivalent. |
---|---|
Bool |
Bool |
FHit |
Hit* |
FLinearColor |
Color* |
float UE 4.x |
float |
float UE 5.x |
double |
FQuat |
Quaternion* |
FString, FName,FText |
String |
FTransform |
Transform* |
FVector |
Vector3* |
FVector2D |
Vector2* |
Int |
Int |
int64 |
Int64 |
UObject |
LiteGameObject |
Bool |
Bool |
FHit |
Hit* |
* GameDriver type that comes bundled with the API