Interface ThreeJS

Three.js dependencies used by the avatars effect: the THREE core and the GLTFLoader add-on. Each entry accepts either a module URL (loaded dynamically) or a pre-imported module.

interface ThreeJS {
    GLTFLoader: any;
    THREE: any;
}

Properties

Properties

GLTFLoader: any

GLTFLoader URL or module. Default: [email protected]/examples/jsm/loaders/GLTFLoader.js from the jsDelivr CDN.

THREE: any

THREE.js URL or module. Default: [email protected] from the jsDelivr CDN.