Contains everything that will be needed by a Streamable Anim that's streaming in data
更多...
#include <AnimationStreaming.h>
|
|
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. 更多...
|
| |
|
|
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.
- 参数
-
| TimeLimit | Optional 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
- 参数
-
| IndicesToLoad | List of chunk indices that should be loaded |
| IndicesToFree | List 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
- 参数
-
| Anim | The 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
该结构体的文档由以下文件生成: