@pilotdev/pilot-web-3d 24.13.1-alpha → 24.15.0

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -17
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -211,10 +211,13 @@ export namespace Viewer3DIcons {
211
211
  const VIEWER_FULL_SCREEN_ICON: string;
212
212
  const VIEWER_COLLAPSE_ICON: string;
213
213
  const VIEWER_ELEMENT_PROPERTIES_ICON: string;
214
+ const VIEWER_CLIPPING_TOOLBAR_ICON: string;
214
215
  const VIEWER_ADD_CLIPPING_PLANE_ICON: string;
215
216
  const VIEWER_CLIPPING_FLIP_ICON: string;
216
217
  const VIEWER_DELETE_CLIPPING_PLANE_ICON: string;
217
218
  const VIEWER_CLIPPING_CUBE_ICON: string;
219
+ const VIEWER_CLIPPING_CUBE_2_ICON: string;
220
+ const VIEWER_CLIPPING_CUBE_AXIS_ICON: string;
218
221
  const VIEWER_ADD_REMARK_ICON: string;
219
222
  const VIEWER_MEASUREMENT_EDGE_ICON: string;
220
223
  const VIEWER_MEASUREMENT_PLANE_ICON: string;
@@ -430,7 +433,7 @@ export class ExtensionActivationController {
430
433
  deactivate(): void;
431
434
  }
432
435
  export type ErrorCallback = (message: string) => void;
433
- export type SuccessCallback = (modelId: any) => void;
436
+ export type SuccessCallback = (modelId: string) => void;
434
437
  export enum DocumentType {
435
438
  UNKNOWN = 0,
436
439
  DOCUMENT_2D = 1,
@@ -2416,9 +2419,6 @@ export interface CustomMeshLambertMaterialParameters extends THREE.ShaderMateria
2416
2419
  instancing?: boolean | undefined;
2417
2420
  instancingColor?: boolean | undefined;
2418
2421
  color?: THREE.ColorRepresentation | undefined;
2419
- emissive?: THREE.ColorRepresentation | undefined;
2420
- emissiveIntensity?: number | undefined;
2421
- fog?: boolean | undefined;
2422
2422
  }
2423
2423
  export class CustomMeshLambertMaterial extends CustomMaterial {
2424
2424
  type: string;
@@ -2438,19 +2438,6 @@ export class CustomMeshLambertMaterial extends CustomMaterial {
2438
2438
  * @default new THREE.Color( 0xffffff )
2439
2439
  */
2440
2440
  color: THREE.Color;
2441
- /**
2442
- * @default new THREE.Color( 0x000000 )
2443
- */
2444
- emissive: THREE.Color;
2445
- /**
2446
- * @default 1
2447
- */
2448
- emissiveIntensity: number;
2449
- /**
2450
- * Whether the material is affected by fog. Default is true.
2451
- * @default fog
2452
- */
2453
- fog: boolean;
2454
2441
  protected refreshUniformsCommon(uniforms: {
2455
2442
  [uniform: string]: THREE.IUniform;
2456
2443
  }, material: CustomMeshLambertMaterial, renderer: THREE.WebGLRenderer): void;
@@ -3035,6 +3022,7 @@ export class DeletionManager {
3035
3022
  */
3036
3023
  export class Model {
3037
3024
  readonly eventDispatcher: IEventsDispatcher;
3025
+ readonly cancellationToken?: CancellationToken;
3038
3026
  /**
3039
3027
  * Returns all model parts loaded in the viewer.
3040
3028
  * @returns {ModelPart[]} - An array of visible and hidden model parts
@@ -3258,6 +3246,7 @@ export class ModelLoadingOptions {
3258
3246
  isConsolidatedModel?: boolean;
3259
3247
  placement?: THREE.Matrix4Tuple | number[];
3260
3248
  scaling?: number;
3249
+ hideLoadingSpinner?: boolean;
3261
3250
  }
3262
3251
  export let ViewerInstance: Viewer3D;
3263
3252
  export class Viewer3D extends ViewerBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pilotdev/pilot-web-3d",
3
- "version": "24.13.1-alpha",
3
+ "version": "24.15.0",
4
4
  "description": "TypeScript definitions for ASCON PilotWeb3D component",
5
5
  "main": "",
6
6
  "types": "index.d.ts",