Skip to content

model.mesh

Import mesh data from glTF and GLB files.

1 functions / 0 types

Index

FunctionDescription
import_gltfLoad a mesh from a glTF or GLB file.

import_gltf

def import_gltf(*, path: str, _transaction_id: str | None = None) -> types.RemoteHandle

Load a mesh from a glTF or GLB file.

Returns RemoteHandle.

path : str

Path to the gltf or glb file

_transaction_id optional : str | None

Transaction to join. Omit to submit without an explicit transaction. Defaults to None.