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 |