Class UnityAudioDepthCueSettings
Authored positioned depth cues of one audio channel: how a positioned sound darkens with distance and
how it darkens and quietens when a wall sits between it and the listener, plus how much of it is sent
through a per-source reverb that grows with distance and occlusion. Every cue is off by default.
Inheritance
UnityAudioDepthCueSettings
Assembly: Serenity.UnityAudioPlayer.Infrastructure.dll
Syntax
public class UnityAudioDepthCueSettings
Constructors
UnityAudioDepthCueSettings()
Declaration
public UnityAudioDepthCueSettings()
Fields
CutoffHzByNormalizedDistance
Declaration
public AnimationCurve CutoffHzByNormalizedDistance
Field Value
| Type |
Description |
| AnimationCurve |
|
DefaultFullOcclusionDetourMeters
Declaration
public const float DefaultFullOcclusionDetourMeters = 0
Field Value
DefaultLowPassEnabled
Declaration
public const bool DefaultLowPassEnabled = false
Field Value
DefaultMaxReverberatedVoices
Declaration
public const int DefaultMaxReverberatedVoices = 4
Field Value
DefaultOccludedCutoffHz
Declaration
public const float DefaultOccludedCutoffHz = 1200
Field Value
DefaultOccludedLevelDropDecibels
Declaration
public const float DefaultOccludedLevelDropDecibels = 6
Field Value
DefaultOccludedWetShareIncrease
Declaration
public const float DefaultOccludedWetShareIncrease = 0.15
Field Value
DefaultOcclusionClosingSeconds
Declaration
public const float DefaultOcclusionClosingSeconds = 0.1
Field Value
DefaultOcclusionLayerMask
Declaration
public const int DefaultOcclusionLayerMask = -5
Field Value
DefaultReverbEnabled
Declaration
public const bool DefaultReverbEnabled = false
Field Value
DefaultReverbPreset
Declaration
public const AudioReverbPreset DefaultReverbPreset = 3
Field Value
| Type |
Description |
| AudioReverbPreset |
|
FullOcclusionDetourMeters
Declaration
public float FullOcclusionDetourMeters
Field Value
LowPassEnabled
Declaration
public bool LowPassEnabled
Field Value
MaxReverberatedVoices
Declaration
public int MaxReverberatedVoices
Field Value
OccludedCutoffHz
Declaration
public float OccludedCutoffHz
Field Value
OccludedLevelDropDecibels
Declaration
public float OccludedLevelDropDecibels
Field Value
OccludedWetShareIncrease
Declaration
public float OccludedWetShareIncrease
Field Value
OcclusionClosingSeconds
Declaration
public float OcclusionClosingSeconds
Field Value
OcclusionLayers
Declaration
public LayerMask OcclusionLayers
Field Value
| Type |
Description |
| LayerMask |
|
ReverbEnabled
Declaration
public bool ReverbEnabled
Field Value
ReverbPreset
Declaration
public AudioReverbPreset ReverbPreset
Field Value
| Type |
Description |
| AudioReverbPreset |
|
ReverbWetShareByNormalizedDistance
Declaration
public AnimationCurve ReverbWetShareByNormalizedDistance
Field Value
| Type |
Description |
| AnimationCurve |
|