Reference API Roblox

Engine API

Website

Related

Reference API Roblox

RollOffMode

How Sounds parented to a BasePart or Attachment attenuate (fade out) as the distance between the listener and the parent increases.

Items 4

HistoryNameValueDescription
220Inverse0

Volume attenuates from Sound.RollOffMinDistance in an inverse manner. This option mirrors how sounds attenuate in the real world.

220Linear1

Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear relationship.

599LinearSquare2

Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear squared relationship.

599InverseTapered3

A hybrid model which follows the Inverse model when close to Sound.RollOffMinDistance and the LinearSquare model when close to Sound.RollOffMaxDistance.

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.

History 7

Settings