Skip to content
4 changes: 4 additions & 0 deletions content/en-us/reference/engine/enums/RollOffMode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,23 @@ items:
summary: |
Volume attenuates from `Class.Sound.RollOffMinDistance` in an inverse
manner. This option mirrors how sounds attenuate in the real world.
This is done through `Class.Sound.RollOffMinDistance`/`Distance`
value: 0
tags: []
deprecation_message: ''
- name: Linear
summary: |
Volume attenuates between `Class.Sound.RollOffMinDistance` and
`Class.Sound.RollOffMaxDistance` with a linear relationship.
This is done through (`Class.Sound.RollOffMaxDistance`/`Distance`)/(`Class.Sound.RollOffMaxDistance`-`Class.Sound.RollOffMinDistance`)
value: 1
tags: []
deprecation_message: ''
- name: LinearSquare
summary: |
Volume attenuates between `Class.Sound.RollOffMinDistance` and
`Class.Sound.RollOffMaxDistance` with a linear squared relationship.
This is done through Squaring `Linear`
value: 2
tags: []
deprecation_message: ''
Expand All @@ -38,6 +41,7 @@ items:
A hybrid model which follows the `Inverse` model when close to
`Class.Sound.RollOffMinDistance` and the `LinearSquare` model when close
to `Class.Sound.RollOffMaxDistance`.
This is done through `Libraries.math.min`((`Class.Sound.RollOffMinDistance`/`Distance`)*`LinearSquare`)
value: 3
tags: []
deprecation_message: ''
Loading