Add more info |
m Bool |
||
Line 8: | Line 8: | ||
|MinSpeed|Float|The minimum playback speed this audio should be played at | |MinSpeed|Float|The minimum playback speed this audio should be played at | ||
|MaxSpeed|Float|The maximum playback speed this audio should be played at | |MaxSpeed|Float|The maximum playback speed this audio should be played at | ||
|Spatialize| | |Spatialize|Bool|Whether this audio plays in 2d or 3d | ||
|SpatialBlend|Float|Amount of spatial blending (0 to 1) | |SpatialBlend|Float|Amount of spatial blending (0 to 1) | ||
|MinDistance|Float|The distance in meters in the audio's set transform space where the audio's perceived volume stops increasing and stays constant all the way to the center. | |MinDistance|Float|The distance in meters in the audio's set transform space where the audio's perceived volume stops increasing and stays constant all the way to the center. |
Revision as of 18:04, 15 February 2025
Used by Component:RandomAudioClipPlayer, Component:ChildParentAudioClipPlayer and Component:ButtonAudioClipPlayer as a choice item with a weight to play an audio clip.
Name | Type | Description |
---|---|---|
Clip
|
[[Type:AudioClip|AudioClip]] | The AudioClip to play. This can be a StaticAudioClip. |
Weight
|
Float | How likely it is for this audio clip to play |
MinVolume
|
Float | The minimum volume |
MaxVolume
|
Float | The maximum volume |
MinSpeed
|
Float | The minimum playback speed this audio should be played at |
MaxSpeed
|
Float | The maximum playback speed this audio should be played at |
Spatialize
|
Bool | Whether this audio plays in 2d or 3d |
SpatialBlend
|
Float | Amount of spatial blending (0 to 1) |
MinDistance
|
Float | The distance in meters in the audio's set transform space where the audio's perceived volume stops increasing and stays constant all the way to the center. |
MaxDistance
|
Float | The maximum distance in meters in the audio's set transform space in meters before it cannot be heard. |