GLTFLoader
A loader for loading GLTF resources. The .gltf and .glb file extensions are supported.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Loads a GLTF resource from a URL with callback-style API.
Loads a GLTF resource from a URL with callback-style API.
Attributes
Loads a GLTF resource from a URL asynchronously.
Loads a GLTF resource from a URL asynchronously.
Attributes
Parses a GLTF JSON string and returns the result.
Parses a GLTF JSON string and returns the result.
Attributes
Parses a GLTF JSON string asynchronously and returns the result.
Parses a GLTF JSON string asynchronously and returns the result.
Attributes
Sets the crossOrigin string to implement CORS.
Sets the crossOrigin string to implement CORS.
Attributes
Sets the Draco loader to use for decompressing Draco compressed geometry.
Sets the Draco loader to use for decompressing Draco compressed geometry.
Attributes
Sets the KTX2 loader to use for loading KTX2 compressed textures.
Sets the KTX2 loader to use for loading KTX2 compressed textures.
Attributes
Sets the meshopt decoder to use for decompressing meshopt compressed geometry.
Sets the meshopt decoder to use for decompressing meshopt compressed geometry.
Attributes
Sets the base path for resolving references.
Sets the base path for resolving references.
Attributes
Sets the request headers to use when fetching resources.
Sets the request headers to use when fetching resources.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Concrete fields
The crossOrigin string to implement CORS for loading the url.
The crossOrigin string to implement CORS for loading the url.
Attributes
Whether the .gltf loader should output more verbose messages.
Whether the .gltf loader should output more verbose messages.
Attributes
A loader to be used for loading KTX2 textures.
A loader to be used for loading KTX2 textures.
Attributes
A loader to be used for loading meshopt compressed files.
A loader to be used for loading meshopt compressed files.
Attributes
The path to use when loading resources referenced by the GLTF asset.
The path to use when loading resources referenced by the GLTF asset.
Attributes
Whether the .gltf loader requires the use of worker threads.
Whether the .gltf loader requires the use of worker threads.