跳转到内容

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.

new SoundEventSelector(asset, seed?): SoundEventSelector

Defined in: audio/SoundEvent.ts:110

SoundEventAsset

number = 0

SoundEventSelector

next(): SoundEventSelectionResult

Defined in: audio/SoundEvent.ts:134

SoundEventSelectionResult