Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioRolloffMode

enumeration

Description

Rolloff modes that a 3D sound can have in an audio source.

Variables

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