Skip to content

@modoki/engine / index / acquireMesh

Function: acquireMesh()

acquireMesh(sceneId, meshRef): Promise<void>

Acquire a .mesh.json asset for a scene. Accepts guid or path. Transitively acquires its underlying GLB (and the material referenced in the asset, if any).

Parameters

sceneId

number

meshRef

string

Returns

Promise<void>

Built with Modoki.