bimatter-viewer-react 0.8.3 → 0.8.5

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.
@@ -41,6 +41,7 @@ export declare const DEFAULT_PERFORMANCE_MOVING_FACTOR = 0.4;
41
41
  export type ViewerStore = {
42
42
  api: ViewerApi | null;
43
43
  defaultHotkeysEnabled: boolean;
44
+ detectedGpuInfo: unknown | null;
44
45
  lighting: ViewerLightingSettings;
45
46
  modelNames: ViewerModelNamesStore;
46
47
  modelProps: ViewerModelPropsStore;
@@ -60,6 +61,7 @@ export type ViewerStore = {
60
61
  userDevice: UserDevice;
61
62
  setApi: (api: ViewerApi | null) => void;
62
63
  setDefaultHotkeysEnabled: (enabled: boolean) => void;
64
+ setDetectedGpuInfo: (gpuInfo: unknown | null) => void;
63
65
  setGridAxesVisibility: (gridAxesVisibility: Partial<ViewerGridAxesVisibility>) => void;
64
66
  setGridAxisVisibility: (side: ViewerGridAxisSide, visible: boolean) => void;
65
67
  setAmbientLightColor: (color: ColorRepresentation) => void;
@@ -12,5 +12,6 @@ export type GeometryUtilsApi = {
12
12
  showAll: () => void;
13
13
  showByIds: (ids: number[]) => void;
14
14
  toggleIIfcSpacesVisibility: () => void;
15
+ useTrueNorth: (enabled?: boolean) => void;
15
16
  };
16
17
  export default function useGeometryUtils(geometryIndex: GeometryIndexApi): GeometryUtilsApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimatter-viewer-react",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "license": "PolyForm-Noncommercial-1.0.0",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",