FMarkerSyncAnimPosition

Syntax

struct FMarkerSyncAnimPosition

Remarks

Represent a current play position in an animation based on sync markers

Variables

Name Description

Public variable

FName

 

NextMarkerName

The marker we are heading towards

Public variable

float

 

PositionBetweenMarkers

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

Public variable

FName

 

PreviousMarkerName

The marker we have passed

Constructors

Name Description

Public function

FMarkerSyncAnimPosition()

Public function

FMarkerSyncAnimPosition

(
    const FName & InPrevMarkerName,
    const FName & InNextMarkerName,
    const float& InAlpha
)

Functions

Name Description

Public function Const

bool

 

IsValid()

Is this a valid Marker Sync Position

Public function Const

FString

 

ToString()

Debug output function

References

Module

Engine

Header

Runtime/Engine/Classes/Animation/AnimationAsset.h