/Engine/Plugins/Developer/AnimationSharing/Source/AnimationSharing/Public/AnimationSharingManager.h
Structure which holds data about a unique state which is linked to an enumeration value defined by the user. The data is populated from the user exposedFAnimationStateEntry
struct FPerStateData
UAnimSequence&...
AdditiveAnimationSequence
Animation Sequence that is used for Additive States
FInstanceStack<...
AdditiveInstanceStack
Additive actors data structure
TArray< float >
AnimationLengths
Length of the animations used for an on-demand state, array as it could contain different animation permutations
bool
bIsAdditive
Flag whether or not this state is an additive state
bool
bIsOnDemand
Flag whether or not this state is an on-demand state, this means that we kick off a unique animation when needed
float
BlendTime
Duration of blending when blending to this state
bool
bReturnToPreviousState
Flag whether or not we should return to the previous state, only used when this state is an on-demand one
bool
bShouldForwardToState
Flag whether or not ForwardStateValue should be used hwen the animation has finished
TArray<USkelet...
Components
Components setup to play animations for this state
uint32
CurrentFrameOnDemandIndex
This is (re-)set every frame, and allows for quickly finding an on-demand instance which was setup this frame
TBitArray
FollowerTickRequiredFrameBits
Bits keeping track whether or not any of the follower components requires the leader component to tick
uint8
ForwardStateValue
State value to which the actors part of anFOnDemandInstanceshould be set to when its animation has finished
TBitArray
InUseComponentFrameBits
Bits keeping track which of the components are in-use, in case of On Demand state this is managed byFOnDemandInstance, otherwise we clear and populate the flags each frame
TBitArray
PreviousInUseComponentFrameBits
uint8
StateEnumValue
Enum value linked to this state
float
WiggleTime
Number of 'wiggle' frames, this is used when we run out of available entries in Components, if one of theFOnDemandInstancehas started NumWiggleFrames ago or earlier, it is used instead of a brand new one