@configura/babylon-view 1.3.0-alpha.1 → 1.3.0-alpha.2
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/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/animation/AnimatableObject.d.ts +8 -8
- package/dist/animation/AnimatableObject.js +3 -3
- package/dist/animation/animator/Animator.d.ts +33 -33
- package/dist/animation/animator/Animator.js +58 -58
- package/dist/animation/animator/AnimatorEasing.d.ts +16 -16
- package/dist/animation/animator/AnimatorEasing.js +31 -31
- package/dist/animation/animator/AnimatorEasingMatrix.d.ts +14 -14
- package/dist/animation/animator/AnimatorEasingMatrix.js +16 -16
- package/dist/animation/animator/AnimatorHighlight.d.ts +16 -16
- package/dist/animation/animator/AnimatorHighlight.js +32 -32
- package/dist/animation/animator/AnimatorPointToPoint.d.ts +8 -8
- package/dist/animation/animator/AnimatorPointToPoint.js +14 -14
- package/dist/animation/animator/AnimatorQueue.d.ts +13 -13
- package/dist/animation/animator/AnimatorQueue.js +57 -57
- package/dist/animation/animator/AnimatorScale.d.ts +8 -8
- package/dist/animation/animator/AnimatorScale.js +13 -13
- package/dist/animation/animator/AnimatorSpin.d.ts +10 -10
- package/dist/animation/animator/AnimatorSpin.js +13 -13
- package/dist/animation/animator/EasingFunctions.d.ts +35 -35
- package/dist/animation/animator/EasingFunctions.js +137 -137
- package/dist/animation/coordinator/Coordinator.d.ts +28 -28
- package/dist/animation/coordinator/Coordinator.js +47 -47
- package/dist/animation/coordinator/CoordinatorDropAndSpin.d.ts +22 -22
- package/dist/animation/coordinator/CoordinatorDropAndSpin.js +133 -133
- package/dist/animation/coordinator/CoordinatorIdentity.d.ts +11 -11
- package/dist/animation/coordinator/CoordinatorIdentity.js +12 -12
- package/dist/animation/coordinator/CoordinatorNodeQueues.d.ts +18 -18
- package/dist/animation/coordinator/CoordinatorNodeQueues.js +50 -50
- package/dist/animation/coordinator/CoordinatorPulse.d.ts +21 -21
- package/dist/animation/coordinator/CoordinatorPulse.js +47 -47
- package/dist/animation/coordinator/CoordinatorPulseBounce.d.ts +14 -14
- package/dist/animation/coordinator/CoordinatorPulseBounce.js +40 -40
- package/dist/animation/coordinator/CoordinatorPulseHighlight.d.ts +13 -13
- package/dist/animation/coordinator/CoordinatorPulseHighlight.js +34 -34
- package/dist/animation/coordinator/CoordinatorPulseInflate.d.ts +14 -14
- package/dist/animation/coordinator/CoordinatorPulseInflate.js +30 -30
- package/dist/camera/CameraCreator.d.ts +5 -5
- package/dist/camera/CameraCreator.js +4 -4
- package/dist/camera/CfgArcRotateCameraPointersInput.d.ts +10 -10
- package/dist/camera/CfgArcRotateCameraPointersInput.js +262 -262
- package/dist/camera/CfgOrbitalCamera.d.ts +68 -64
- package/dist/camera/CfgOrbitalCamera.js +250 -233
- package/dist/camera/CfgOrbitalCameraControlProps.d.ts +6 -6
- package/dist/camera/CfgOrbitalCameraControlProps.js +3 -3
- package/dist/camera/GradingApplier.d.ts +3 -3
- package/dist/camera/GradingApplier.js +48 -48
- package/dist/engine/EngineCreator.d.ts +3 -3
- package/dist/engine/EngineCreator.js +10 -10
- package/dist/geometry/CfgGeometry.d.ts +12 -12
- package/dist/geometry/CfgGeometry.js +117 -117
- package/dist/geometry/CfgMesh.d.ts +7 -7
- package/dist/geometry/CfgMesh.js +8 -8
- package/dist/geometry/geoSplitter.d.ts +8 -8
- package/dist/geometry/geoSplitter.js +192 -192
- package/dist/index.d.ts +13 -13
- package/dist/index.js +13 -13
- package/dist/light/CfgDirectionalLight.d.ts +8 -8
- package/dist/light/CfgDirectionalLight.js +18 -18
- package/dist/light/CfgHemisphericLight.d.ts +7 -7
- package/dist/light/CfgHemisphericLight.js +17 -17
- package/dist/light/CfgPointLight.d.ts +8 -8
- package/dist/light/CfgPointLight.js +18 -18
- package/dist/light/DefaultLightRig.d.ts +19 -19
- package/dist/light/DefaultLightRig.js +77 -77
- package/dist/light/LightRigCreator.d.ts +9 -9
- package/dist/light/LightRigCreator.js +3 -3
- package/dist/material/CfgMaterial.d.ts +53 -53
- package/dist/material/CfgMaterial.js +454 -454
- package/dist/material/DummyMaterialCreator.d.ts +4 -4
- package/dist/material/DummyMaterialCreator.js +15 -15
- package/dist/material/material.d.ts +18 -18
- package/dist/material/material.js +128 -128
- package/dist/material/texture.d.ts +14 -14
- package/dist/material/texture.js +304 -304
- package/dist/nodes/CfgContentRootNode.d.ts +19 -19
- package/dist/nodes/CfgContentRootNode.js +75 -75
- package/dist/nodes/CfgDeferredMeshNode.d.ts +48 -48
- package/dist/nodes/CfgDeferredMeshNode.js +347 -347
- package/dist/nodes/CfgProductNode.d.ts +61 -61
- package/dist/nodes/CfgProductNode.js +486 -486
- package/dist/nodes/CfgSymNode.d.ts +42 -42
- package/dist/nodes/CfgSymNode.js +216 -216
- package/dist/nodes/CfgSymRootNode.d.ts +33 -33
- package/dist/nodes/CfgSymRootNode.js +175 -175
- package/dist/nodes/CfgTransformNode.d.ts +29 -29
- package/dist/nodes/CfgTransformNode.js +81 -81
- package/dist/scene/SceneCreator.d.ts +6 -6
- package/dist/scene/SceneCreator.js +22 -22
- package/dist/utilities/CfgBoundingBox.d.ts +16 -16
- package/dist/utilities/CfgBoundingBox.js +64 -64
- package/dist/utilities/utilities3D.d.ts +26 -26
- package/dist/utilities/utilities3D.js +187 -187
- package/dist/utilities/utilitiesColor.d.ts +18 -18
- package/dist/utilities/utilitiesColor.js +48 -48
- package/dist/utilities/utilitiesImage.d.ts +6 -6
- package/dist/utilities/utilitiesImage.js +107 -107
- package/dist/utilities/utilitiesSymRootIdentifier.d.ts +5 -5
- package/dist/utilities/utilitiesSymRootIdentifier.js +20 -20
- package/dist/view/BaseView.d.ts +70 -70
- package/dist/view/BaseView.js +291 -291
- package/dist/view/BaseViewConfiguration.d.ts +32 -32
- package/dist/view/BaseViewConfiguration.js +8 -8
- package/dist/view/RenderEnv.d.ts +38 -38
- package/dist/view/RenderEnv.js +7 -7
- package/dist/view/SingleProductDefaultCameraView.d.ts +33 -33
- package/dist/view/SingleProductDefaultCameraView.js +141 -140
- package/dist/view/SingleProductDefaultCameraViewConfiguration.d.ts +46 -44
- package/dist/view/SingleProductDefaultCameraViewConfiguration.js +11 -11
- package/dist/view/SingleProductView.d.ts +42 -42
- package/dist/view/SingleProductView.js +205 -205
- package/dist/view/SingleProductViewConfiguration.d.ts +32 -32
- package/dist/view/SingleProductViewConfiguration.js +19 -19
- package/package.json +5 -5
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { Matrix } from "@babylonjs/core/Maths/math.vector.js";
|
|
2
|
-
import { CfgMaterialMapping, CfgMtrlApplication, CfgProduct } from "@configura/web-api";
|
|
3
|
-
import { LogObservable, LogProducer } from "@configura/web-utilities";
|
|
4
|
-
import { AnimatableObject } from "../animation/AnimatableObject.js";
|
|
5
|
-
import { CoordinatorWithMeta } from "../animation/coordinator/Coordinator.js";
|
|
6
|
-
import { CfgBoundingBox } from "../utilities/CfgBoundingBox.js";
|
|
7
|
-
import { RenderEnv } from "../view/RenderEnv.js";
|
|
8
|
-
import { CfgSymRootNode } from "./CfgSymRootNode.js";
|
|
9
|
-
import { CfgTransformNode } from "./CfgTransformNode.js";
|
|
10
|
-
export declare function isProductNode(value: unknown): value is CfgProductNode;
|
|
11
|
-
export declare function isCfgSymRootNode(value: unknown): value is CfgSymRootNode;
|
|
12
|
-
export declare class CfgProductNode extends CfgTransformNode implements AnimatableObject, LogProducer {
|
|
13
|
-
private readonly _product;
|
|
14
|
-
static make(renderEnvironment: RenderEnv, product: CfgProduct): CfgProductNode;
|
|
15
|
-
logger: LogObservable;
|
|
16
|
-
private _destroyed;
|
|
17
|
-
readonly key: string;
|
|
18
|
-
_applicationAreas: CfgMtrlApplication[];
|
|
19
|
-
private _mtrlApplications;
|
|
20
|
-
private _configuration;
|
|
21
|
-
private _debugMtrlApplications;
|
|
22
|
-
_areasToMaterials: CfgMaterialMapping | undefined;
|
|
23
|
-
_scheduledForRemoval: (CfgSymRootNode | CfgProductNode)[];
|
|
24
|
-
private _symRootLoadings;
|
|
25
|
-
private constructor();
|
|
26
|
-
get cfgClassName(): string;
|
|
27
|
-
destroy(): void;
|
|
28
|
-
get product(): CfgProduct;
|
|
29
|
-
private scheduleForRemoval;
|
|
30
|
-
isDestroyed(): boolean;
|
|
31
|
-
_applyOnDescendantProductNodes: <T>(fn: (p: CfgProductNode) => T) => T[];
|
|
32
|
-
private _syncAdditionalProductNodes;
|
|
33
|
-
setApplicationAreas(applicationAreas: CfgMtrlApplication[]): void;
|
|
34
|
-
loadGeo(coordinatorWithMeta?: CoordinatorWithMeta): Promise<void>;
|
|
35
|
-
private _loadAdditionalProducts;
|
|
36
|
-
flushScheduledForRemove(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
37
|
-
private _isAllMeshMaterialsReady;
|
|
38
|
-
private _awaitAllMeshMaterialsReady;
|
|
39
|
-
loadMaterials(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
40
|
-
private _aggregateMaterialsPushToChildrenAndLoad;
|
|
41
|
-
private _pushMaterialToSymRootChildrenAndLoad;
|
|
42
|
-
private _getSymRootChildren;
|
|
43
|
-
private _getAdditionalProductNodes;
|
|
44
|
-
applyGeo(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
45
|
-
applyMaterials(): Promise<void>;
|
|
46
|
-
readonly originalMatrix: Matrix;
|
|
47
|
-
_applyDebugSymRoots(symRootPromises: Promise<CfgSymRootNode | undefined>[]): Promise<void>;
|
|
48
|
-
_addDebugMtrlApplication(debugMtrlApplication: CfgMtrlApplication): Promise<void>;
|
|
49
|
-
get boundingBox(): CfgBoundingBox;
|
|
50
|
-
protected addInspectorProperties(): void;
|
|
51
|
-
private get _inspectorLogMaterialMappings();
|
|
52
|
-
private set _inspectorLogMaterialMappings(value);
|
|
53
|
-
private get _inspectorAddMaterialToMaterialMappingFromFile();
|
|
54
|
-
private set _inspectorAddMaterialToMaterialMappingFromFile(value);
|
|
55
|
-
private get _inspectorAddMaterialToMaterialMappingFromUrl();
|
|
56
|
-
private set _inspectorAddMaterialToMaterialMappingFromUrl(value);
|
|
57
|
-
private get _inspectorAddCmSymFile();
|
|
58
|
-
private set _inspectorAddCmSymFile(value);
|
|
59
|
-
private get _inspectorAddCmSymUrl();
|
|
60
|
-
private set _inspectorAddCmSymUrl(value);
|
|
61
|
-
}
|
|
1
|
+
import { Matrix } from "@babylonjs/core/Maths/math.vector.js";
|
|
2
|
+
import { CfgMaterialMapping, CfgMtrlApplication, CfgProduct } from "@configura/web-api";
|
|
3
|
+
import { LogObservable, LogProducer } from "@configura/web-utilities";
|
|
4
|
+
import { AnimatableObject } from "../animation/AnimatableObject.js";
|
|
5
|
+
import { CoordinatorWithMeta } from "../animation/coordinator/Coordinator.js";
|
|
6
|
+
import { CfgBoundingBox } from "../utilities/CfgBoundingBox.js";
|
|
7
|
+
import { RenderEnv } from "../view/RenderEnv.js";
|
|
8
|
+
import { CfgSymRootNode } from "./CfgSymRootNode.js";
|
|
9
|
+
import { CfgTransformNode } from "./CfgTransformNode.js";
|
|
10
|
+
export declare function isProductNode(value: unknown): value is CfgProductNode;
|
|
11
|
+
export declare function isCfgSymRootNode(value: unknown): value is CfgSymRootNode;
|
|
12
|
+
export declare class CfgProductNode extends CfgTransformNode implements AnimatableObject, LogProducer {
|
|
13
|
+
private readonly _product;
|
|
14
|
+
static make(renderEnvironment: RenderEnv, product: CfgProduct): CfgProductNode;
|
|
15
|
+
logger: LogObservable;
|
|
16
|
+
private _destroyed;
|
|
17
|
+
readonly key: string;
|
|
18
|
+
_applicationAreas: CfgMtrlApplication[];
|
|
19
|
+
private _mtrlApplications;
|
|
20
|
+
private _configuration;
|
|
21
|
+
private _debugMtrlApplications;
|
|
22
|
+
_areasToMaterials: CfgMaterialMapping | undefined;
|
|
23
|
+
_scheduledForRemoval: (CfgSymRootNode | CfgProductNode)[];
|
|
24
|
+
private _symRootLoadings;
|
|
25
|
+
private constructor();
|
|
26
|
+
get cfgClassName(): string;
|
|
27
|
+
destroy(): void;
|
|
28
|
+
get product(): CfgProduct;
|
|
29
|
+
private scheduleForRemoval;
|
|
30
|
+
isDestroyed(): boolean;
|
|
31
|
+
_applyOnDescendantProductNodes: <T>(fn: (p: CfgProductNode) => T) => T[];
|
|
32
|
+
private _syncAdditionalProductNodes;
|
|
33
|
+
setApplicationAreas(applicationAreas: CfgMtrlApplication[]): void;
|
|
34
|
+
loadGeo(coordinatorWithMeta?: CoordinatorWithMeta): Promise<void>;
|
|
35
|
+
private _loadAdditionalProducts;
|
|
36
|
+
flushScheduledForRemove(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
37
|
+
private _isAllMeshMaterialsReady;
|
|
38
|
+
private _awaitAllMeshMaterialsReady;
|
|
39
|
+
loadMaterials(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
40
|
+
private _aggregateMaterialsPushToChildrenAndLoad;
|
|
41
|
+
private _pushMaterialToSymRootChildrenAndLoad;
|
|
42
|
+
private _getSymRootChildren;
|
|
43
|
+
private _getAdditionalProductNodes;
|
|
44
|
+
applyGeo(animationCoordinator?: CoordinatorWithMeta): Promise<void>;
|
|
45
|
+
applyMaterials(): Promise<void>;
|
|
46
|
+
readonly originalMatrix: Matrix;
|
|
47
|
+
_applyDebugSymRoots(symRootPromises: Promise<CfgSymRootNode | undefined>[]): Promise<void>;
|
|
48
|
+
_addDebugMtrlApplication(debugMtrlApplication: CfgMtrlApplication): Promise<void>;
|
|
49
|
+
get boundingBox(): CfgBoundingBox;
|
|
50
|
+
protected addInspectorProperties(): void;
|
|
51
|
+
private get _inspectorLogMaterialMappings();
|
|
52
|
+
private set _inspectorLogMaterialMappings(value);
|
|
53
|
+
private get _inspectorAddMaterialToMaterialMappingFromFile();
|
|
54
|
+
private set _inspectorAddMaterialToMaterialMappingFromFile(value);
|
|
55
|
+
private get _inspectorAddMaterialToMaterialMappingFromUrl();
|
|
56
|
+
private set _inspectorAddMaterialToMaterialMappingFromUrl(value);
|
|
57
|
+
private get _inspectorAddCmSymFile();
|
|
58
|
+
private set _inspectorAddCmSymFile(value);
|
|
59
|
+
private get _inspectorAddCmSymUrl();
|
|
60
|
+
private set _inspectorAddCmSymUrl(value);
|
|
61
|
+
}
|
|
62
62
|
//# sourceMappingURL=CfgProductNode.d.ts.map
|