viral-viewer-2 6.8.8 → 6.8.9
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/components/custom-objects/viral-batched-mesh.d.ts +35 -8
- package/dist/components/custom-objects/viral-edge-mesh.d.ts +133 -0
- package/dist/components/custom-objects/viral-instanced-mesh-v2.d.ts +142 -0
- package/dist/components/custom-objects/viral-instanced-mesh-v3.d.ts +123 -0
- package/dist/components/custom-objects/viral-merged-model.d.ts +46 -6
- package/dist/components/duplication-analyzer/viral-duplication-analyzer.d.ts +74 -0
- package/dist/components/lod-generator/viral-lod-generator.d.ts +116 -0
- package/dist/components/worker/base/worker-pool.d.ts +1 -0
- package/dist/components/worker/load-element-patch.worker.d.ts +5 -26
- package/dist/components/worker-script/load-instanced-element.script.d.ts +1 -0
- package/dist/index.mjs +17573 -24608
- package/dist/types.d.ts +13 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -159,13 +159,26 @@ export declare class DebouncedEventHandler<T> {
|
|
|
159
159
|
handleEvent: (event: T) => void;
|
|
160
160
|
}
|
|
161
161
|
export declare class BufferElement {
|
|
162
|
+
/**
|
|
163
|
+
* In case this buffer element is instanced mesh this buffer is original geometry
|
|
164
|
+
*/
|
|
162
165
|
buffer: Float32Array | null;
|
|
166
|
+
/**
|
|
167
|
+
* In case this buffer element is instanced mesh this field is null
|
|
168
|
+
*/
|
|
163
169
|
elementId: string;
|
|
164
170
|
modelId: number;
|
|
165
171
|
localMaterialIndex?: number;
|
|
166
172
|
globalMaterialIndex?: number;
|
|
167
173
|
minPoint?: ViralPoint;
|
|
168
174
|
maxPoint?: ViralPoint;
|
|
175
|
+
/**
|
|
176
|
+
* In case this buffer element is instanced mesh
|
|
177
|
+
*/
|
|
178
|
+
instances: {
|
|
179
|
+
elementId: string;
|
|
180
|
+
transform: number[];
|
|
181
|
+
}[];
|
|
169
182
|
}
|
|
170
183
|
export interface LightConfiguration {
|
|
171
184
|
enabled?: boolean;
|