@xviewer.js/core 1.0.0-alpha.1 → 1.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -6762,7 +6762,7 @@ class aGLTFLoader extends aLoader {
6762
6762
  if (gltf.animations) node.animations = gltf.animations;
6763
6763
  onLoad(aLoader._setMeshData(node));
6764
6764
  };
6765
- let gltfLoader = new GLTFLoader(this.loadingManager);
6765
+ let gltfLoader = new GLTFLoader(this.manager.loadingManager);
6766
6766
  gltfLoader.setPath(this.manager.path);
6767
6767
  gltfLoader.setResourcePath(this.manager.resourcePath);
6768
6768
  let dracoLoader = new DRACOLoader(this.manager.loadingManager);
@@ -14413,12 +14413,6 @@ class Viewer extends EventEmitter {
14413
14413
  this._componentManager.activeComponents(node);
14414
14414
  node.visible = active;
14415
14415
  }
14416
- createComponent(comp, _param = {}) {
14417
- var { args } = _param, props = _object_without_properties_loose(_param, [
14418
- "args"
14419
- ]);
14420
- return applyProps(Viewer._getClassInstance(comp, args), props);
14421
- }
14422
14416
  createRenderTarget(width, height, nearest = false, floatType = false, msaa = 0, mipmap = false) {
14423
14417
  return new WebGLRenderTarget(width, height, {
14424
14418
  wrapS: ClampToEdgeWrapping,