Type:ClipData

From Resonite Wiki
Revision as of 18:55, 24 December 2024 by 989onan (talk | contribs) (fix category, add info)

Used by Component:RandomAudioClipPlayer as a choice item with a weight to play an audio clip.

Fields
Name Type Description
Weight Float How likely it is for this audio clip to play
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.
MinSpeed Float The minimum playback speed this audio should be played at
MaxSpeed Float The maximum playback speed this audio should be played at
Clip AudioClip The AudioClip to play. This can be a StaticAudioClip.