Skip to content

@modoki/engine / index / stopWorldAudio

Function: stopWorldAudio()

stopWorldAudio(world): void

Stop + forget a world's live audio (scene swap / teardown). Scoped to the given world — NOT a global stopAll — so a swap in one viewport can't cut audio in another (editor dual-viewport).

Parameters

world

World

Returns

void

Built with Modoki.