Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/MovementRecord.h |
| Include | #include "MoveLibrary/MovementRecord.h" |
Syntax
USTRUCT (BlueprintType )
struct FMovementRecord
Remarks
Accounting record of a move as it is processed. Moves are composed of substeps, and these can be marked to indicate how they influence the final collapsed move. Relevancy means the substep (or part thereof) is contributing to the reflected movement state. Example: a character moves forward across a slightly irregular sidewalk, and then is adjusted downward to keep it sticking closely to the sidewalk. The forward move is a relevant substep, while the vertical heigh adjustment is not.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Append
(
FMovementSubstep Substep |
||
| FVector | |||
| FVector | |||
| const TArray< FMovementSubstep > & | GetSubsteps () |
||
| FVector | |||
| void | LockRelevancy
(
bool bLockValue |
TODO: consider changing this to only allow locking as irrelevant TODO: this relevancy locking is hacky, could be replaced by a scoping-style mechanism to allow higher-level functions to override a lower-level function's default relevancy | |
| void | SetDeltaSeconds
(
float DeltaSeconds |
||
| FString | ToString () |
||
| void |