Navigation
API > API/Plugins > API/Plugins/Mover
Blueprint function library to make it easier to work with Mover data structs, since we can't add UFUNCTIONs to structs
| Name | UMoverDataModelBlueprintLibrary |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverDataModelTypes.h |
| Include Path | #include "MoverDataModelTypes.h" |
Syntax
UCLASS (MinimalAPI)
class UMoverDataModelBlueprintLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UMoverDataModelBlueprintLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector GetAngularVelocityDegreesFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the angular velocity in world space, in degrees per second | MoverDataModelTypes.h |
|
static FVector GetLocationFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the location in world space | MoverDataModelTypes.h |
|
static FVector GetMoveDirectionIntentFromInputs
(
const FCharacterDefaultInputs& Inputs |
Returns the move direction intent, if any, in world space | MoverDataModelTypes.h |
|
static FVector GetMoveDirectionIntentFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the move direction intent, if any, in world space | MoverDataModelTypes.h |
|
static FRotator GetOrientationFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the orientation in world space | MoverDataModelTypes.h |
|
static FVector GetVelocityFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the velocity in world space | MoverDataModelTypes.h |
|
static void SetDirectionalInput
(
FCharacterDefaultInputs& Inputs, |
Sets move input from a unit length vector representing directional intent | MoverDataModelTypes.h |
|
static void SetVelocityInput
(
FCharacterDefaultInputs& Inputs, |
Sets move input from a vector representing desired velocity c/m^2 | MoverDataModelTypes.h |
|