Last updated

API / geotoolkit3d / data / loader / GLTFLoader / GLTFLoader

Class: 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.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new GLTFLoader()

new GLTFLoader()

Overrides

AbstractLoader<GLTFLoader.ParseResult>.constructor

Methods

getClassName

getClassName(): string

Returns

string

Inherited from

AbstractLoader.getClassName


load

load(url, params?): void

Load the given glTF data url

Parameters

Name Type Description
urlstringthe URL to the glTF object.
Optional paramsLoadOptions<ParseResult>options object with the callback to handle successful loading

Returns

void

Overrides

AbstractLoader.load


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractLoader.getClassName