API / geotoolkit3d / data / loader / GLTFLoader / GLTFLoader
loader.GLTFLoader.GLTFLoader
glTF loader class.
Support glTF 2.0 format. See https://github.com/KhronosGroup/glTF for specification. For a quick overview of the format, see https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/figures/gltfOverview-2.0.0b.png
Deprecated
since 4.1, please use https://github.com/mrdoob/three.js/blob/dev/examples/jsm/loaders/GLTFLoader.js instead.
↳
GLTFLoader
Constructors
Methods
Constructors
• new GLTFLoader()
AbstractLoader<GLTFLoader.ParseResult&gt;.constructor
Methods
▸ getClassName(): string
string
▸ load(url, params?): void
Load the given glTF data url
| Name | Type | Description |
|---|---|---|
url | string | the URL to the glTF object. |
Optional params | LoadOptions<ParseResult> | options object with the callback to handle successful loading |
void
▸ Static getClassName(): string
string