Load

Loads a 3D model from a glTF file.

Outputs

NameTypeDescription
OutputModelThe loaded model, or an empty one when there is no file or it cannot be read.

Parameters

NameTypeDescription
File PathStringThe .gltf or .glb file to load, picked with a file dialog or typed.

The Load operator brings a finished 3D asset into the graph, such as a character, a piece of furniture or a whole scene. Dropping a .gltf or .glb file into the editor makes a Load operator with the path filled in.

Each mesh comes with its material and textures, whether they are embedded in the file or lie next to it. The materials arrive as PBR materials. Only triangles are loaded, so points and lines are left out.

Problems with a file are reported in the log.

See also PBR.

Keywords: import, gltf, glb, file, open, scene, asset