Component:RandomAudioClipPlayer: Difference between revisions

From Resonite Wiki
added a bit more info, Type not types
m got category wrong
Line 11: Line 11:
|MinDistance|Nullable`1|TypeString0=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|Nullable`1|TypeString0=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|Nullable`1|TypeString1=Float?| the maximum distance in meters in the audio's set transform space in meters before it cannot be heard.
|MaxDistance|Nullable`1|TypeString1=Float?| the maximum distance in meters in the audio's set transform space in meters before it cannot be heard.
|RolloffMode|Nullable`1|TypeString2=Nullable<AudioRolloffMode>| An optional [[:Category:Type:AudioRolloffMode|AudioRolloffMode]]
|RolloffMode|Nullable`1|TypeString2=Nullable<AudioRolloffMode>| An optional [[Type:AudioRolloffMode|AudioRolloffMode]]
|Clips|SyncList`1|TypeString3=SyncList<ClipData>| The list of [[:Category:Type:ClipData|ClipData]] to choose from, randomly with weights.
|Clips|SyncList`1|TypeString3=SyncList<ClipData>| The list of [[Type:ClipData|ClipData]] to choose from, randomly with weights.
}}
}}



Revision as of 18:28, 18 January 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Random Audio Clip Player component as seen in the Scene Inspector


Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
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.
RolloffMode Nullable<AudioRolloffMode> An optional AudioRolloffMode
Clips SyncList<ClipData> The list of ClipData to choose from, randomly with weights.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.