Difference between revisions of "RandomAudioClipPlayer (Component)"

From Neos Wiki
Jump to navigation Jump to search
 
Line 14: Line 14:
 
|MaxDistance|Nullable`1|TypeString1=Float?|
 
|MaxDistance|Nullable`1|TypeString1=Float?|
 
|RolloffMode|Nullable`1|TypeString2=Nullable<AudioRolloffMode>| An optional [[:Category:Types:AudioRolloffMode|AudioRolloffMode]]
 
|RolloffMode|Nullable`1|TypeString2=Nullable<AudioRolloffMode>| An optional [[:Category:Types:AudioRolloffMode|AudioRolloffMode]]
|Clips|SyncList`1|TypeString3=SyncList<ClipData>| The list of [[:Category:Types:ClipData|ClipData]] to choose from, uniformly randomly.
+
|Clips|SyncList`1|TypeString3=SyncList<ClipData>| The list of [[:Category:Types:ClipData|ClipData]] to choose from, randomly with weights.
 
}}
 
}}
  

Latest revision as of 04:03, 25 August 2021


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


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?
MaxDistance Float?
RolloffMode Nullable<AudioRolloffMode> An optional AudioRolloffMode
Clips SyncList<ClipData> The list of ClipData to choose from, randomly with weights.

Usage

Examples

Neos VR Tutorial: Playing a random sound using RandomAudioClipPlayer for... Boopable Snoots! by ProbablePrime

Related Components