vis-core 0.31.29 → 0.31.31

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/index.d.ts CHANGED
@@ -104,8 +104,15 @@ export declare class Base extends Camera {
104
104
  re: RoomEnvironment | null;
105
105
  roomEnvMap?: THREE.Texture;
106
106
  visName: string;
107
+ private detectRes?;
107
108
  publicDir: Record<string, string>;
108
109
  constructor(options: BaseOptions);
110
+ private getDetectRes;
111
+ private getQueryOverrides;
112
+ private getEffectiveLogarithmicDepthBuffer;
113
+ private getEffectiveTier;
114
+ private isExtClipControlAvailable;
115
+ private resolveRendererDepthBufferOptions;
109
116
  private showDetectRes;
110
117
  setOptions(options: Record<string, any>): void;
111
118
  syncExtendsOptionToScene(name: string, value: any): void;
@@ -135,9 +142,9 @@ export declare class Base extends Camera {
135
142
  show(): void;
136
143
  showAction(): void;
137
144
  hide(): void;
138
- exportScene(): any;
139
- exportBaseObject(baseObject: BaseObject): string;
140
- restoreBaseObject(data: string, target?: BaseObject, objectsMap?: {
145
+ exportScene(): THREE.Object3DJSON;
146
+ exportBaseObject(baseObject: BaseObject): THREE.Object3DJSON;
147
+ restoreBaseObject(data: string | THREE.Object3DJSON, target?: BaseObject, objectsMap?: {
141
148
  Point: Point;
142
149
  Arc: typeof Arc;
143
150
  Model: Model;
@@ -160,7 +167,7 @@ export declare class Base extends Camera {
160
167
  Line: typeof LineObject;
161
168
  Group: GroupObject;
162
169
  }): Promise<BaseObject<THREE.Object3D<THREE.Object3DEventMap>>>;
163
- restoreScene(str: string, objectsMap?: {
170
+ restoreScene(str: string | THREE.Object3DJSON, objectsMap?: {
164
171
  Point: Point;
165
172
  Arc: typeof Arc;
166
173
  Model: Model;
@@ -1015,7 +1022,7 @@ declare class Model extends GroupObject {
1015
1022
  * Get all available animation clip names
1016
1023
  */
1017
1024
  getClipNames(): string[];
1018
- rebuildFromScene(): void;
1025
+ rebuildFromScene(): Promise<void>;
1019
1026
  instantiate(ops?: Parameters<GroupObject['instantiate']>[0]): Promise<this>;
1020
1027
  /**
1021
1028
  * Update animations - should be called in render loop
@@ -1373,7 +1380,7 @@ export { TWEEN }
1373
1380
 
1374
1381
  export { Tween }
1375
1382
 
1376
- export declare const VERSION = "0.31.29";
1383
+ export declare const VERSION = "0.31.31";
1377
1384
 
1378
1385
  export { }
1379
1386