Enum AudioRolloffMode | Project Tiny | 0.32.0-preview.54
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023