logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioDepthCueDefaultCurves

    Builds the default authored curves, always as a new instance so no two settings share one.

    Inheritance
    object
    UnityAudioDepthCueDefaultCurves
    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 static class UnityAudioDepthCueDefaultCurves

    Fields

    FarCutoffHz

    Declaration
    public const float FarCutoffHz = 2000
    Field Value
    Type Description
    float

    FarWetShare

    Declaration
    public const float FarWetShare = 0.35
    Field Value
    Type Description
    float

    MiddleCutoffHz

    Declaration
    public const float MiddleCutoffHz = 6000
    Field Value
    Type Description
    float

    MiddleNormalizedDistance

    Declaration
    public const float MiddleNormalizedDistance = 0.2
    Field Value
    Type Description
    float

    Methods

    CreateCutoffCurve()

    Cutoff in Hz by normalised distance: fully open at the source's minimum distance, closed furthest at its maximum.

    Declaration
    public static AnimationCurve CreateCutoffCurve()
    Returns
    Type Description
    AnimationCurve

    CreateReverbWetCurve()

    Wet share by normalised distance: dry at the source's minimum distance, growing to a fixed share at its maximum.

    Declaration
    public static AnimationCurve CreateReverbWetCurve()
    Returns
    Type Description
    AnimationCurve
    In this article
    © 2026 Serenity. All Rights Reserved