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

Platform-specific data used streaming audio at runtime. 更多...

#include <SoundWave.h>

Public 成员函数

 FStreamedAudioPlatformData ()
 Default constructor.
 
int32 GetChunkFromDDC (int32 ChunkIndex, uint8 **OutChunkData, bool bMakeSureChunkIsLoaded=false)
 Try to load audio chunk from the derived data cache or build it if it isn't there. 更多...
 
void Serialize (FArchive &Ar, class USoundWave *Owner)
 Serialization.
 
 ~FStreamedAudioPlatformData ()
 Destructor.
 

Public 属性

FName AudioFormat
 Format in which audio chunks are stored.
 
TIndirectArray< struct FStreamedAudioChunk > Chunks
 audio data.
 
int32 NumChunks
 Number of audio chunks.
 

详细描述

Platform-specific data used streaming audio at runtime.

成员函数说明

◆ GetChunkFromDDC()

int32 FStreamedAudioPlatformData::GetChunkFromDDC ( int32  ChunkIndex,
uint8 **  OutChunkData,
bool  bMakeSureChunkIsLoaded = false 
)

Try to load audio chunk from the derived data cache or build it if it isn't there.

参数
ChunkIndexThe Chunk index to load.
OutChunkDataAddress of pointer that will store chunk data - should either be NULL or have enough space for the chunk
返回
if > 0, the size of the chunk in bytes. If 0, the chunk failed to load.

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