@pilotdev/pilot-web-3d 24.18.0 → 24.19.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 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -676,6 +676,7 @@ export class RenderViewSettings {
676
676
  antiAliasing?: boolean;
677
677
  displayMode?: DisplayMode;
678
678
  cameraMode?: CameraMode;
679
+ orthoNavigationCube?: boolean;
679
680
  /** Desired render framerate */
680
681
  desiredFramerate?: number;
681
682
  /** Allocated time for rendering operations, excluding scene rendering */
@@ -1048,7 +1049,7 @@ export interface IRenderViewer3D {
1048
1049
  * @param name
1049
1050
  * @param isClippable
1050
1051
  */
1051
- addScene(name: string, isClippable: boolean): IUserScene;
1052
+ addScene(name: string | IUserScene, isClippable?: boolean): IUserScene;
1052
1053
  /**
1053
1054
  *
1054
1055
  * @param scene
@@ -3001,6 +3002,7 @@ export class SettingsNames {
3001
3002
  static DISPLAY_MODE: string;
3002
3003
  static CAMERA_MODE: string;
3003
3004
  static NAVIGATION_CUBE: string;
3005
+ static ORTHO_NAVIGATION_CUBE: string;
3004
3006
  static DESIRED_FRAMERATE: string;
3005
3007
  static MANAGE_TIME: string;
3006
3008
  static HOVER_MESHES: string;
@@ -3248,9 +3250,10 @@ export interface INavigation {
3248
3250
  * @param {string[] | string} elementIds - element or array of elements
3249
3251
  * @param {string | ModelPart} modelPart - the model part id or the model part instance containing the elements.
3250
3252
  * @param {boolean} immediate - true to avoid the default transition.
3253
+ * @param {CameraOrientation} cameraOrientation - final orientation of the camera after fitting.
3251
3254
  * @returns
3252
3255
  */
3253
- fitToView(elementIds?: string[] | string, modelPart?: string | ModelPart, immediate?: boolean): void;
3256
+ fitToView(elementIds?: string[] | string, modelPart?: string | ModelPart, immediate?: boolean, cameraOrientation?: CameraOrientation): void;
3254
3257
  /**
3255
3258
  * Sets the camera pivot point.
3256
3259
  */
@@ -3281,6 +3284,7 @@ export class Viewer3D extends ViewerBase {
3281
3284
  getConfiguration(): Viewer3DConfiguration;
3282
3285
  start(): Promise<number>;
3283
3286
  finish(): Promise<void>;
3287
+ protected loadExtensions(): void;
3284
3288
  /**
3285
3289
  * Loads new model part to the viewer
3286
3290
  * @param buffer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pilotdev/pilot-web-3d",
3
- "version": "24.18.0",
3
+ "version": "24.19.0",
4
4
  "description": "TypeScript definitions for ASCON PilotWeb3D component",
5
5
  "main": "",
6
6
  "types": "index.d.ts",