bimatter-viewer-react 0.7.2 → 0.7.4
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/lib/api/ViewerApi.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1603 -1516
- package/lib/store/ViewerStore.d.ts +3 -0
- package/lib/utils/ClippingUtils/ClippingUtils.d.ts +11 -0
- package/lib/utils/ClippingUtils/index.d.ts +1 -1
- package/package.json +1 -1
package/lib/api/ViewerApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { BmtConversionResult, BmtConverterOptions, BmtConverterSource } fro
|
|
|
10
10
|
import { FilteredElementsCollector } from "../Selector/FilteredElementsCollector";
|
|
11
11
|
import type { ViewerLoadedModels, ViewerLoadModelOptions, ViewerModelSource } from "./loader";
|
|
12
12
|
import type { WorkerProgressEvent } from "../workers";
|
|
13
|
-
export type { ViewerClippingApi } from "../utils/ClippingUtils";
|
|
13
|
+
export type { ViewerClippingApi, ViewerClippingVector3Input, } from "../utils/ClippingUtils";
|
|
14
14
|
export type { ViewerColorConfigByModel, ViewerModelColorConfig, } from "../utils/ColorsUtils/useElementColors";
|
|
15
15
|
export type { ViewerDimensionsApi } from "../utils/DimentionsUtils";
|
|
16
16
|
export type { ViewerCameraGetIntersection } from "../Camera/useCameraUtils";
|
|
@@ -100,12 +100,14 @@ export type ViewerPostproductionApi = {
|
|
|
100
100
|
getDirectionalLightColor: () => ColorRepresentation;
|
|
101
101
|
getDirectionalLightIntensity: () => number;
|
|
102
102
|
getLighting: () => ViewerLightingSettings;
|
|
103
|
+
getSaturation: () => number;
|
|
103
104
|
setAmbientLightColor: (color: ColorRepresentation) => void;
|
|
104
105
|
setAmbientLightIntensity: (intensity: number) => void;
|
|
105
106
|
setDirectionalLightColor: (color: ColorRepresentation) => void;
|
|
106
107
|
setDirectionalLightIntensity: (intensity: number) => void;
|
|
107
108
|
setLighting: (lighting: ViewerLightingSettingsUpdate) => void;
|
|
108
109
|
setPassFilter: (type: ViewerPostproductionPassType) => void;
|
|
110
|
+
setSaturation: (saturation: number) => void;
|
|
109
111
|
};
|
|
110
112
|
export type ViewerApi = {
|
|
111
113
|
camera: ViewerCameraApi;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as Viewer } from "./Viewer";
|
|
2
2
|
export type { ViewerModelsData, ViewerProps } from "./Viewer";
|
|
3
3
|
export type { ViewerMaterialMode, ViewerPostproductionPassType, ViewerUploadMode, } from "./types";
|
|
4
|
-
export type { ViewerApi, ViewerCameraApi, ViewerCameraGetIntersection, ViewerClippingApi, ViewerColorsApi, ViewerBmtConverterOptions, ViewerConverterApi, ViewerDimensionsApi, ViewerGeometryUtilsApi, ViewerLoadModelsOptions, ViewerModelsApi, ViewerPostproductionApi, ViewerSelection, ViewerSelectorApi, ViewerUtilsApi, } from "./api/ViewerApi";
|
|
4
|
+
export type { ViewerApi, ViewerCameraApi, ViewerCameraGetIntersection, ViewerClippingApi, ViewerClippingVector3Input, ViewerColorsApi, ViewerBmtConverterOptions, ViewerConverterApi, ViewerDimensionsApi, ViewerGeometryUtilsApi, ViewerLoadModelsOptions, ViewerModelsApi, ViewerPostproductionApi, ViewerSelection, ViewerSelectorApi, ViewerUtilsApi, } from "./api/ViewerApi";
|
|
5
5
|
export type { ViewerModelLevel, ViewerModelLevelsByModel, ViewerPropertiesApi, ViewerPropertiesExcelOptions, } from "./api/ViewerPropertiesApi";
|
|
6
6
|
export { BMTLoader } from "./Loaders/BmtLoader";
|
|
7
7
|
export type { BmtGeometryChunkData, BmtParseCallbacks, BmtParseProgressData, BmtModelGeometryData, BmtGeomData, BmtIndexArray, BmtMaterialData, BmtElementProps, BmtModelData, BmtModelProps, BmtModelStructure, BmtModelStructureNode, BmtPropertyRecord, BmtPropertySet, BmtPropertyValue, } from "./Loaders/BmtLoader";
|