|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomActiveSound.h>
クラス | |
| struct | FAsyncTraceDetails |
公開型 | |
| enum class | EFadeOut : uint8 { None , User , Concurrency } |
公開メンバ関数 | |
| FAtomActiveSound () | |
| FAtomActiveSound (const FAtomActiveSound &) | |
| ~FAtomActiveSound () | |
| FAtomPlaybackInstance & | AddPlaybackInstance (const UPTRINT PlaybackInstanceHash) |
| void | AddReferencedObjects (FReferenceCollector &Collector) |
| bool | CanDelete () const |
| bool | CanVirtualizeWhenSilent () const |
| void | ClearAllCueSelectorLabels () |
| void | ClearAtomComponent () |
| void | CollectAttenuationShapesForVisualization (TMultiMap< EAtomAttenuationShape, FAtomAttenuationSettings::AttenuationShapeDetails > &ShapeDetailsMap) const |
| int32 | FindClosestListener () const |
| int32 | FindClosestListener (const TArray< struct FAtomListener > &InListeners) const |
| FAtomPlaybackInstance * | FindPlaybackInstance (const UPTRINT PlaybackInstanceHash) |
| void | GetAisacControls (TArray< FAtomAisacParameter > &OutParameters) const |
| bool | GetAlwaysPlay () const |
| void | GetAtomBusSends (TArray< FAtomSoundToBusSend > &OutSends) const |
| uint64 | GetAtomComponentID () const |
| FString | GetAtomComponentName () const |
| FName | GetAtomComponentUserID () const |
| void | GetAtomRackSends (TArray< FAtomSoundToRackSend > &OutSends) const |
| FAtomRuntime * | GetAtomRuntime () const |
| int32 | GetClosestListenerIndex () const |
| bool | GetConcurrencyFadeDuration (float &OutFadeDuration) const |
| void | GetConcurrencyHandles (TArray< FAtomConcurrencyHandle > &OutConcurrencyHandles) const |
| void | GetCueSelectorParameters (TArray< FAtomSelectorParam > &OutParameters) const |
| float | GetHighestPriority (bool bIgnoreAlwaysPlay=false) const |
| uint32 | GetInstanceID () const |
| void | GetMultiplePositions (TArray< FTransform > &OutPositions) |
| TArray< TTuple< EAtomBusSendStage, FAtomSoundSourceBusSendInfo > > const & | GetNewSourceBusSends () const |
| uint32 | GetObjectId () const |
| uint32 | GetOwnerID () const |
| FString | GetOwnerName () const |
| float | GetPitch () const |
| const TMap< UPTRINT, FAtomPlaybackInstance * > & | GetPlaybackInstances () const |
| int32 | GetPlayCount () const |
| uint32 | GetPlayOrder () const |
| UAtomSoundBase * | GetSound () const |
| UAtomSoundClass * | GetSoundClass () const |
| UAtomRackBase * | GetSoundRack () const |
| void | GetSourceBusSends (EAtomBusSendStage BusSendStage, TArray< FAtomSoundSourceBusSendInfo > &OutSends) const |
| float | GetTotalConcurrencyVolumeScale () const |
| float | GetVolume () const |
| TWeakObjectPtr< UWorld > | GetWeakWorld () const |
| UWorld * | GetWorld () const |
| uint32 | GetWorldID () const |
| bool | HasNewSourceBusSends () const |
| bool | IsLooping () const |
| bool | IsOneShot () const |
| bool | IsPlayingAudio () const |
| bool | IsPlayWhenSilent () const |
| bool | IsPreviewSound () const |
| void | OnCueBeatSync (const TSharedPtr< const FAtomBeatSyncInfo > &BeatSyncInfo) |
| void | OnCueSequencerEvent (const TSharedPtr< const FAtomSequencerEventInfo > &EventInfo) |
| void | ParseAttenuation (FAtomSoundParseParameters &OutParseParams, int32 ListenerIndex, const FAtomAttenuationSettings &InAttenuationSettings) |
| void | RemoveCueSelectorLabel (const FAtomSelectorParam &SelectorParam) |
| void | RemovePlaybackInstance (const UPTRINT PlaybackInstanceHash) |
| void | ResetNewSourceBusSends () |
| void | SetAisacControl (const FAtomAisacParameter &Parameter) |
| void | SetAtomBusSend (const FAtomSoundToBusSend &BusSend) |
| void | SetAtomComponent (const FAtomActiveSound &ActiveSound) |
| void | SetAtomComponent (const UAtomComponent &Component) |
| void | SetAtomRackSend (const FAtomSoundToRackSend &RackSend) |
| void | SetAtomRuntime (FAtomRuntime *InAtomRuntime) |
| void | SetAttenuationSettingsAsset (TObjectPtr< UAtomAttenuation > InSoundAttenuation) |
| void | SetAttenuationSettingsOverride (bool bInIsAttenuationSettingsOverridden) |
| void | SetCueBeatSyncInfo (const TSharedPtr< const FAtomBeatSyncInfo > &BeatSyncInfo) |
| void | SetCueBeatSyncOffset (int32 Offset) |
| void | SetCueBlockIndex (int32 BlockIndex) |
| void | SetCueNextBlockIndex (int32 BlockIndex) |
| void | SetCueSelectorLabel (const FAtomSelectorParam &SelectorParam) |
| void | SetMultiplePositions (const TArray< FTransform > &InPositions, EAtomMultiPositionType InMultiPositionType) |
| void | SetNewModulationRouting (const FAtomSoundModulationRoutingSettings &NewRouting) |
| void | SetOwner (const AActor *Owner) |
| void | SetPitch (float Value) |
| void | SetSound (UAtomSoundBase *InSound) |
| void | SetSoundClass (UAtomSoundClass *SoundClass) |
| void | SetSourceBusSend (EAtomBusSendStage BusSendStage, const FAtomSoundSourceBusSendInfo &SourceBusSendInfo) |
| void | SetVirtualized (bool bIsVirtualized) |
| void | SetVolume (float Value) |
| void | SetWorld (UWorld *World) |
| void | Stop () |
| void | UpdateAttenuation (float DeltaTime, FAtomSoundParseParameters &ParseParams, int32 ListenerIndex, const FAtomAttenuationSettings *SettingsAttenuationNode=nullptr) |
| void | UpdateFocusData (float DeltaTime, const FAtomAttenuationListenerData &ListenerData, FAtomAttenuationFocusData *OutFocusData=nullptr) |
| void | UpdatePlaybackInstances (TArray< FAtomPlaybackInstance * > &OutPlaybackInstances, const float DeltaTime) |
静的公開メンバ関数 | |
| static FAtomActiveSound * | CreateVirtualCopy (const FAtomActiveSound &ActiveSoundToCopy, FAtomRuntime &AtomRuntime) |
| static void | ExecuteOnSoundFinishedCallback (bool bEndReached, const TFunction< void(bool bEndReached)> &OnSoundFinished, const ENamedThreads::Type &CallbackThread) |
| static void | OcclusionTraceDone (const FTraceHandle &TraceHandle, FTraceDatum &TraceDatum) |
非公開メンバ関数 | |
| void | CheckOcclusion (const FVector ListenerLocation, const FVector SoundLocation, const FAtomAttenuationSettings *AttenuationSettingsPtr) |
| float | GetAttenuationFrequency (const FAtomAttenuationSettings *InSettings, const FAtomAttenuationListenerData &ListenerData, const FVector2D &FrequencyRange, const FRuntimeFloatCurve &CustomCurve) |
| bool | IsStopping () const |
| void | MarkPendingDestroy (bool bDestroyNow) |
| void | UpdateConcurrencyVolumeScalars (const float DeltaTime) |
| bool | UpdateStoppingSources (uint64 CurrentTick, bool bEnsureStopped) |
非公開変数類 | |
| TArray< FAtomSoundToBusSend > | AtomBusSendsOverride |
| uint64 | AtomComponentID |
| FName | AtomComponentName |
| FName | AtomComponentUserID |
| TArray< FAtomSoundToRackSend > | AtomRackSendsOverride |
| FAtomRuntime * | AtomRuntime |
| int32 | ClosestListenerIndex |
| uint32 | OwnerID |
| FName | OwnerName |
| TMap< UPTRINT, FAtomPlaybackInstance * > | PlaybackInstances |
| uint32 | PlayOrder |
| TObjectPtr< UAtomSoundBase > | Sound |
| TObjectPtr< UAtomAttenuation > | SoundAttenuation |
| TObjectPtr< UAtomSoundClass > | SoundClassOverride |
| TArray< FAtomSoundSourceBusSendInfo > | SourceBusSendsOverride [(int32) EAtomBusSendStage::Count] |
| TWeakObjectPtr< UWorld > | World |
| uint32 | WorldID |
静的非公開変数類 | |
| static FTraceDelegate | ActiveSoundTraceDelegate |
| static TMap< FTraceHandle, FAsyncTraceDetails > | TraceToActiveSoundMap |
フレンド | |
| class | FAtomRuntime |
| FArchive & | operator<< (FArchive &Ar, FAtomActiveSound *ActiveSound) |
|
strong |
| FAtomActiveSound::FAtomActiveSound | ( | ) |
|
default |
| FAtomActiveSound::~FAtomActiveSound | ( | ) |
| FAtomPlaybackInstance & FAtomActiveSound::AddPlaybackInstance | ( | const UPTRINT | PlaybackInstanceHash | ) |
Add newly created playback instance to active sound
| void FAtomActiveSound::AddReferencedObjects | ( | FReferenceCollector & | Collector | ) |
|
inline |
Returns whether or not the active sound can be deleted.
| bool FAtomActiveSound::CanVirtualizeWhenSilent | ( | ) | const |
Whether or not the sound reference is valid and set to use virtual voice when silent.
|
private |
if OcclusionCheckInterval > 0.0, checks if the sound has become (un)occluded during playback and calls eventOcclusionChanged() if so primarily used for gameplay-relevant ambient sounds CurrentLocation is the location of this component that will be used for playback
| ListenerLocation | location of the closest listener to the sound |
| void FAtomActiveSound::ClearAllCueSelectorLabels | ( | ) |
| void FAtomActiveSound::ClearAtomComponent | ( | ) |
| void FAtomActiveSound::CollectAttenuationShapesForVisualization | ( | TMultiMap< EAtomAttenuationShape, FAtomAttenuationSettings::AttenuationShapeDetails > & | ShapeDetailsMap | ) | const |
|
static |
|
static |
| int32 FAtomActiveSound::FindClosestListener | ( | ) | const |
| int32 FAtomActiveSound::FindClosestListener | ( | const TArray< struct FAtomListener > & | InListeners | ) | const |
| FAtomPlaybackInstance * FAtomActiveSound::FindPlaybackInstance | ( | const UPTRINT | PlaybackInstanceHash | ) |
Find an existing playback instance attached (if any)
| void FAtomActiveSound::GetAisacControls | ( | TArray< FAtomAisacParameter > & | OutParameters | ) | const |
Gets the AISAC control with values set for this sound instance.
| bool FAtomActiveSound::GetAlwaysPlay | ( | ) | const |
Returns whether or not sound or any active playback instances it manages are set to always play.
| void FAtomActiveSound::GetAtomBusSends | ( | TArray< FAtomSoundToBusSend > & | OutSends | ) | const |
Gets the rack bus sends to use for this sound instance.
|
inline |
| FString FAtomActiveSound::GetAtomComponentName | ( | ) | const |
|
inline |
| void FAtomActiveSound::GetAtomRackSends | ( | TArray< FAtomSoundToRackSend > & | OutSends | ) | const |
Gets the rack sends to use for this sound instance.
|
inline |
|
private |
Helper function which retrieves attenuation frequency value for HPF and LPF distance-based filtering.
|
inline |
| bool FAtomActiveSound::GetConcurrencyFadeDuration | ( | float & | OutFadeDuration | ) | const |
| void FAtomActiveSound::GetConcurrencyHandles | ( | TArray< FAtomConcurrencyHandle > & | OutConcurrencyHandles | ) | const |
Gets the sound concurrency handles applicable to this sound instance.
| void FAtomActiveSound::GetCueSelectorParameters | ( | TArray< FAtomSelectorParam > & | OutParameters | ) | const |
| float FAtomActiveSound::GetHighestPriority | ( | bool | bIgnoreAlwaysPlay = false | ) | const |
Returns the highest effective priority of the child wave instances. If bIgnoreAlwaysPlay set to true, gives highest priority disregarding always play priority override.
|
inline |
Returns a unique identifier for this active sound object
| void FAtomActiveSound::GetMultiplePositions | ( | TArray< FTransform > & | OutPositions | ) |
Gets the multiple source positions in use.
| TArray< TTuple< EAtomBusSendStage, FAtomSoundSourceBusSendInfo > > const & FAtomActiveSound::GetNewSourceBusSends | ( | ) | const |
Lets the audio thread know if additional Source Bus Send information has been added
|
inline |
|
inline |
Returns the unique ID of the active sound's owner if it exists. Returns 0 if the sound doesn't have an owner.
| FString FAtomActiveSound::GetOwnerName | ( | ) | const |
|
inline |
|
inline |
| int32 FAtomActiveSound::GetPlayCount | ( | ) | const |
|
inline |
|
inline |
| UAtomSoundClass * FAtomActiveSound::GetSoundClass | ( | ) | const |
Get the sound class to apply on this sound instance
| UAtomRackBase * FAtomActiveSound::GetSoundRack | ( | ) | const |
Get the sound rack to use for this sound instance
| void FAtomActiveSound::GetSourceBusSends | ( | EAtomBusSendStage | BusSendStage, |
| TArray< FAtomSoundSourceBusSendInfo > & | OutSends ) const |
Gets the sound source bus sends to use for this sound instance.
| float FAtomActiveSound::GetTotalConcurrencyVolumeScale | ( | ) | const |
Check whether to apply the radio filter Gets total concurrency gain stage based on all concurrency memberships of sound
| float FAtomActiveSound::GetVolume | ( | ) | const |
Gets volume product all gain stages pertaining to active sound
|
inline |
|
inline |
|
inline |
| bool FAtomActiveSound::HasNewSourceBusSends | ( | ) | const |
Checks whether there are Source Bus Sends that have not yet been updated
|
inline |
Whether or not the active sound is a looping sound.
|
inline |
Whether or not the active sound a one-shot sound.
|
inline |
Whether or not the active sound is currently playing audible sound.
| bool FAtomActiveSound::IsPlayWhenSilent | ( | ) | const |
Whether or not sound reference is valid and continue to play if silent.
|
inline |
|
inlineprivate |
Whether or not the active sound is stopping.
|
private |
Marks the active sound as pending delete and begins termination of internal resources. Only to be called from the owning audio device.
|
static |
Delegate callback function when an async occlusion trace completes.
| void FAtomActiveSound::OnCueBeatSync | ( | const TSharedPtr< const FAtomBeatSyncInfo > & | BeatSyncInfo | ) |
| void FAtomActiveSound::OnCueSequencerEvent | ( | const TSharedPtr< const FAtomSequencerEventInfo > & | EventInfo | ) |
| void FAtomActiveSound::ParseAttenuation | ( | FAtomSoundParseParameters & | OutParseParams, |
| int32 | ListenerIndex, | ||
| const FAtomAttenuationSettings & | InAttenuationSettings ) |
Applies the active sound's attenuation settings to the input parse params using the given listener.
| void FAtomActiveSound::RemoveCueSelectorLabel | ( | const FAtomSelectorParam & | SelectorParam | ) |
| void FAtomActiveSound::RemovePlaybackInstance | ( | const UPTRINT | PlaybackInstanceHash | ) |
| void FAtomActiveSound::ResetNewSourceBusSends | ( | ) |
Resets internal data of new Source Bus Sends
| void FAtomActiveSound::SetAisacControl | ( | const FAtomAisacParameter & | Parameter | ) |
Sets the value of an AISAC control to use for this sound instance.
| void FAtomActiveSound::SetAtomBusSend | ( | const FAtomSoundToBusSend & | BusSend | ) |
Sets the amount of audio from this active sound to send to the rack bus.
| void FAtomActiveSound::SetAtomComponent | ( | const FAtomActiveSound & | ActiveSound | ) |
| void FAtomActiveSound::SetAtomComponent | ( | const UAtomComponent & | Component | ) |
| void FAtomActiveSound::SetAtomRackSend | ( | const FAtomSoundToRackSend & | RackSend | ) |
Sets the amount of audio from this active sound to send to the rack.
|
inline |
| void FAtomActiveSound::SetAttenuationSettingsAsset | ( | TObjectPtr< UAtomAttenuation > | InSoundAttenuation | ) |
| void FAtomActiveSound::SetAttenuationSettingsOverride | ( | bool | bInIsAttenuationSettingsOverridden | ) |
| void FAtomActiveSound::SetCueBeatSyncInfo | ( | const TSharedPtr< const FAtomBeatSyncInfo > & | BeatSyncInfo | ) |
| void FAtomActiveSound::SetCueBeatSyncOffset | ( | int32 | Offset | ) |
| void FAtomActiveSound::SetCueBlockIndex | ( | int32 | BlockIndex | ) |
| void FAtomActiveSound::SetCueNextBlockIndex | ( | int32 | BlockIndex | ) |
| void FAtomActiveSound::SetCueSelectorLabel | ( | const FAtomSelectorParam & | SelectorParam | ) |
Cues parameters
| void FAtomActiveSound::SetMultiplePositions | ( | const TArray< FTransform > & | InPositions, |
| EAtomMultiPositionType | InMultiPositionType ) |
Sets multiple source postions. When MultiPositionType is set to SingleSource, sound transform is user or first position if passed list is not empty.
| void FAtomActiveSound::SetNewModulationRouting | ( | const FAtomSoundModulationRoutingSettings & | NewRouting | ) |
| void FAtomActiveSound::SetOwner | ( | const AActor * | Owner | ) |
| void FAtomActiveSound::SetPitch | ( | float | Value | ) |
| void FAtomActiveSound::SetSound | ( | UAtomSoundBase * | InSound | ) |
| void FAtomActiveSound::SetSoundClass | ( | UAtomSoundClass * | SoundClass | ) |
| void FAtomActiveSound::SetSourceBusSend | ( | EAtomBusSendStage | BusSendStage, |
| const FAtomSoundSourceBusSendInfo & | SourceBusSendInfo ) |
Sets the amount of audio from this active sound to send to the source bus.
| void FAtomActiveSound::SetVirtualized | ( | bool | bIsVirtualized | ) |
| void FAtomActiveSound::SetVolume | ( | float | Value | ) |
| void FAtomActiveSound::SetWorld | ( | UWorld * | World | ) |
| void FAtomActiveSound::Stop | ( | ) |
| void FAtomActiveSound::UpdateAttenuation | ( | float | DeltaTime, |
| FAtomSoundParseParameters & | ParseParams, | ||
| int32 | ListenerIndex, | ||
| const FAtomAttenuationSettings * | SettingsAttenuationNode = nullptr ) |
Updates the active sound's attenuation settings to the input parse params using the given listener
|
private |
Updates ramping concurrency volume scalars
| void FAtomActiveSound::UpdateFocusData | ( | float | DeltaTime, |
| const FAtomAttenuationListenerData & | ListenerData, | ||
| FAtomAttenuationFocusData * | OutFocusData = nullptr ) |
Updates the provided focus data using the local
| void FAtomActiveSound::UpdatePlaybackInstances | ( | TArray< FAtomPlaybackInstance * > & | OutPlaybackInstances, |
| const float | DeltaTime ) |
|
private |
Called when an active sound has been stopped but needs to update it's stopping sounds. Returns true when stopping sources have finished stopping.
|
friend |
This is a friend so the Atom runtime can call Stop() on the active sound.
|
friend |
Friend archive function used for serialization.
|
staticprivate |
| TArray<FName> FAtomActiveSound::AdditionalAisacPatchNames |
Optional AISAC to attach.
| TArray<FAtomAisacParameter> FAtomActiveSound::AisacParametersOverride |
Optional override the AISAC modulations.
| FAtomEnvelope FAtomActiveSound::AmplitudeEnvelope |
An envelope to apply to volume amplitude.
|
private |
Optional override the rack bus sends for the sound.
|
private |
|
private |
|
private |
|
private |
Optional override the rack sends for the sound.
|
private |
| FAtomAttenuationSettings FAtomActiveSound::AttenuationSettings |
The Attenuation setting to apply. (only works for ExPlayer)
| uint8 FAtomActiveSound::bAllowSpatialization |
Is this sound allowed to be spatialized?
| uint8 FAtomActiveSound::bAlwaysPlay |
Whether to artificially prioritize the component to play
| uint8 FAtomActiveSound::bApplyInteriorVolumes |
Whether some part of this sound will want interior sounds to be applied
| FThreadSafeBool FAtomActiveSound::bAsyncOcclusionPending |
Whether or not there is an async occlusion trace pending
| uint8 FAtomActiveSound::bEnableAmplitudeEnvelope |
| uint8 FAtomActiveSound::bEnableHighPassFilter |
Whether or not we have a low-pass filter enabled on this active sound.
| uint8 FAtomActiveSound::bEnableLowPassFilter |
Whether or not we have a low-pass filter enabled on this active sound.
| uint8 FAtomActiveSound::bEnableMainRackOutputOverride |
| uint8 FAtomActiveSound::bEnableSoundBusSendRoutingOverride |
| uint8 FAtomActiveSound::bEnableSourceBusSendRoutingOverride |
What the value of the enablement overrides are.
| uint8 FAtomActiveSound::bFinished |
Whether the current component has finished playing
| uint8 FAtomActiveSound::bForceUseAtomPlayer |
Whether or not the active sound will request a provided AtomSource object instead of a regular AtomRuntime sound source (pool of FAtomExPlayer).
| uint8 FAtomActiveSound::bGotInteriorSettings |
Whether we have queried for the interior settings at least once
| uint8 FAtomActiveSound::bHasActiveMainRackOutputOverride |
| uint8 FAtomActiveSound::bHasActiveSoundBusSendRoutingOverride |
| uint8 FAtomActiveSound::bHasActiveSourceBusSendRoutingOverride |
Whether or not we are overriding the routing enablement options on sounds.
| uint8 FAtomActiveSound::bHasAttenuationSettings |
Does this sound have attenuation settings specified.
| uint8 FAtomActiveSound::bHasCheckedOcclusion |
Whether or not the sound has checked if it was occluded already. Used to initialize a sound as occluded and bypassing occlusion interpolation.
| bool FAtomActiveSound::bHasNewSourceBusSends |
| uint8 FAtomActiveSound::bHasVirtualized |
Whether or not sound has been virtualized and then realized
| uint8 FAtomActiveSound::bIgnoreForFlushing |
If true, this sound will not be stopped when flushing the Atom runtime.
| uint8 FAtomActiveSound::bIsAttenuationSettingsOverridden |
If this is true the active sound uses the overridden struct of the sound not the attenuation settings asset.
| uint8 FAtomActiveSound::bIsFirstAttenuationUpdate |
| FThreadSafeBool FAtomActiveSound::bIsOccluded |
whether we were occluded the last time we checked
| uint8 FAtomActiveSound::bIsPaused |
Whether or not the active sound is paused. Independently set vs global pause or unpause.
| uint8 FAtomActiveSound::bIsPendingVirtualization |
Whether or not sound is actually virtualizing by ADX.
| uint8 FAtomActiveSound::bIsPlayingAudio |
Whether or not this active sound is playing audio, as in making audible sounds.
| uint8 FAtomActiveSound::bIsPreviewSound |
Whether or not this audio component is a music clip Whether or not the audio component should be excluded from reverb EQ processing Whether or not this sound class forces sounds to the center channel Whether or not this active sound is a preview sound
| uint8 FAtomActiveSound::bIsRealizingWithFadeIn |
Whether or not sound is actually fadein due concurrency realizing.
| uint8 FAtomActiveSound::bIsStopping |
Whether or not the active sound is stopping.
| uint8 FAtomActiveSound::bIsUISound |
Whether or not this sound plays when the game is paused in the UI
| uint8 FAtomActiveSound::bLocationDefined |
If true, the decision on whether to apply the radio filter has been made. If true, this sound will not be stopped when flushing the audio device. Whether the Location of the component is well defined
| uint8 FAtomActiveSound::bModulationRoutingUpdated |
| uint8 FAtomActiveSound::bShouldRemainActiveIfDropped |
Whether the playback instances should remain active if they're dropped by the prioritization code. Useful for e.g. vehicle sounds that shouldn't cut out.
| uint8 FAtomActiveSound::bShouldStopDueToMaxConcurrency |
Whether or not to stop this active sound due to max concurrency.
| uint8 FAtomActiveSound::bStartedWithinNonBinauralRadius |
| uint8 FAtomActiveSound::bUpdateMultiEnvelopeValue |
Whether or not this active sound will update the average envelope value of every playback instance that plays a sound source. Based on set delegates on Atom component.
| uint8 FAtomActiveSound::bUpdatePlaybackTime |
Whether or not the active sound should update it's owning Atom component's playback time.
| uint8 FAtomActiveSound::bUpdatePlayPercentage |
Whether or not this active sound will update play percentage. Based on set delegates on Atom component.
| uint8 FAtomActiveSound::bUpdateSingleEnvelopeValue |
Whether or not this active sound will update the envelope value of every playback instance that plays a sound source. Based on set delegates on Atom component.
| uint8 FAtomActiveSound::bVirtualizedDueToMaxConcurrency |
Whether or not sound is actually virtualized due to max concurrency.
| uint8 FAtomActiveSound::bWarnedAboutOrphanedLooping |
For debugging purposes, output to the log once that a looping sound has been orphaned
| TArray<FName> FAtomActiveSound::CategoryNames |
Optional Atom Categories to use. (Note: Not exposed by UAtomComponent, acessible only by c++.)
|
private |
Cached index to the closest listener. So we don't have to do the work to find it twice.
| FAtomVolumeFader FAtomActiveSound::ComponentVolumeFader |
Fader that tracks component volume
| TMap<FAtomConcurrencyGroupId, FAtomConcurrencySoundData> FAtomActiveSound::ConcurrencyGroupData |
The concurrent groups that this sound is actively playing in.
| TSet<TObjectPtr<UAtomConcurrency> > FAtomActiveSound::ConcurrencySet |
Optional UAtomConcurrency to override for the sound.
| int32 FAtomActiveSound::CueBeatSyncOffset |
| int32 FAtomActiveSound::CueFirstBlockIndex |
When a Soundcue is used as sound, this defines the index of the first block to playback when sound starts.
| int32 FAtomActiveSound::CueNextBlockIndex |
When a Soundcue is used as sound, this defines the next index to setup, this value is reset eachtime it is applied to playback.
| TArray<FAtomSelectorParam> FAtomActiveSound::CueSelectorParams |
When a Soundcue is used as sound, this defines the selector to use. Possible selectors are defined by the currently used AtomConfig.
| FAtomDynamicParameter FAtomActiveSound::CurrentOcclusionFilterFrequency |
The interpolated parameter for the low-pass frequency due to occlusion.
| FAtomDynamicParameter FAtomActiveSound::CurrentOcclusionVolumeAttenuation |
The interpolated parameter for the volume attenuation due to occlusion.
| int32 FAtomActiveSound::EnvelopeFollowerAttackTime |
Source buffer listener
| int32 FAtomActiveSound::EnvelopeFollowerReleaseTime |
| EFadeOut FAtomActiveSound::FadeOut |
Type of fade out currently being applied
| FAtomAttenuationFocusData FAtomActiveSound::FocusData |
Cached data pertaining to focus system updated each frame
| float FAtomActiveSound::HighPassFilterFrequency |
The high-pass filter frequency to apply if bEnableHighPassFilter is true.
| TSharedPtr<Atom::FAtomExPlayer, ESPMode::ThreadSafe> FAtomActiveSound::InstancePlayer |
| FVector FAtomActiveSound::LastLocation |
Location last time playback was updated.
| float FAtomActiveSound::LastOcclusionCheckTime |
Last time we checked for occlusion.
| float FAtomActiveSound::LowPassFilterFrequency |
The low-pass filter frequency to apply if bEnableLowPassFilter is true.
| float FAtomActiveSound::MaxDistance |
The max distance this sound will be audible.
| float FAtomActiveSound::MinCurrentPitch |
| FAtomSoundModulationRoutingSettings FAtomActiveSound::ModulationRouting |
Modulation and AISAC control routings.
| TArray<FTransform> FAtomActiveSound::MultiPositions |
Multi-Position locations and directions.
| EAtomMultiPositionType FAtomActiveSound::MultiPositionType |
Multi-Position type
| TArray<TTuple<EAtomBusSendStage, FAtomSoundSourceBusSendInfo> > FAtomActiveSound::NewSourceBusSends |
| float FAtomActiveSound::OcclusionCheckInterval |
The time in seconds with which to check for occlusion from its closest listener
| TFunction<FAtomSource* (FAtomRuntime*, FAtomPlaybackInstance*)> FAtomActiveSound::OnCreateSource |
If set, overrides standard mixer source creation and create an unpooled mixer source.
| TFunction<void(bool bWasEndReached)> FAtomActiveSound::OnSoundFinished |
Helper that notifies when this active sound finished to play.
|
private |
|
private |
| FAtomPcmFilterFunction FAtomActiveSound::PcmFilterFunction |
If set, enables pcm data filter and call this function at each frame.
| float FAtomActiveSound::PitchMultiplier |
|
private |
| float FAtomActiveSound::PlaybackTime |
Duration between now and when the sound has been started.
| float FAtomActiveSound::PlaybackTimeNonVirtualized |
If virtualized, duration between last time virtualized and now.
| float FAtomActiveSound::PlaybackTimeUnscaled |
Unscaled duration between now and when the sound has been started. This value is not scaled by the playback rate of the sound
|
private |
| float FAtomActiveSound::Priority |
The product of the component priority and the UAtomSoundBase priority
| Atom::FQuartzQuantizedRequestData FAtomActiveSound::QuantizedRequestData |
Quantization information
| float FAtomActiveSound::RequestedStartTime |
|
private |
|
private |
|
private |
Optional SoundClass to override for the sound.
|
private |
Optional override for the source bus sends for the sound.
| FAtomSourceVoiceEffect FAtomActiveSound::SourceVoiceEffect |
An effect to apply to voices.
| ENamedThreads::Type FAtomActiveSound::ThreadToCallOnSoundFinishedOn |
The thread that will be used to call the function in OnSoundFinished.
|
staticprivate |
| FTransform FAtomActiveSound::Transform |
| uint8 FAtomActiveSound::UserIndex |
| float FAtomActiveSound::VolumeConcurrency |
The volume used to determine concurrency resolution for "quietest" active sound. If negative, tracking is disabled for lifetime of ActiveSound.
| float FAtomActiveSound::VolumeMultiplier |
|
private |
|
private |