Skip to content

@modoki/engine / index / cueClip

Function: cueClip() ​

cueClip(clip, opts?, world?): void

Play a clip directly as a one-shot, with no entity.

Parameters ​

clip ​

string

opts? ​

Omit<AudioCue, "name" | "clip">

world? ​

World = ...

Returns ​

void

Built with Modoki.