engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
USoundCue类 参考

The behavior of audio playback is defined within Sound Cues. 更多...

#include <SoundCue.h>

继承自 USoundBase .

Public 成员函数

virtual void BeginDestroy () override
 Called before destroying the object. 更多...
 
void CacheAggregateValues ()
 Call to cache any values which need to be computed from the sound cue graph. 更多...
 
void CacheLoadingBehavior (ESoundWaveLoadingBehavior InBehavior)
 Call this when stream caching is enabled to update sound waves of loading behavior they are inheriting via SoundCue
 
virtual bool CanBeClusterRoot () const override
 Called after load to determine if the object can be a cluster root 更多...
 
virtual bool CanBeInCluster () const override
 Called during cluster construction if the object can be added to a cluster 更多...
 
template<class T >
T * ConstructSoundNode (TSubclassOf< USoundNode > SoundNodeClass=T::StaticClass(), bool bSelectNewNode=true)
 Construct and initialize a node within this Cue
 
bool FindPathToNode (const UPTRINT NodeHashToFind, TArray< USoundNode * > &OutPath) const
 Find the path through the sound cue to a node identified by its hash
 
int32 GetCookedQualityIndex () const
 Set the Quality level that the Cue was cooked at, called by the SoundQualityNodes
 
virtual FString GetDesc () override
 Return a one line description of an object for viewing in the thumbnail view of the generic browser
 
virtual int32 GetResourceSizeForFormat (FName Format)
 
virtual void PostLoad () override
 Do any object-specific cleanup required immediately after loading an object. 更多...
 
void PrimeSoundCue ()
 Call this when stream caching is enabled to prime all SoundWave assets referenced by this Sound Cue.
 
void RecursiveFindAllNodes (USoundNode *Node, TArray< USoundNode * > &OutNodes)
 Recursively finds all Nodes in the Tree
 
void RecursiveFindAttenuation (USoundNode *Node, TArray< class USoundNodeAttenuation * > &OutNodes)
 Instantiate certain functions to work around a linker issue
 
template<typename T >
void RecursiveFindNode (USoundNode *Node, TArray< T * > &OutNodes)
 Recursively finds sound nodes of type T
 
void RetainSoundCue ()
 Call this when stream caching is enabled to retain all soundwave assets referenced by this sound cue.
 

静态 Public 成员函数

static void StaticAudioQualityChanged (int32 NewQualityLevel)
 Call when the audio quality has been changed
 

详细描述

The behavior of audio playback is defined within Sound Cues.

成员函数说明

◆ BeginDestroy()

virtual void USoundCue::BeginDestroy ( )
overridevirtual

Called before destroying the object.

This is called immediately upon deciding to destroy the object, to allow the object to begin an asynchronous cleanup process.

重载 UObject .

◆ CacheAggregateValues()

void USoundCue::CacheAggregateValues ( )

Call to cache any values which need to be computed from the sound cue graph.

e.g. MaxDistance, Duration, etc.

◆ CanBeClusterRoot()

virtual bool USoundCue::CanBeClusterRoot ( ) const
overridevirtual

Called after load to determine if the object can be a cluster root

返回
true if this object can be a cluster root

重载 UObjectBaseUtility .

◆ CanBeInCluster()

virtual bool USoundCue::CanBeInCluster ( ) const
overridevirtual

Called during cluster construction if the object can be added to a cluster

返回
true if this object can be inside of a cluster

重载 UObjectBaseUtility .

◆ GetResourceSizeForFormat()

virtual int32 USoundCue::GetResourceSizeForFormat ( FName  Format)
virtual
参数
FormatFormat to check
返回
Sum of the size of waves referenced by this cue for the given platform.

◆ PostLoad()

virtual void USoundCue::PostLoad ( )
overridevirtual

Do any object-specific cleanup required immediately after loading an object.

This is not called for newly-created objects, and by default will always execute on the game thread.

重载 UObject .


该类的文档由以下文件生成: