logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    UnityAudioDepthCueSettings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.AudioPlayer.Infrastructure.Settings
    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
    Type Description
    float

    DefaultLowPassEnabled

    Declaration
    public const bool DefaultLowPassEnabled = false
    Field Value
    Type Description
    bool

    DefaultMaxReverberatedVoices

    Declaration
    public const int DefaultMaxReverberatedVoices = 4
    Field Value
    Type Description
    int

    DefaultOccludedCutoffHz

    Declaration
    public const float DefaultOccludedCutoffHz = 1200
    Field Value
    Type Description
    float

    DefaultOccludedLevelDropDecibels

    Declaration
    public const float DefaultOccludedLevelDropDecibels = 6
    Field Value
    Type Description
    float

    DefaultOccludedWetShareIncrease

    Declaration
    public const float DefaultOccludedWetShareIncrease = 0.15
    Field Value
    Type Description
    float

    DefaultOcclusionClosingSeconds

    Declaration
    public const float DefaultOcclusionClosingSeconds = 0.1
    Field Value
    Type Description
    float

    DefaultOcclusionLayerMask

    Declaration
    public const int DefaultOcclusionLayerMask = -5
    Field Value
    Type Description
    int

    DefaultReverbEnabled

    Declaration
    public const bool DefaultReverbEnabled = false
    Field Value
    Type Description
    bool

    DefaultReverbPreset

    Declaration
    public const AudioReverbPreset DefaultReverbPreset = 3
    Field Value
    Type Description
    AudioReverbPreset

    FullOcclusionDetourMeters

    Declaration
    public float FullOcclusionDetourMeters
    Field Value
    Type Description
    float

    LowPassEnabled

    Declaration
    public bool LowPassEnabled
    Field Value
    Type Description
    bool

    MaxReverberatedVoices

    Declaration
    public int MaxReverberatedVoices
    Field Value
    Type Description
    int

    OccludedCutoffHz

    Declaration
    public float OccludedCutoffHz
    Field Value
    Type Description
    float

    OccludedLevelDropDecibels

    Declaration
    public float OccludedLevelDropDecibels
    Field Value
    Type Description
    float

    OccludedWetShareIncrease

    Declaration
    public float OccludedWetShareIncrease
    Field Value
    Type Description
    float

    OcclusionClosingSeconds

    Declaration
    public float OcclusionClosingSeconds
    Field Value
    Type Description
    float

    OcclusionLayers

    Declaration
    public LayerMask OcclusionLayers
    Field Value
    Type Description
    LayerMask

    ReverbEnabled

    Declaration
    public bool ReverbEnabled
    Field Value
    Type Description
    bool

    ReverbPreset

    Declaration
    public AudioReverbPreset ReverbPreset
    Field Value
    Type Description
    AudioReverbPreset

    ReverbWetShareByNormalizedDistance

    Declaration
    public AnimationCurve ReverbWetShareByNormalizedDistance
    Field Value
    Type Description
    AnimationCurve
    In this article
    © 2026 Serenity. All Rights Reserved