|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <Atom.h>
公開メンバ関数 | |
| CRIWARECORE_API | FAtomPlaybackInstance (const UPTRINT PlaybackInstanceHash, FAtomActiveSound &ActiveSound) |
| CRIWARECORE_API | FAtomPlaybackInstance (FAtomPlaybackInstance &&)=default |
| CRIWARECORE_API void | AddReferencedObjects (FReferenceCollector &Collector) |
| CRIWARECORE_API float | GetActualVolume () const |
| CRIWARECORE_API float | GetDistanceAndOcclusionAttenuation () const |
| CRIWARECORE_API float | GetDistanceAttenuation () const |
| CRIWARECORE_API float | GetDynamicVolume () const |
| CRIWARECORE_API FAtomAisacControlSettings | GetEffectiveAisacModulationSettings (const FAtomAisacControl &InAisacControl) const |
| CRIWARECORE_API float | GetEffectiveAisacModulationValue (const FAtomAisacControl &InAisacControl) const |
| CRIWARECORE_API FAtomSoundModulationSettings | GetEffectiveModulationSettings (const EAtomModulationDestination InDestination) const |
| CRIWARECORE_API float | GetEffectiveModulationValue (const EAtomModulationDestination InDestination) const |
| float | GetEnvelopeValue () const |
| CRIWARECORE_API FString | GetName () const |
| CRIWARECORE_API float | GetOcclusionAttenuation () const |
| CRIWARECORE_API float | GetPitch () const |
| uint32 | GetPlayOrder () const |
| float | GetRelativeRenderCost () const |
| bool | GetSpatializationIsExternalSend () const |
| CRIWARECORE_API float | GetTimeStretchRatio () const |
| CRIWARECORE_API bool | GetUseSpatialization () const |
| CRIWARECORE_API float | GetVolume () const |
| float | GetVolumeMultiplier () const |
| CRIWARECORE_API float | GetVolumeWeightedPriority () const |
| CRIWARECORE_API float | GetVolumeWithDistanceAndOcclusionAttenuation () const |
| CRIWARECORE_API bool | IsPlaying () const |
| CRIWARECORE_API bool | IsSeekable () const |
| bool | IsStopping () const |
| CRIWARECORE_API bool | IsStreaming () const |
| CRIWARECORE_API void | NotifyFinished (const bool bStopped=false) |
| CRIWARECORE_API FAtomPlaybackInstance & | operator= (FAtomPlaybackInstance &&)=default |
| void | SetDistanceAttenuation (const float InDistanceAttenuation) |
| void | SetEnvelopeValue (const float InEnvelopeValue) |
| void | SetOcclusionAttenuation (const float InOcclusionAttenuation) |
| void | SetPitch (const float InPitch) |
| void | SetRelativeRenderCost (float InRelativeRenderCost) |
| void | SetSpatializationIsExternalSend (const bool InSpatializationIsExternalSend) |
| void | SetStopping (bool bInIsStopping) |
| void | SetUseSpatialization (const bool InUseSpatialization) |
| void | SetVolume (const float InVolume) |
| void | SetVolumeMultiplier (const float InVolumeMultiplier) |
| CRIWARECORE_API bool | ShouldStopDueToMaxConcurrency () const |
| CRIWARECORE_API void | StopWithoutNotification () |
| bool | WasCreatedByMixer () const |
非公開メンバ関数 | |
| void | CalculateInheritedModulationSettingsAndValue (const EAtomModulationDestination InDestination, FAtomSoundModulationSettings &InOutSettings, float &OutValue) const |
| void | CalculateInheritedModulationSettingsAndValue (const FAtomAisacControl &InAisacControl, FAtomAisacControlSettings &InOutSettings, float &OutValue) const |
| void | CalculateInheritedModulationSettingsAndValueInternal (const Atom::FModulationParameter &InParam, const FAtomSoundModulationSettings &InActiveSettings, EAtomModulationRouting InActiveRouting, const FAtomSoundModulationSettings &InInstanceSettings, EAtomModulationRouting InInstanceRouting, const UAtomSoundClass *InSoundClass, TFunctionRef< FAtomSoundModulationSettings()> InGetSoundClassModulationSettingsFunction, FAtomSoundModulationSettings &InOutSettings, float &OutValue) const |
静的非公開メンバ関数 | |
| static Atom::FModulationParameter | GetParameterBasedOnDestination (const EAtomModulationDestination InDestination) |
非公開変数類 | |
| uint32 | bUseSpatialization: 1 |
| float | DistanceAttenuation |
| float | EnvelopValue |
| float | OcclusionAttenuation |
| uint32 | PlayOrder |
| float | RelativeRenderCost |
| float | Volume |
| float | VolumeMultiplier |
静的非公開変数類 | |
| static uint32 | PlayOrderCounter = 0 |
フレンド | |
| uint32 | GetTypeHash (FAtomPlaybackInstance *A) |
| FArchive & | operator<< (FArchive &Ar, FAtomPlaybackInstance *PlaybackInstance) |
Structure encapsulating all information required to play on a source.
| FAtomPlaybackInstance::FAtomPlaybackInstance | ( | const UPTRINT | PlaybackInstanceHash, |
| FAtomActiveSound & | ActiveSound ) |
Constructor, initializing all member variables.
|
default |
| void FAtomPlaybackInstance::AddReferencedObjects | ( | FReferenceCollector & | Collector | ) |
Function used by the GC.
|
private |
This function calculates the effective modulation settings and current value, based on the currently configured modulation routing settings (e.g. it will use inherited modulators if that destination's routing is set to Inherit).
|
private |
|
private |
| float FAtomPlaybackInstance::GetActualVolume | ( | ) | const |
Returns the actual volume the wave instance will play at, including all gain stages.
| float FAtomPlaybackInstance::GetDistanceAndOcclusionAttenuation | ( | ) | const |
Returns the combined distance and occlusion attenuation of the source voice.
| float FAtomPlaybackInstance::GetDistanceAttenuation | ( | ) | const |
Returns the distance attenuation of the source voice.
| float FAtomPlaybackInstance::GetDynamicVolume | ( | ) | const |
Returns the dynamic volume of the sound.
| FAtomAisacControlSettings FAtomPlaybackInstance::GetEffectiveAisacModulationSettings | ( | const FAtomAisacControl & | InAisacControl | ) | const |
| float FAtomPlaybackInstance::GetEffectiveAisacModulationValue | ( | const FAtomAisacControl & | InAisacControl | ) | const |
| FAtomSoundModulationSettings FAtomPlaybackInstance::GetEffectiveModulationSettings | ( | const EAtomModulationDestination | InDestination | ) | const |
| float FAtomPlaybackInstance::GetEffectiveModulationValue | ( | const EAtomModulationDestination | InDestination | ) | const |
|
inline |
Gets the envelope value of the waveinstance. Only returns non-zero values if it's a real voice. Only implemented in the audio mixer.
| FString FAtomPlaybackInstance::GetName | ( | ) | const |
Returns the sound name of the contained USoundBase.
| float FAtomPlaybackInstance::GetOcclusionAttenuation | ( | ) | const |
Returns the occlusion attenuation of the source voice.
|
staticprivate |
| float FAtomPlaybackInstance::GetPitch | ( | ) | const |
Returns the pitch of the playback instance.
|
inline |
|
inline |
Retrieves the relative render cost of wave instance.
|
inline |
Whether spatialization is an external send
| float FAtomPlaybackInstance::GetTimeStretchRatio | ( | ) | const |
Returns the time stretch ratio of the playback instance.
| bool FAtomPlaybackInstance::GetUseSpatialization | ( | ) | const |
Whether this playback will be spatialized, which controls 3D effects like panning
| float FAtomPlaybackInstance::GetVolume | ( | ) | const |
Returns the volume of the wave instance (ignoring application muting).
|
inline |
Returns the volume multiplier on the wave instance.
| float FAtomPlaybackInstance::GetVolumeWeightedPriority | ( | ) | const |
Returns the weighted priority of the wave instance.
| float FAtomPlaybackInstance::GetVolumeWithDistanceAndOcclusionAttenuation | ( | ) | const |
Returns the volume of the sound including distance attenuation.
| bool FAtomPlaybackInstance::IsPlaying | ( | ) | const |
Returns whether or not the WaveInstance is actively playing sound or set to play when silent.
| bool FAtomPlaybackInstance::IsSeekable | ( | ) | const |
|
inline |
| bool FAtomPlaybackInstance::IsStreaming | ( | ) | const |
Checks whether wave is streaming and streaming is supported.
| void FAtomPlaybackInstance::NotifyFinished | ( | const bool | bStopped = false | ) |
Notifies the wave instance that the current playback has finished.
Notifies the playback instance that it has finished.
|
default |
|
inline |
|
inline |
Sets the envelope value of the wave instance. Only set if the wave instance is actually generating real audio with a source voice. Only implemented in the audio mixer.
|
inline |
|
inline |
|
inline |
Sets the relative render cost of the wave instance.
|
inline |
Whether spatialization is an external send
|
inline |
|
inline |
Whether to use spatialization, which controls 3D effects like panning
|
inline |
Setters for various values on wave instances.
|
inline |
| bool FAtomPlaybackInstance::ShouldStopDueToMaxConcurrency | ( | ) | const |
Returns
| void FAtomPlaybackInstance::StopWithoutNotification | ( | ) |
Stops the wave instance without notifying NotifyWaveInstanceFinishedHook.
Stops the wave instance without notifying NotifyWaveInstanceFinishedHook. This will NOT stop wave instance if it is set up to loop indefinitely or set to remain active.
|
inline |
Whether this playback instance was initial playback or created in mixer by ADX sound engine.
|
friend |
|
friend |
Friend archive function used for serialization.
| float FAtomPlaybackInstance::AbsoluteAzimuth |
The absolute position of the wave instance relative to forward vector of listener.
| FAtomActiveSound* FAtomPlaybackInstance::ActiveSound |
Active Sound this playback instance belongs to.
| TArray<FName> FAtomPlaybackInstance::AdditionalAisacPatchNames |
| TArray<FAtomAisacParameter> FAtomPlaybackInstance::AisacControlParams |
| float FAtomPlaybackInstance::AmbientZoneFilterFrequency |
The low pass filter frequency to use due to ambient zones.
| FAtomEnvelope FAtomPlaybackInstance::AmplitudeEnvelope |
Which output target the sound should play on. The envelope to apply to volume amplitude.
| TArray<UAtomRuntimePluginSettingsBase*> FAtomPlaybackInstance::AtomRuntimePluginSettingsArray |
The runtime plugin settings array to use for the playback instance.
| float FAtomPlaybackInstance::AttenuationDistance |
Distance over which the sound is attenuated.
| float FAtomPlaybackInstance::AttenuationHighpassFilterFrequency |
The high pass filter frequency to use due to distance attenuation. (using in audio mixer only)
| float FAtomPlaybackInstance::AttenuationLowpassFilterFrequency |
The low pass filter frequency to use due to distance attenuation.
| uint32 FAtomPlaybackInstance::bAlreadyNotifiedHook |
Whether the notify finished hook has been called since the last update/parsenodes
| uint32 FAtomPlaybackInstance::bCenterChannelOnly |
Whether or not this wave is music Whether or not this wave has reverb applied Whether or not this sound class forces sounds to the center channel
| uint32 FAtomPlaybackInstance::bEnableAmplitudeEnvelope |
| uint32 FAtomPlaybackInstance::bEnableHighPassFilter |
Whether or not to enable the high pass filter
| uint32 FAtomPlaybackInstance::bEnableLowPassFilter |
Whether or not to enable the low pass filter
| uint32 FAtomPlaybackInstance::bEnableSoundBusSends |
Whether or not to enable bus sends in addition to the Main rack.
| uint32 FAtomPlaybackInstance::bEnableSoundRack |
Whether or not to render to the main rack.
| uint32 FAtomPlaybackInstance::bEnableSourceBusSends |
Whether or not to enable sending this audio's output to buses.
| uint32 FAtomPlaybackInstance::bEnableSourceDataOverride |
Whether or not to use source data overrides.
| uint32 FAtomPlaybackInstance::bIsAmbisonics |
Whether or not this wave instance is ambisonics.
| uint32 FAtomPlaybackInstance::bIsFinished |
Whether wave instanced is finished
| uint32 FAtomPlaybackInstance::bIsOccluded |
Whether or not the sound is occluded.
| uint32 FAtomPlaybackInstance::bIsPaused |
Whether or not this sound is manually paused
| uint32 FAtomPlaybackInstance::bIsStarted |
Set to true if the sound nodes state that the radio filter should be applied Whether wave instanced has been started
| uint32 FAtomPlaybackInstance::bIsStopping |
Whether or not this wave instance is stopping.
| uint32 FAtomPlaybackInstance::bIsUISound |
Whether or not this sound plays when the game is paused in the UI
| uint32 FAtomPlaybackInstance::bReportedSpatializationWarning |
Prevent spamming of spatialization of surround sounds by tracking if the warning has already been emitted
| uint32 FAtomPlaybackInstance::bSpatializationIsExternalSend |
Whether the spatialization method is an external send
|
private |
Whether to use spatialization
| TArray<FAtomAttenuationBusSendSettings> FAtomPlaybackInstance::BusSendSettings |
The output reverb send level to use for tje wave instance. The submix send settings to use.
| TArray<FName> FAtomPlaybackInstance::CategoryNames |
| int32 FAtomPlaybackInstance::CueBeatSyncOffset |
| int32 FAtomPlaybackInstance::CueNextBlockIndex |
| TArray<FAtomSelectorParam> FAtomPlaybackInstance::CueSelectorParams |
|
private |
Volume attenuation due to distance.
| int32 FAtomPlaybackInstance::EnvelopeFollowerAttackTime |
The envelope follower attack time in milliseconds.
| int32 FAtomPlaybackInstance::EnvelopeFollowerReleaseTime |
The envelope follower release time in milliseconds.
|
private |
The current envelope value of the wave instance.
| float FAtomPlaybackInstance::HighPassFilterFrequency |
The high pass filter frequency to use
| float FAtomPlaybackInstance::ListenerToSoundDistance |
The distance from this wave instance to the closest listener.
| float FAtomPlaybackInstance::ListenerToSoundDistanceForPanning |
The distance from this wave instance to the closest listener. (ignoring attenuation override)
| EAtomLoopingMode FAtomPlaybackInstance::LoopingMode |
Voice center channel volume Volume of the radio filter effect The volume at which the radio filter kicks in The amount of a sound to bleed to the LFE channel Looping mode - None, loop with notification, forever
| float FAtomPlaybackInstance::LowPassFilterFrequency |
The low pass filter frequency to use
| TArray<FTransform> FAtomPlaybackInstance::MultiPositions |
Multi-Position locations and directions.
| EAtomMultiPositionType FAtomPlaybackInstance::MultiPositionType |
Multi-Position type
| float FAtomPlaybackInstance::NonSpatializedRadiusEnd |
At what distance we are fully non-spatialized
| EAtomNonSpatializedRadiusSpeakerMapMode FAtomPlaybackInstance::NonSpatializedRadiusMode |
How we are doing the non-spatialized radius feature.
| float FAtomPlaybackInstance::NonSpatializedRadiusStart |
At what distance we start transforming into non-spatialized soundsource
| FAtomNotifyPlaybackFinishedHooks FAtomPlaybackInstance::NotifyPlaybackFinishedHooks |
Sound effect chain Objects to notify when the current playback finishes
|
private |
Volume attenuation due to occlusion.
| float FAtomPlaybackInstance::OcclusionFilterFrequency |
The low pass filter frequency to use if the sound is occluded.
| float FAtomPlaybackInstance::Pitch |
Current pitch scale.
| UPTRINT FAtomPlaybackInstance::PlaybackInstanceHash |
Hash value for finding the playback instance based on the path through the cue to get to it
| float FAtomPlaybackInstance::PlaybackTime |
The playback time of the wave instance. Updated from active sound.
|
private |
Cached play order
|
staticprivate |
Static helper to create good unique type hashes
Helper to create good play order for FAtomPlaybackInstance instances
| float FAtomPlaybackInstance::Priority |
An audio component priority value that scales with volume (post all gain stages) and is used to determine voice playback priority.
| TUniquePtr<Atom::FQuartzQuantizedRequestData> FAtomPlaybackInstance::QuantizedRequestData |
Quantized Request data
|
private |
The estimated relative render cost of the playback instance. 1.0 is cost of a single decoding sound source. Used for limited the overall voice count.
| TArray<FAtomSoundToBusSend> FAtomPlaybackInstance::SoundBusSends |
Sound bus sends (submix)
| TObjectPtr<UAtomSoundClass> FAtomPlaybackInstance::SoundClass |
Sound class
| float FAtomPlaybackInstance::SoundClassFilterFrequency |
The low pass filter frequency to use from sound class.
| float FAtomPlaybackInstance::SoundClassHighPassFilterFrequency |
The high pass filter frequency to use from sound class.
| TObjectPtr<UAtomSoundBase> FAtomPlaybackInstance::SoundData |
Sound data
| FAtomPlaybackInfo FAtomPlaybackInstance::SoundInfo |
Source Buffer listener
| UAtomRackBase* FAtomPlaybackInstance::SoundRack |
Sound Rack or Endpoint object to send audio to for mixing.
| TArray<FAtomSoundSourceBusSendInfo> FAtomPlaybackInstance::SourceBusSends[(int32) EAtomBusSendStage::Count] |
The source bus and/or audio bus sends.
| UAtomSourceDataOverridePluginSourceSettingsBase* FAtomPlaybackInstance::SourceDataOverridePluginSettings |
The occlusion plugin settings to use for the wave instance. The occlusion plugin settings to use for the wave instance. The occlusion plugin settings to use for the wave instance. The source data override plugin settings to use for the wave instance.
| FAtomSourceVoiceEffect FAtomPlaybackInstance::SourceVoiceEffect |
| EAtomSpatializationAlgorithm FAtomPlaybackInstance::SpatializationMethod |
Which spatialization method to use to spatialize 3d sounds.
| float FAtomPlaybackInstance::StartTime |
An offset/seek time to play this wave instance.
| float FAtomPlaybackInstance::StereoSpread |
Amount of spread for 3d multi-channel asset spatialization
| FTransform FAtomPlaybackInstance::Transform |
Current location and direction (scale not used).
| uint8 FAtomPlaybackInstance::UserIndex |
User / Controller index that owns the sound
|
private |
Current volume
|
private |
Current volume multiplier - used to zero the volume without stopping the source