engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FStreamingAnimationData结构体 参考final

Contains everything that will be needed by a Streamable Anim that's streaming in data 更多...

#include <AnimationStreaming.h>

Public 成员函数

void BeginPendingRequests (const TArray< uint32 > &IndicesToLoad, const TArray< uint32 > &IndicesToFree)
 Kicks off any pending requests
 
bool BlockTillAllRequestsFinished (float TimeLimit=0.0f)
 Blocks till all pending requests are fulfilled. 更多...
 
bool HasPendingRequests (TArray< uint32 > &IndicesToLoad, TArray< uint32 > &IndicesToFree) const
 Checks whether the requested chunk indices differ from those loaded 更多...
 
bool Initialize (UAnimStreamable *InStreamableAnim, FAnimationStreamingManager *InAnimationStreamingManager)
 Sets up the streaming wave data and loads the first chunk of audio for instant play 更多...
 
bool UpdateStreamingStatus ()
 Updates the streaming status of the animation and performs finalization when appropriate. 更多...
 

Public 属性

FAnimationStreamingManager * AnimationStreamingManager
 Ptr to owning audio streaming manager.
 
TArray< uint32 > LoadedChunkIndices
 Indices of chunks that are currently loaded
 
UAnimStreamable * StreamableAnim
 AnimStreamable this streaming data is for
 

详细描述

Contains everything that will be needed by a Streamable Anim that's streaming in data

成员函数说明

◆ BlockTillAllRequestsFinished()

bool FStreamingAnimationData::BlockTillAllRequestsFinished ( float  TimeLimit = 0.0f)

Blocks till all pending requests are fulfilled.

参数
TimeLimitOptional time limit for processing, in seconds. Specifying 0 means infinite time limit.
返回
Return true if there are no requests left in flight, false if the time limit was reached before they were finished.

◆ HasPendingRequests()

bool FStreamingAnimationData::HasPendingRequests ( TArray< uint32 > &  IndicesToLoad,
TArray< uint32 > &  IndicesToFree 
) const

Checks whether the requested chunk indices differ from those loaded

参数
IndicesToLoadList of chunk indices that should be loaded
IndicesToFreeList of chunk indices that should be freed
返回
Whether any changes to loaded chunks are required

◆ Initialize()

bool FStreamingAnimationData::Initialize ( UAnimStreamable *  InStreamableAnim,
FAnimationStreamingManager *  InAnimationStreamingManager 
)

Sets up the streaming wave data and loads the first chunk of audio for instant play

参数
AnimThe streamable animation we are managing

◆ UpdateStreamingStatus()

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.

返回
true if there are requests in flight, false otherwise

该结构体的文档由以下文件生成: