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; set; }
Property Value
Type | Description |
---|---|
Single |