Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

CustomUse this when you want to use a custom rolloff.
LinearUse this mode when you want to lower the volume of your sound over the distance.
LogarithmicUse this mode when you want a real-world rolloff.