Navigation
API > API/Plugins > API/Plugins/AnimationSharing
Structure which holds data about a currently running on-demand state animation instance
| Name | FOnDemandInstance |
| Type | struct |
| Header File | /Engine/Plugins/Developer/AnimationSharing/Source/AnimationSharing/Public/AnimationSharingManager.h |
| Include Path | #include "AnimationSharingManager.h" |
Syntax
struct FOnDemandInstance
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorIndices | TArray< uint32 > | Indices of actors who are set up as followers to the skeletal mesh component running the animation | AnimationSharingManager.h | |
| bActive | bool | Flag whether or not instance is active | AnimationSharingManager.h | |
| bBlendActive | bool | AnimationSharingManager.h | ||
| BlendToPermutationIndex | uint32 | Permutation index that we are blending to before the end of the animation | AnimationSharingManager.h | |
| bReturnToPreviousState | bool | Flag whether or not the component should be 'returned' to the state they were in before the on-demand animation | AnimationSharingManager.h | |
| EndTime | float | World time in seconds at which the animation has finished playing (calculated at start of blend world time + animation sequence length) | AnimationSharingManager.h | |
| ForwardState | uint8 | State value which the components should be set to when the on-demand animation has finished playing (used when !bReturnToPreviousState) | AnimationSharingManager.h | |
| StartBlendTime | float | Time at which this on demand instance should blend out into the 'next' state the actor is in | AnimationSharingManager.h | |
| StartTime | float | Time at which this instance was started | AnimationSharingManager.h | |
| State | uint8 | State value which is active | AnimationSharingManager.h | |
| UsedPerStateComponentIndex | uint32 | Index into Components array for the current state data which is used for playing the animation | AnimationSharingManager.h |