Navigation
API > API/Runtime > API/Runtime/Engine
Represent a current play position in an animation based on sync markers
| Name | FMarkerSyncAnimPosition |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimationAsset.h |
| Include Path | #include "Animation/AnimationAsset.h" |
Syntax
USTRUCT (BlueprintType )
struct FMarkerSyncAnimPosition
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/AnimationAsset.h | |||
FMarkerSyncAnimPosition
(
const FName& InPrevMarkerName, |
Animation/AnimationAsset.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NextMarkerName | FName | The marker we are heading towards | Animation/AnimationAsset.h |
|
| PositionBetweenMarkers | float | Value between 0 and 1 representing where we are: 0 we are at PreviousMarker 1 we are at NextMarker 0.5 we are half way between the two | Animation/AnimationAsset.h |
|
| PreviousMarkerName | FName | The marker we have passed | Animation/AnimationAsset.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid() |
Is this a valid Marker Sync Position | Animation/AnimationAsset.h | |
FString ToString() |
Debug output function | Animation/AnimationAsset.h |