Struct Audio3dPanning | Project Tiny | 0.29.0-preview.22
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Audio3dPanning

    An Audio3dPanning component controls an AudioSource's 3d panning.

    Namespace: Unity.Tiny.Audio
    Syntax
    public struct Audio3dPanning : IComponentData
    Remarks

    The AudioSystem automatically adjusts the associated AudioSource's stereo panning value based on the AudioSource's position relative to the AudioListener.

    Properties

    pan

    Specifies the audio clip's playback stereo pan. Values can range from -1..1. This value is set automatically by the AudioSystem.

    Declaration
    public float pan { get; }
    Property Value
    Type Description
    Single
    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