RollOffMode¶
Supported Enum
How Sounds parented to a BasePart or Attachment attenuate (fade out) as the distance between the listener and the parent increases.
Description¶
Enum which determines how Sounds parented to a BasePart or Attachment attenuate (fade out) as the distance between the listener and the parent increases.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Inverse |
0 | Supported | Volume attenuates from Sound.RollOffMinDistance in an inverse manner, mirroring how sounds attenuate in the real world. This is done through [Sound.RollOffMi… |
Linear |
1 | Supported | Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear relationship. This is… |
LinearSquare |
2 | Not yet | Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear squared relationship.… |
InverseTapered |
3 | Not yet | A hybrid model which follows the Inverse model when close to Sound.RollOffMinDistance and the LinearSquare model when close to [Sound.RollOffMaxDistance]… |
Roblox reference: RollOffMode