m ProbablePrime moved page RandomAudioClipPlayer (Component) to Component:RandomAudioClipPlayer: Creating component Namespace |
Automated: update component fields |
||
Line 9: | Line 9: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|MinDistance|Nullable`1| | |ParentUnder|Slot| | ||
|MaxDistance|Nullable`1| | |MinDistance|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float|Float]]>'''|TypeAdv1=true| 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. | ||
|RolloffMode|Nullable`1| | |MaxDistance|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float|Float]]>'''|TypeAdv2=true| the maximum distance in meters in the audio's set transform space in meters before it cannot be heard. | ||
|Clips|SyncList`1| | |RolloffMode|'''[[Type:Nullable`1|Nullable`1]]<[[Type:AudioRolloffMode|AudioRolloffMode]]>'''|TypeAdv3=true| An optional [[Type:AudioRolloffMode|AudioRolloffMode]] | ||
|Clips|{{RootFieldType|SyncList`1|[[Type:ClipData|ClipData]]}}|TypeAdv4=true| The list of [[Type:ClipData|ClipData]] to choose from, randomly with weights. | |||
}} | }} | ||
Revision as of 10:51, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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. |
ParentUnder
|
Slot | |
MinDistance
|
Nullable`1<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<Float> | the maximum distance in meters in the audio's set transform space in meters before it cannot be heard. |
RolloffMode
|
Nullable`1<AudioRolloffMode> | An optional AudioRolloffMode |
Clips
|
list of 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.