# RollOffMode(ロブロックス 列挙型(Enum)) > How Class.Sound|Sounds parented to a BasePart or Attachment attenuate (fade out) as the distance between the listener and the parent increases. - URL:https://roblox.minecraft-okinawa.com/reference/enums/RollOffMode/ - 公式:https://create.roblox.com/docs/reference/engine/enums/RollOffMode ## 選べる値 - Enum.RollOffMode.Inverse(0):Volume attenuates from Sound.RollOffMinDistance in an inverse manner, mirroring how sounds attenuate in the real world. This is done through Sound.RollOffMinDistance/distance, where distance is the Vector3.Magnitude between the audio source and the audio listener. - Enum.RollOffMode.Linear(1):Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear relationship. This is done through (Sound.RollOffMaxDistance/distance)/(Sound.RollOffMaxDistance-Sound.RollOffMinDistance), where distance is the Vector3.Magnitude between the audio source and the audio listener. - Enum.RollOffMode.LinearSquare(2):Volume attenuates between Sound.RollOffMinDistance and Sound.RollOffMaxDistance with a linear squared relationship. This is done through squaring Linear. - Enum.RollOffMode.InverseTapered(3):A hybrid model which follows the Inverse model when close to Sound.RollOffMinDistance and the LinearSquare model when close to Sound.RollOffMaxDistance. This is done by taking the lesser of Inverse and LinearSquare. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)