Skip to content

model.mesh

Import mesh data from glTF and GLB files.

1 functions / 0 types

Index

FunctionDescription
importGltfLoad a mesh from a glTF or GLB file.

importGltf

importGltf(args: { path: string }, transactionId?: string): Promise<RemoteHandle>

Load a mesh from a glTF or GLB file.

Returns: An opaque reference to stored blob data.

Returns Promise<RemoteHandle>.

path : string

Path to the gltf or glb file

transactionId optional : string