![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AnimationStreaming.h>
Public Member Functions | |
| FStreamingAnimationData () | |
| ~FStreamingAnimationData () | |
| void | FreeResources () |
| bool | Initialize (UAnimStreamable *InStreamableAnim, FAnimationStreamingManager *InAnimationStreamingManager) |
| bool | UpdateStreamingStatus () |
| bool | HasPendingRequests (TArray< uint32 > &IndicesToLoad, TArray< uint32 > &IndicesToFree) const |
| void | BeginPendingRequests (const TArray< uint32 > &IndicesToLoad, const TArray< uint32 > &IndicesToFree) |
| bool | BlockTillAllRequestsFinished (float TimeLimit=0.0f) |
| SIZE_T | GetMemorySize () const |
Contains everything that will be needed by a Streamable Anim that's streaming in data
| FStreamingAnimationData::FStreamingAnimationData | ( | ) |
| FStreamingAnimationData::~FStreamingAnimationData | ( | ) |
| void FStreamingAnimationData::BeginPendingRequests | ( | const TArray< uint32 > & | IndicesToLoad, |
| const TArray< uint32 > & | IndicesToFree | ||
| ) |
Kicks off any pending requests
Blocks till all pending requests are fulfilled.
| TimeLimit | Optional time limit for processing, in seconds. Specifying 0 means infinite time limit. |
| void FStreamingAnimationData::FreeResources | ( | ) |
| SIZE_T FStreamingAnimationData::GetMemorySize | ( | ) | const |
| bool FStreamingAnimationData::HasPendingRequests | ( | TArray< uint32 > & | IndicesToLoad, |
| TArray< uint32 > & | IndicesToFree | ||
| ) | const |
Checks whether the requested chunk indices differ from those loaded
| IndicesToLoad | List of chunk indices that should be loaded |
| IndicesToFree | List of chunk indices that should be freed |
| bool FStreamingAnimationData::Initialize | ( | UAnimStreamable * | InStreamableAnim, |
| FAnimationStreamingManager * | InAnimationStreamingManager | ||
| ) |
Sets up the streaming wave data and loads the first chunk of animation for instant play
| Anim | The streamable animation we are managing |
| bool FStreamingAnimationData::UpdateStreamingStatus | ( | ) |
Updates the streaming status of the animation and performs finalization when appropriate. The function returns true while there are pending requests in flight and updating needs to continue.
| FAnimationStreamingManager* FStreamingAnimationData::AnimationStreamingManager |
Ptr to owning animation streaming manager.
Indices of chunks that are currently loaded
| TArray<FLoadedAnimationChunk> FStreamingAnimationData::LoadedChunks |
|
mutable |
| UAnimStreamable* FStreamingAnimationData::StreamableAnim |
AnimStreamable this streaming data is for