跳转到内容

SoundEventEmitter

此内容尚不支持你的语言。

Defined in: audio/SoundEventPlayback.ts:29

One owned definition and deterministic choice stream. Dispose to release its voices and definition.

readonly disposed: boolean

Defined in: audio/SoundEventPlayback.ts:31


readonly ref: string

Defined in: audio/SoundEventPlayback.ts:30

dispose(): void

Defined in: audio/SoundEventPlayback.ts:34

void


trigger(position?): SoundEventHandle

Defined in: audio/SoundEventPlayback.ts:33

Spatial events need an explicit world position or a live owner transform.

Vec3

SoundEventHandle