Skip to content

readModel beta ​

Function of @v12-engine/editor

ts
export declare function readModel(data: Uint8Array): Promise<Document>;

Reads a model file: a GLB by its bytes, or a glTF's JSON with everything inside it