📖 INDEX
LOADING ENGINE...
GLTFLoader
THREE.JS REFERENCE // gltfloader
A loader for glTF 2.0 resources.
Syntax
const loader = new GLTFLoader();
loader.load('model.gltf', function(gltf) { scene.add(gltf.scene); });Examples
Example 01Basic Usage
const loader = new GLTFLoader();
loader.load('model.gltf', function(gltf) { scene.add(gltf.scene); });Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.