SoundEventSelector
此内容尚不支持你的语言。
Defined in: audio/SoundEvent.ts:100
Immutable compiled choices; selecting allocates no candidate lists or retained history. Selection and parameter random streams are independent so range edits preserve clip order. Duplicate clip identities combine weights in random modes; their first slot is reported. The seed is reduced to 32 bits; only selection and sampled parameters are reproducible.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SoundEventSelector(
asset,seed?):SoundEventSelector
Defined in: audio/SoundEvent.ts:110
Parameters
Section titled “Parameters”number = 0
Returns
Section titled “Returns”SoundEventSelector
Methods
Section titled “Methods”next()
Section titled “next()”next():
SoundEventSelectionResult
Defined in: audio/SoundEvent.ts:134