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
|
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. |