Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimationStreaming.h |
| Include | #include "Animation/AnimationStreaming.h" |
Syntax
struct FStreamingAnimationData
Remarks
Contains everything that will be needed by a Streamable Anim that's streaming in data
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAnimationStreamingManager * | AnimationStreamingManager | Ptr to owning animation streaming manager. | |
| TArray< uint32 > | LoadedChunkIndices | Indices of chunks that are currently loaded | |
| TArray< FLoadedAnimationChunk > | LoadedChunks | Contains pointers to Chunks of animation data that have been streamed in | |
| FCriticalSection | LoadedChunksCritcalSection | ||
| TArray< uint32 > | LoadFailedChunks | ||
| TArray< uint32 > | RequestedChunks | ||
| UAnimStreamable * | StreamableAnim | AnimStreamable this streaming data is for |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPendingRequests
(
const TArray< uint32 >& IndicesToLoad, |
Kicks off any pending requests | |
| bool | BlockTillAllRequestsFinished
(
float TimeLimit |
Blocks till all pending requests are fulfilled. | |
| void | Frees streaming animation data resources, blocks pending async IO requests. | ||
| SIZE_T | Return the number of bytes used. | ||
| bool | HasPendingRequests
(
TArray< uint32 >& IndicesToLoad, |
Checks whether the requested chunk indices differ from those loaded | |
| bool | Initialize
(
UAnimStreamable* InStreamableAnim, |
Sets up the streaming wave data and loads the first chunk of animation for instant play | |
| bool | Updates the streaming status of the animation and performs finalization when appropriate. |