Navigation
API > API/Plugins > API/Plugins/Mover
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UMoverDataModelBlueprintLibrary
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverDataModelTypes.h |
| Include | #include "MoverDataModelTypes.h" |
Syntax
UCLASS ()
class UMoverDataModelBlueprintLibrary : public UBlueprintFunctionLibrary
Remarks
Blueprint function library to make it easier to work with Mover data structs, since we can't add UFUNCTIONs to structs
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetLocationFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the location in world space | |
| FVector | GetMoveDirectionIntentFromInputs
(
const FCharacterDefaultInputs& Inputs |
Returns the move direction intent, if any, in world space | |
| FVector | GetMoveDirectionIntentFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the move direction intent, if any, in world space | |
| FRotator | GetOrientationFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the orientation in world space | |
| FVector | GetVelocityFromSyncState
(
const FMoverDefaultSyncState& SyncState |
Returns the velocity in world space | |
| void | SetMoveIntent
(
UPARAM(Ref) FCharacterDefaultInputs& Inputs, |
Sets move inputs from worldspace intent, as a per-axis magnitude in the range [-1,1] Zero vector indicates intent to stop. |