Enum AudioRolloffMode | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    Show / Hide Table of Contents

    Enum AudioRolloffMode

    When a 3d sound is played, it is distance-attenuated; its volume is lowered as the sound moves away from the listener.

    Namespace: Unity.Tiny.Audio
    Syntax
    public enum AudioRolloffMode

    Fields

    Name Description Value
    Logarithmic

    In logarithmic rolloff mode, the volume drops logarithmically/steeply after the sound is minDistance units from the listener.

    0
    Linear

    In linear rolloff mode, the volume drops linearly from full volume at minDistance units (from the listener) to zero at maxDistance units.

    1
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021