Type:ClipData

From Resonite Wiki
Revision as of 18:19, 24 December 2024 by 989onan (talk | contribs) (add some info, still stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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
MaxSpeed Float
Clip AudioClip The AudioClip to play. This can be a StaticAudioClip.