3D volume attenuation type||doc135373

September 20, 2022

Sound3DRollOffType

Controls the fading type of 3D sound effects in the scene.


Enum

name value Description
INVERSE 0x00100000 on the contrary
LINEAR 0x00200000 linear
LINEARSQUARE 0x00400000 square linear
INVERSETAPERED 0x00800000 Conical opposite
CUSTOM 0x04000000 customize

code example

local sound3DRollOffType = Sound3DRollOffType.INVERSE