The Viewer.
ID for this Plugin, unique within its Viewer.
The Viewer that contains this Plugin.
Gets the custom data source through which the STLLoaderPlugin can load STL files.
Default value is {@link STLDefaultDataSource}, which loads via an XMLHttpRequest.
Sets a custom data source through which the STLLoaderPlugin can load STL files.
Default value is {@link STLDefaultDataSource}, which loads via an XMLHttpRequest.
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 an STL model from a file into this STLLoaderPlugin'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 STL files.