@modoki/engine / index / acquireAudio
Function: acquireAudio()
acquireAudio(
sceneId,ref,loadType?):Promise<void>
Acquire an audio clip for a scene. stream clips register ownership only; buffer clips (default) also fetch + decode into the cache. Accepts guid or path.
Parameters
sceneId
number
ref
string
loadType?
"buffer" | "stream"
Returns
Promise<void>