Navigation
API > API/Plugins > API/Plugins/Mover
Inheritance Hierarchy
- FMoverDataStructBase
- FCharacterDefaultInputs
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverDataModelTypes.h |
| Include | #include "MoverDataModelTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FCharacterDefaultInputs : public FMoverDataStructBase
Remarks
Data block containing all inputs that need to be authored and consumed for the default Mover character simulation.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsJumpJustPressed | ||
| bool | bIsJumpPressed | ||
| bool | bUsingMovementBase | Specifies whether we are using a movement base, which will affect how move inputs are interpreted. | |
| FRotator | ControlRotation | World space orientation that the controls were based on. This is commonly a player's camera rotation. | |
| FVector | MoveInput | Representing the directional move input for this frame. Must be interpreted according to MoveInputType. Relative to MovementBase if set, world space otherwise. Will be truncated to match network serialization precision. | |
| EMoveInputType | MoveInputType | ||
| TObjectPtr< UPrimitiveComponent > | MovementBase | Optional: when moving on a base, input may be relative to this object. | |
| FName | MovementBaseBoneName | Optional: for movement bases that are skeletal meshes, this is the bone we're based on. Only valid if MovementBase is set. | |
| FVector | OrientationIntent | Facing direction intent, as a normalized forward-facing direction. A zero vector indicates no intent to change facing direction. Relative to MovementBase if set, world space otherwise. | |
| FName | SuggestedMovementMode | Used to force the Mover actor into a different movement mode. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FVector & | GetMoveInput () |
||
| FVector | |||
| EMoveInputType | |||
| FVector | |||
| void | SetMoveInput
(
EMoveInputType InMoveInputType, |
Sets the directional move inputs for a simulation frame. |
Overridden from FMoverDataStructBase
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
If derived classes hold any object references, override this function and add them to the collector. | |
| FMoverDataStructBase * | Clone () |
Return newly allocated copy of this FMoverDataStructBase. | |
| UScriptStruct * | Gets the type info of this FMoverDataStructBase. | ||
| bool | NetSerialize
(
FArchive& Ar, |
||
| void | ToString
(
FAnsiStringBuilderBase& Out |
Get string representation of this struct instance |