@cognite/reveal 4.15.0 → 4.15.1-dev.20240627

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.
@@ -40,6 +40,14 @@ export declare class Overlay3DCollection<MetadataType = DefaultOverlay3DContentT
40
40
  private _octree;
41
41
  private readonly _rayCaster;
42
42
  private readonly _cameraChangeDebouncer;
43
+ /**
44
+ * Construct a collection of 3D overlay icons
45
+ *
46
+ * @param overlayInfos Initializes the collection with the list of overlays. The length
47
+ * of the list will be the maximum allowed number of icons in this collection, unless it's empty,
48
+ * in which case a default maximum limit will be used instead
49
+ * @param options Additional options for this overlay collection
50
+ */
43
51
  constructor(overlayInfos: OverlayInfo<MetadataType>[], options?: Overlay3DCollectionOptions);
44
52
  /**
45
53
  * Set whether this collection is visible or not
@@ -105,11 +105,11 @@ export declare const DefaultNodeAppearance: {
105
105
  InFront: NodeAppearance;
106
106
  Ghosted: NodeAppearance;
107
107
  Highlighted: {
108
- color?: Color | undefined;
109
- visible?: boolean | undefined;
110
- renderInFront?: boolean | undefined;
111
- renderGhosted?: boolean | undefined;
112
- outlineColor?: NodeOutlineColor | undefined;
113
- prioritizedForLoadingHint?: number | undefined;
108
+ color?: Color;
109
+ visible?: boolean;
110
+ renderInFront?: boolean;
111
+ renderGhosted?: boolean;
112
+ outlineColor?: NodeOutlineColor;
113
+ prioritizedForLoadingHint?: number;
114
114
  };
115
115
  };
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * Copyright 2021 Cognite AS
3
3
  */
4
- /// <reference types="lodash" />
5
4
  import * as THREE from 'three';
6
5
  import { TrackedEvents, EventProps } from './types';
7
6
  export declare class MetricsLogger {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.15.0",
3
+ "version": "4.15.1-dev.20240627",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {