(One intermediate revision by the same user not shown)
Line 3:
Line 3:
|Name=Earmuff Settings
|Name=Earmuff Settings
}}
}}
This is a component that is used to allow a user to change the settings for the Ear muffs, which reduce the noise outside of a cone emitted from the user's head. This feature is useful in crowds or noisy places
The '''EarmuffSettings''' component is used to allow a user to change the settings for the Ear muffs, which reduce the noise outside of a cone emitted from the user's head. This feature is useful in crowds or noisy places
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|EarmuffEnabled|Bool| Whether to have the earmuffs mode enabled for the local user
|EarmuffEnabled|Bool| Whether to have the earmuffs mode enabled for the local user
|VolumeAttenuation|Float|
|VolumeAttenuation|Float| How much to reduce volume based on its distance from the cone.
|Directionality|Float|
|Directionality|Float| How much the audio is affected by how in front the audio is.
|Distance|Float| How far forward from the user's head the cone should stretch
|Distance|Float| How far forward from the user's head the cone should stretch
|Angle|Float|
|Angle|Float| The angle of the cone.
|TransitionStart|Float|
|TransitionStart|Float| The start of audio reducing outside the cone.
|TransitionLength|Float|
|TransitionLength|Float| The distance outside the cone that audio becomes quiet over distance from the cone.
}}
}}
== Behavior ==
== Usage ==
Is used for the settings earmuffs. Is not used directly by the user.
The EarmuffSettings component is used to allow a user to change the settings for the Ear muffs, which reduce the noise outside of a cone emitted from the user's head. This feature is useful in crowds or noisy places