The Viewer.
Plugin configuration.
ID for this Plugin, unique within its Viewer.
The Viewer that contains this Plugin.
Gets the custom data source through which the GLTFLoaderPlugin can load metadata, glTF and binary attachments.
Default value is {@link GLTFDefaultDataSource}, which loads via an XMLHttpRequest.
Sets a custom data source through which the GLTFLoaderPlugin can load metadata, glTF and binary attachments.
Default value is {@link GLTFDefaultDataSource}, which loads via an XMLHttpRequest.
Gets map of initial default states for each loaded Entity that represents an object.
Default value is IFCObjectDefaults.
Sets map of initial default states for each loaded Entity that represents an object.
Default value is IFCObjectDefaults.
Destroys this Plugin and removes it from its Viewer.
Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Fires an event at this Plugin.
The event type name
The event parameters
Loads a glTF model from a file into this GLTFLoaderPlugin's Viewer.
Loading parameters.
Entity representing the model, which will have Entity.isModel set true and will be registered by Entity.id in Scene.models
Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Subscribes to an event fired at this Plugin.
The event
Callback fired on the event
Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.
The error message
Generated using TypeDoc
Viewer plugin that loads models from glTF.