AudioRolloffMode
Rolloff modes that a 3D sound can have in an audio source.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public enum AudioRolloffMode
Fields
Value | Description |
|---|---|
| Custom | Use this when you want to use a custom rolloff. |
| Linear | Use this mode when you want to lower the volume of your sound over the distance. |
| Logarithmic | Use this mode when you want a real-world rolloff. |