fix category, add info |
add category |
||
Line 9: | Line 9: | ||
|Clip|{{RootFieldType|AssetRef`1|[[Type:AudioClip|AudioClip]]}}|TypeAdv5=true| The AudioClip to play. This can be a [[Component:StaticAudioClip|StaticAudioClip]]. | |Clip|{{RootFieldType|AssetRef`1|[[Type:AudioClip|AudioClip]]}}|TypeAdv5=true| The AudioClip to play. This can be a [[Component:StaticAudioClip|StaticAudioClip]]. | ||
}} | }} | ||
[[Category:Type]] | |||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] |
Latest revision as of 18:56, 24 December 2024
Used by Component:RandomAudioClipPlayer as a choice item with a weight to play an audio clip.
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. |