CriWare Unreal Engine
Plug-ins for CriWare solutions.
载入中...
搜索中...
未找到
UAtomSoundBank类 参考

#include <AtomSoundBank.h>

类 UAtomSoundBank 继承关系图:

Public 成员函数

 UAtomSoundBank (const FObjectInitializer &ObjectInitializer)
void CacheInheritedLoadingBehavior () const
virtual void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const override
EAtomSoundWaveLoadingBehavior GetLoadingBehavior () const
virtual int GetNumSounds () const
FByteBulkData * GetRawData ()
virtual UAtomSoundBase * GetSound (int Index) const
virtual UClass * GetSoundClass () const
virtual bool IsRetainingResource () const
bool IsStreaming (const FCriWareCookOverridesSettings &Overrides) const
bool IsStreaming (const TCHAR *PlatformName=nullptr) const
virtual void ReleaseResource ()
virtual void RetainResource ()
virtual void Serialize (FArchive &Ar) override
Public 成员函数 继承自 IAtomSoundResource
virtual bool CanUnloadAtomResource ()
virtual FAtomResource * CreateAtomResource ()
virtual void DestroyAtomResource ()
virtual const uint8 * GetResourceData ()
virtual bool InitAtomResource ()
virtual void RemoveAtomResource ()

Public 属性

FAtomResourceHandle AtomResource
TSharedPtr< FThreadSafeBool, ESPMode::ThreadSafe > bLoadingBehaviorOverriddenPtr { MakeShared<FThreadSafeBool, ESPMode::ThreadSafe>() }
EAtomSoundWaveLoadingBehavior CachedSoundWaveLoadingBehavior { EAtomSoundWaveLoadingBehavior::Uninitialized }
EAtomSoundWaveLoadingBehavior LoadingBehavior
FByteBulkData RawData
FCriticalSection RawDataCriticalSection

Protected 属性

TSharedPtr< FThreadSafeBool, ESPMode::ThreadSafe > bIsStreamingProxyFlag { MakeShared<FThreadSafeBool, ESPMode::ThreadSafe>() }

构造及析构函数说明

◆ UAtomSoundBank()

UAtomSoundBank::UAtomSoundBank ( const FObjectInitializer & ObjectInitializer)

成员函数说明

◆ CacheInheritedLoadingBehavior()

void UAtomSoundBank::CacheInheritedLoadingBehavior ( ) const

◆ GetAssetRegistryTags()

void UAtomSoundBank::GetAssetRegistryTags ( TArray< FAssetRegistryTag > & OutTags) const
overridevirtual

◆ GetLoadingBehavior()

EAtomSoundWaveLoadingBehavior UAtomSoundBank::GetLoadingBehavior ( ) const

◆ GetNumSounds()

virtual int UAtomSoundBank::GetNumSounds ( ) const
virtual

被 UAtomCueSheet , 以及 UAtomWaveBank 重载.

◆ GetRawData()

FByteBulkData * UAtomSoundBank::GetRawData ( )

◆ GetSound()

virtual UAtomSoundBase * UAtomSoundBank::GetSound ( int Index) const
virtual

被 UAtomCueSheet , 以及 UAtomWaveBank 重载.

◆ GetSoundClass()

virtual UClass * UAtomSoundBank::GetSoundClass ( ) const
virtual

被 UAtomCueSheet , 以及 UAtomWaveBank 重载.

◆ IsRetainingResource()

bool UAtomSoundBank::IsRetainingResource ( ) const
virtual

◆ IsStreaming() [1/2]

bool UAtomSoundBank::IsStreaming ( const FCriWareCookOverridesSettings & Overrides) const

◆ IsStreaming() [2/2]

bool UAtomSoundBank::IsStreaming ( const TCHAR * PlatformName = nullptr) const

◆ ReleaseResource()

void UAtomSoundBank::ReleaseResource ( )
virtual

◆ RetainResource()

void UAtomSoundBank::RetainResource ( )
virtual

◆ Serialize()

void UAtomSoundBank::Serialize ( FArchive & Ar)
overridevirtual

被 UAtomCueSheet , 以及 UAtomWaveBank 重载.

类成员变量说明

◆ AtomResource

FAtomResourceHandle UAtomSoundBank::AtomResource

Handle of the retained Atom resource used with Atom runtime.

◆ bIsStreamingProxyFlag

TSharedPtr<FThreadSafeBool, ESPMode::ThreadSafe> UAtomSoundBank::bIsStreamingProxyFlag { MakeShared<FThreadSafeBool, ESPMode::ThreadSafe>() }
protected

◆ bLoadingBehaviorOverriddenPtr

TSharedPtr<FThreadSafeBool, ESPMode::ThreadSafe> UAtomSoundBank::bLoadingBehaviorOverriddenPtr { MakeShared<FThreadSafeBool, ESPMode::ThreadSafe>() }
mutable

Set to true if LoadingBehavior was inherited from a AtomCueSheet. This is useful for debugging/logging

◆ CachedSoundWaveLoadingBehavior

EAtomSoundWaveLoadingBehavior UAtomSoundBank::CachedSoundWaveLoadingBehavior { EAtomSoundWaveLoadingBehavior::Uninitialized }
mutable

◆ LoadingBehavior

EAtomSoundWaveLoadingBehavior UAtomSoundBank::LoadingBehavior
mutable

Specifies how and when wave data are loaded for asset if stream cache is enabled.

◆ RawData

FByteBulkData UAtomSoundBank::RawData

Raw data of the sound bank.

◆ RawDataCriticalSection

FCriticalSection UAtomSoundBank::RawDataCriticalSection

Critical section for synchronizing load/unload. FByteBulkData doesn't currently support readonly access from multiple threads, so we limit access to RawData with a critical section on cook.


该类的文档由以下文件生成:
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/AtomSoundBank.h
  • C:/git/uev2/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/AtomSoundBank.cpp