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