Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimSync.h |
| Include | #include "Animation/AnimSync.h" |
Syntax
struct FAnimSync
Remarks
Wraps up functionality for ticking and syncing animations according to group (via normalized time) or marker.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
UAnimInstance* InAnimInstance, |
GC support. | |
| void | AddTickRecord
(
const FAnimTickRecord& InTickRecord, |
Adds a tick record in the list for the correct group or the ungrouped array. | |
| FAnimTickRecord & | CreateUninitializedTickRecord
(
FAnimGroupInstance*& OutSyncGroupPtr, |
||
| FAnimTickRecord & | CreateUninitializedTickRecordInScope
(
FAnimInstanceProxy& InProxy, |
||
| const FSyncGroupMap & | Get the sync group we are currently reading from | ||
| FMarkerSyncAnimPosition | GetSyncGroupPosition
(
FName InSyncGroupName |
||
| int32 | Gets the sync group we should be reading from. | ||
| int32 | Gets the sync group we should be writing to. | ||
| bool | GetTimeToClosestMarker
(
FName SyncGroup, |
||
| const TArray< FAnimTickRecord > & | Get the ungrouped active player we are currently reading from | ||
| bool | HasMarkerBeenHitThisFrame
(
FName SyncGroup, |
||
| bool | IsSyncGroupBetweenMarkers
(
FName InSyncGroupName, |
||
| bool | IsSyncGroupValid
(
FName InSyncGroupName |
||
| void | Reset () |
Reset internal buffers ready for writing. | |
| void | ResetAll () |
Completely reset the sync system back to its starting state. | |
| void | SetMirror
(
const UMirrorDataTable* MirrorTable |
||
| void | TickAssetPlayerInstances
(
FAnimInstanceProxy& InProxy, |
Tick all of the asset player tick records that are registered with us. | |
| void | Flip sync group read/write indices |
Typedefs
| Name | Description |
|---|---|
| FSyncGroupMap |
Constants
| Name | Description |
|---|---|
| Attribute |