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.
|
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 .
| void USoundCue::CacheAggregateValues | ( | ) |
Call to cache any values which need to be computed from the sound cue graph.
e.g. MaxDistance, Duration, etc.
|
overridevirtual |
Called after load to determine if the object can be a cluster root
重载 UObjectBaseUtility .
|
overridevirtual |
Called during cluster construction if the object can be added to a cluster
重载 UObjectBaseUtility .
|
virtual |
| Format | Format to check |
|
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 .