@vived/component-pneumatic-panel 1.2.0 → 3.0.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.
- package/CHANGELOG.md +212 -0
- package/COMPONENT_KNOWLEDGE.md +642 -0
- package/LICENSE +15 -0
- package/README.md +62 -23
- package/dist/Domain/Adapters/pneumaticPanelPMAdapter.d.ts.map +1 -1
- package/dist/Domain/Controllers/applyPanelState.d.ts.map +1 -1
- package/dist/Domain/Controllers/getPanelState.d.ts.map +1 -1
- package/dist/Domain/Controllers/panelStateDefaults.d.ts +0 -1
- package/dist/Domain/Controllers/panelStateDefaults.d.ts.map +1 -1
- package/dist/Domain/Entities/PneumaticPanelEntity.d.ts +0 -4
- package/dist/Domain/Entities/PneumaticPanelEntity.d.ts.map +1 -1
- package/dist/Domain/Mocks/MockPneumaticPanelSelectUC.d.ts +0 -4
- package/dist/Domain/Mocks/MockPneumaticPanelSelectUC.d.ts.map +1 -1
- package/dist/Domain/PMs/PneumaticPanelPM.d.ts +0 -3
- package/dist/Domain/PMs/PneumaticPanelPM.d.ts.map +1 -1
- package/dist/Domain/UCs/PneumaticPanelCheckPressureUC.d.ts +4 -3
- package/dist/Domain/UCs/PneumaticPanelCheckPressureUC.d.ts.map +1 -1
- package/dist/Domain/UCs/PneumaticPanelSelectUC.d.ts +0 -14
- package/dist/Domain/UCs/PneumaticPanelSelectUC.d.ts.map +1 -1
- package/dist/Frameworks/Babylon/PneumaticPanelBabylonView.d.ts +9 -12
- package/dist/Frameworks/Babylon/PneumaticPanelBabylonView.d.ts.map +1 -1
- package/dist/Frameworks/Babylon/PneumaticPanelExhaustView.d.ts +2 -2
- package/dist/Frameworks/Babylon/PneumaticPanelExhaustView.d.ts.map +1 -1
- package/dist/Frameworks/Babylon/PneumaticPanelGaugeView.d.ts +2 -2
- package/dist/Frameworks/Babylon/PneumaticPanelGaugeView.d.ts.map +1 -1
- package/dist/Frameworks/Babylon/PneumaticPanelHitboxView.d.ts +5 -7
- package/dist/Frameworks/Babylon/PneumaticPanelHitboxView.d.ts.map +1 -1
- package/dist/Frameworks/Babylon/PneumaticPanelLockView.d.ts +2 -2
- package/dist/Frameworks/Babylon/PneumaticPanelLockView.d.ts.map +1 -1
- package/dist/PneumaticPanelFacade.d.ts +1 -13
- package/dist/PneumaticPanelFacade.d.ts.map +1 -1
- package/dist/index.d.ts +1 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1257 -51
- package/package.json +9 -2
- package/dist/.gitkeep +0 -0
- package/dist/Domain/Controllers/clearAllHighlights.d.ts +0 -9
- package/dist/Domain/Controllers/clearAllHighlights.d.ts.map +0 -1
- package/dist/Domain/Controllers/onPanelHoverEnter.d.ts +0 -7
- package/dist/Domain/Controllers/onPanelHoverEnter.d.ts.map +0 -1
- package/dist/Domain/Controllers/onPanelHoverExit.d.ts +0 -7
- package/dist/Domain/Controllers/onPanelHoverExit.d.ts.map +0 -1
- package/dist/Domain/Controllers/panelHitboxHoverEnter.d.ts +0 -7
- package/dist/Domain/Controllers/panelHitboxHoverEnter.d.ts.map +0 -1
- package/dist/Domain/Controllers/panelHitboxHoverExit.d.ts +0 -7
- package/dist/Domain/Controllers/panelHitboxHoverExit.d.ts.map +0 -1
- package/dist/Domain/Controllers/setHighlightedObject.d.ts +0 -11
- package/dist/Domain/Controllers/setHighlightedObject.d.ts.map +0 -1
- package/dist/Frameworks/Babylon/OutlinePulseController.d.ts +0 -18
- package/dist/Frameworks/Babylon/OutlinePulseController.d.ts.map +0 -1
- package/dist/Frameworks/Babylon/OverlayPulseController.d.ts +0 -17
- package/dist/Frameworks/Babylon/OverlayPulseController.d.ts.map +0 -1
- package/dist/Frameworks/Babylon/PanelOutlineController.d.ts +0 -32
- package/dist/Frameworks/Babylon/PanelOutlineController.d.ts.map +0 -1
- package/dist/Frameworks/Babylon/ScreenSpaceOutlinePulseController.d.ts +0 -17
- package/dist/Frameworks/Babylon/ScreenSpaceOutlinePulseController.d.ts.map +0 -1
- package/dist/clipPlaneFragment-BRmzi2tV.js +0 -55
- package/dist/clipPlaneFragment-CDdVuU0n.js +0 -55
- package/dist/clipPlaneVertex-CIEg9nQi.js +0 -358
- package/dist/clipPlaneVertex-CIarPzTc.js +0 -391
- package/dist/dumpTools-BUC-AUZt.js +0 -110
- package/dist/glowBlurPostProcess.fragment-DDhSDO38.js +0 -13
- package/dist/glowBlurPostProcess.fragment-fpk0xJVe.js +0 -13
- package/dist/glowMapGeneration.fragment-BBSNxu8K.js +0 -193
- package/dist/glowMapGeneration.fragment-Cl-xwsZp.js +0 -161
- package/dist/glowMapGeneration.vertex-CzQHgJdT.js +0 -85
- package/dist/glowMapGeneration.vertex-DErxE57o.js +0 -85
- package/dist/glowMapMerge.vertex-BQosy0g5.js +0 -14
- package/dist/glowMapMerge.vertex-tVYqLRGm.js +0 -13
- package/dist/index-CmNnQLDH.js +0 -36863
- package/dist/pass.fragment-D3pYn4R1.js +0 -10
- package/dist/pneumaticPanel.glb +0 -0
- package/dist/selection.fragment-CGZK1kVt.js +0 -45
- package/dist/selection.fragment-DjWRsu7R.js +0 -45
- package/dist/selection.vertex-DY_1B2lX.js +0 -84
- package/dist/selection.vertex-PhS5tOTA.js +0 -83
- package/dist/selectionOutline.fragment-Bp__J_pC.js +0 -53
- package/dist/selectionOutline.fragment-DmyQJACa.js +0 -54
- package/dist/studio.env +0 -0
- package/dist/thinEngine-dZnz-Owz.js +0 -4
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vived/component-pneumatic-panel",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Pneumatic Panel — VIVED Smart Component",
|
|
5
5
|
"private": false,
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
6
10
|
"type": "module",
|
|
7
11
|
"files": [
|
|
8
|
-
"dist"
|
|
12
|
+
"dist",
|
|
13
|
+
"COMPONENT_KNOWLEDGE.md",
|
|
14
|
+
"CHANGELOG.md"
|
|
9
15
|
],
|
|
10
16
|
"main": "./dist/index.js",
|
|
11
17
|
"types": "./dist/index.d.ts",
|
|
@@ -28,6 +34,7 @@
|
|
|
28
34
|
},
|
|
29
35
|
"peerDependencies": {
|
|
30
36
|
"@babylonjs/core": "^9.0.0",
|
|
37
|
+
"@vived/app": "^6.2.0",
|
|
31
38
|
"@vived/core": "^2.0.0"
|
|
32
39
|
},
|
|
33
40
|
"devDependencies": {
|
package/dist/.gitkeep
DELETED
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
/**
|
|
3
|
-
* Clears all active highlights on the Pneumatic Panel.
|
|
4
|
-
*
|
|
5
|
-
* @param id - The ID of the Pneumatic Panel instance.
|
|
6
|
-
* @param appObjects - The AppObject repository.
|
|
7
|
-
*/
|
|
8
|
-
export declare function clearAllHighlights(id: string, appObjects: AppObjectRepo): void;
|
|
9
|
-
//# sourceMappingURL=clearAllHighlights.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clearAllHighlights.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/clearAllHighlights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,GACxB,IAAI,CAYN"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
/**
|
|
3
|
-
* Subscribes to panel-hover-enter events on the given panel.
|
|
4
|
-
* Returns an unsubscribe function.
|
|
5
|
-
*/
|
|
6
|
-
export declare function onPanelHoverEnter(id: string, appObjects: AppObjectRepo, callback: () => void): () => void;
|
|
7
|
-
//# sourceMappingURL=onPanelHoverEnter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onPanelHoverEnter.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/onPanelHoverEnter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,MAAM,IAAI,GACnB,MAAM,IAAI,CAYZ"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
/**
|
|
3
|
-
* Subscribes to panel-hover-exit events on the given panel.
|
|
4
|
-
* Returns an unsubscribe function.
|
|
5
|
-
*/
|
|
6
|
-
export declare function onPanelHoverExit(id: string, appObjects: AppObjectRepo, callback: () => void): () => void;
|
|
7
|
-
//# sourceMappingURL=onPanelHoverExit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onPanelHoverExit.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/onPanelHoverExit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,MAAM,IAAI,GACnB,MAAM,IAAI,CAYZ"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
/**
|
|
3
|
-
* Framework boundary controller — called by the Babylon HitboxView when
|
|
4
|
-
* the pointer enters the panel_hitbox mesh. Notifies domain subscribers.
|
|
5
|
-
*/
|
|
6
|
-
export declare function panelHitboxHoverEnter(id: string, appObjects: AppObjectRepo): void;
|
|
7
|
-
//# sourceMappingURL=panelHitboxHoverEnter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panelHitboxHoverEnter.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/panelHitboxHoverEnter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,GACxB,IAAI,CAYN"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
/**
|
|
3
|
-
* Framework boundary controller — called by the Babylon HitboxView when
|
|
4
|
-
* the pointer exits the panel_hitbox mesh. Notifies domain subscribers.
|
|
5
|
-
*/
|
|
6
|
-
export declare function panelHitboxHoverExit(id: string, appObjects: AppObjectRepo): void;
|
|
7
|
-
//# sourceMappingURL=panelHitboxHoverExit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panelHitboxHoverExit.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/panelHitboxHoverExit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,GACxB,IAAI,CAYN"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AppObjectRepo } from "@vived/core";
|
|
2
|
-
import { type PneumaticPanelHighlightedObject } from "../Entities/PneumaticPanelEntity";
|
|
3
|
-
/**
|
|
4
|
-
* Sets which single object should be highlighted in the scene.
|
|
5
|
-
*
|
|
6
|
-
* @param id - The ID of the Pneumatic Panel instance.
|
|
7
|
-
* @param appObjects - The AppObject repository.
|
|
8
|
-
* @param highlightedObject - The object to highlight, or "none".
|
|
9
|
-
*/
|
|
10
|
-
export declare function setHighlightedObject(id: string, appObjects: AppObjectRepo, highlightedObject: PneumaticPanelHighlightedObject): void;
|
|
11
|
-
//# sourceMappingURL=setHighlightedObject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setHighlightedObject.d.ts","sourceRoot":"","sources":["../../../src/Domain/Controllers/setHighlightedObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,kCAAkC,CAAC;AAE1C;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,aAAa,EACzB,iBAAiB,EAAE,+BAA+B,GACjD,IAAI,CAYN"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AbstractMesh, Color3 } from "@babylonjs/core";
|
|
2
|
-
type OutlinePulseOptions = {
|
|
3
|
-
color?: Color3;
|
|
4
|
-
intervalMs?: number;
|
|
5
|
-
width?: number;
|
|
6
|
-
};
|
|
7
|
-
type OutlinePulseController = {
|
|
8
|
-
apply(on: boolean): void;
|
|
9
|
-
dispose(): void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Creates a pulsing hard-edge outline controller for one or more meshes.
|
|
13
|
-
* It guarantees immediate cleanup when turned off or disposed.
|
|
14
|
-
* The outline pulses on/off at the specified interval, creating a strobe effect.
|
|
15
|
-
*/
|
|
16
|
-
export declare function makeOutlinePulseController(getMeshes: () => AbstractMesh[], options?: OutlinePulseOptions): OutlinePulseController;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=OutlinePulseController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OutlinePulseController.d.ts","sourceRoot":"","sources":["../../../src/Frameworks/Babylon/OutlinePulseController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEvD,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,YAAY,EAAE,EAC/B,OAAO,CAAC,EAAE,mBAAmB,GAC5B,sBAAsB,CAqExB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AbstractMesh, Color3 } from "@babylonjs/core";
|
|
2
|
-
type OverlayPulseOptions = {
|
|
3
|
-
alpha?: number;
|
|
4
|
-
color?: Color3;
|
|
5
|
-
intervalMs?: number;
|
|
6
|
-
};
|
|
7
|
-
type OverlayPulseController = {
|
|
8
|
-
apply(on: boolean): void;
|
|
9
|
-
dispose(): void;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Creates a small pulsing-overlay controller for one or more meshes.
|
|
13
|
-
* It guarantees immediate cleanup when turned off or disposed.
|
|
14
|
-
*/
|
|
15
|
-
export declare function makeOverlayPulseController(getMeshes: () => AbstractMesh[], options?: OverlayPulseOptions): OverlayPulseController;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=OverlayPulseController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayPulseController.d.ts","sourceRoot":"","sources":["../../../src/Frameworks/Babylon/OverlayPulseController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEvD,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,YAAY,EAAE,EAC/B,OAAO,CAAC,EAAE,mBAAmB,GAC5B,sBAAsB,CAoExB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AbstractMesh, Color3, Scene } from "@babylonjs/core";
|
|
2
|
-
type PanelOutlineOptions = {
|
|
3
|
-
/** Outline color (default: amber `Color3(1, 0.8, 0)`). */
|
|
4
|
-
color?: Color3;
|
|
5
|
-
/** Outline edge width in **pixels** (default: 4). */
|
|
6
|
-
thickness?: number;
|
|
7
|
-
/**
|
|
8
|
-
* How much to dim the outline where the panel is occluded by foreground objects.
|
|
9
|
-
* 0 = fully visible through occluders (x-ray); 1 = hidden behind occluders.
|
|
10
|
-
* Default: 0 (full-strength see-through, per user requirement).
|
|
11
|
-
*/
|
|
12
|
-
occlusionStrength?: number;
|
|
13
|
-
};
|
|
14
|
-
export type PanelOutlineController = {
|
|
15
|
-
apply(on: boolean): void;
|
|
16
|
-
dispose(): void;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Screen-space outline controller wrapping Babylon's `SelectionOutlineLayer`.
|
|
20
|
-
*
|
|
21
|
-
* Draws a crisp, unified silhouette around a group of meshes on hover:
|
|
22
|
-
* - `outlineThickness` is in **pixel space** — constant width regardless of zoom.
|
|
23
|
-
* - All meshes are passed to `addSelection` as a single group, so internal seams
|
|
24
|
-
* between panel sub-meshes produce no outline; only the outer contour draws.
|
|
25
|
-
* - `occlusionStrength = 0` renders the outline at full alpha even where foreground
|
|
26
|
-
* objects occlude the panel (x-ray / on-top effect).
|
|
27
|
-
*
|
|
28
|
-
* Usage: `apply(true)` shows the outline; `apply(false)` hides it. Dispose when done.
|
|
29
|
-
*/
|
|
30
|
-
export declare function makePanelOutlineController(getMeshes: () => AbstractMesh[], scene: Scene, options?: PanelOutlineOptions): PanelOutlineController;
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=PanelOutlineController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PanelOutlineController.d.ts","sourceRoot":"","sources":["../../../src/Frameworks/Babylon/PanelOutlineController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAG9D,KAAK,mBAAmB,GAAG;IACzB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,YAAY,EAAE,EAC/B,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,mBAAmB,GAC5B,sBAAsB,CAyCxB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AbstractMesh, Color3, HighlightLayer } from "@babylonjs/core";
|
|
2
|
-
type ScreenSpaceOutlinePulseOptions = {
|
|
3
|
-
color?: Color3;
|
|
4
|
-
intervalMs?: number;
|
|
5
|
-
};
|
|
6
|
-
type ScreenSpaceOutlinePulseController = {
|
|
7
|
-
apply(on: boolean): void;
|
|
8
|
-
dispose(): void;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Creates a pulsing screen-space outline controller for one or more meshes.
|
|
12
|
-
* Uses Babylon's HighlightLayer for post-process rendering with consistent pixel width.
|
|
13
|
-
* The outline pulses on/off at the specified interval, creating a strobe effect.
|
|
14
|
-
*/
|
|
15
|
-
export declare function makeScreenSpaceOutlinePulseController(getMeshes: () => AbstractMesh[], layer: HighlightLayer | undefined, options?: ScreenSpaceOutlinePulseOptions): ScreenSpaceOutlinePulseController;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=ScreenSpaceOutlinePulseController.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenSpaceOutlinePulseController.d.ts","sourceRoot":"","sources":["../../../src/Frameworks/Babylon/ScreenSpaceOutlinePulseController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAQ,MAAM,iBAAiB,CAAC;AAE7E,KAAK,8BAA8B,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,iCAAiC,GAAG;IACvC,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qCAAqC,CACnD,SAAS,EAAE,MAAM,YAAY,EAAE,EAC/B,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,OAAO,CAAC,EAAE,8BAA8B,GACvC,iCAAiC,CA6EnC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { S as e } from "./index-CmNnQLDH.js";
|
|
2
|
-
const i = "clipPlaneFragmentDeclaration", d = `#ifdef CLIPPLANE
|
|
3
|
-
varying float fClipDistance;
|
|
4
|
-
#endif
|
|
5
|
-
#ifdef CLIPPLANE2
|
|
6
|
-
varying float fClipDistance2;
|
|
7
|
-
#endif
|
|
8
|
-
#ifdef CLIPPLANE3
|
|
9
|
-
varying float fClipDistance3;
|
|
10
|
-
#endif
|
|
11
|
-
#ifdef CLIPPLANE4
|
|
12
|
-
varying float fClipDistance4;
|
|
13
|
-
#endif
|
|
14
|
-
#ifdef CLIPPLANE5
|
|
15
|
-
varying float fClipDistance5;
|
|
16
|
-
#endif
|
|
17
|
-
#ifdef CLIPPLANE6
|
|
18
|
-
varying float fClipDistance6;
|
|
19
|
-
#endif
|
|
20
|
-
`;
|
|
21
|
-
e.IncludesShadersStore[i] || (e.IncludesShadersStore[i] = d);
|
|
22
|
-
const s = { name: i, shader: d }, f = "clipPlaneFragment", n = `#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
23
|
-
if (false) {}
|
|
24
|
-
#endif
|
|
25
|
-
#ifdef CLIPPLANE
|
|
26
|
-
else if (fClipDistance>0.0)
|
|
27
|
-
{discard;}
|
|
28
|
-
#endif
|
|
29
|
-
#ifdef CLIPPLANE2
|
|
30
|
-
else if (fClipDistance2>0.0)
|
|
31
|
-
{discard;}
|
|
32
|
-
#endif
|
|
33
|
-
#ifdef CLIPPLANE3
|
|
34
|
-
else if (fClipDistance3>0.0)
|
|
35
|
-
{discard;}
|
|
36
|
-
#endif
|
|
37
|
-
#ifdef CLIPPLANE4
|
|
38
|
-
else if (fClipDistance4>0.0)
|
|
39
|
-
{discard;}
|
|
40
|
-
#endif
|
|
41
|
-
#ifdef CLIPPLANE5
|
|
42
|
-
else if (fClipDistance5>0.0)
|
|
43
|
-
{discard;}
|
|
44
|
-
#endif
|
|
45
|
-
#ifdef CLIPPLANE6
|
|
46
|
-
else if (fClipDistance6>0.0)
|
|
47
|
-
{discard;}
|
|
48
|
-
#endif
|
|
49
|
-
`;
|
|
50
|
-
e.IncludesShadersStore[f] || (e.IncludesShadersStore[f] = n);
|
|
51
|
-
const P = { name: f, shader: n };
|
|
52
|
-
export {
|
|
53
|
-
s as a,
|
|
54
|
-
P as c
|
|
55
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { S as e } from "./index-CmNnQLDH.js";
|
|
2
|
-
const i = "clipPlaneFragmentDeclaration", n = `#ifdef CLIPPLANE
|
|
3
|
-
varying fClipDistance: f32;
|
|
4
|
-
#endif
|
|
5
|
-
#ifdef CLIPPLANE2
|
|
6
|
-
varying fClipDistance2: f32;
|
|
7
|
-
#endif
|
|
8
|
-
#ifdef CLIPPLANE3
|
|
9
|
-
varying fClipDistance3: f32;
|
|
10
|
-
#endif
|
|
11
|
-
#ifdef CLIPPLANE4
|
|
12
|
-
varying fClipDistance4: f32;
|
|
13
|
-
#endif
|
|
14
|
-
#ifdef CLIPPLANE5
|
|
15
|
-
varying fClipDistance5: f32;
|
|
16
|
-
#endif
|
|
17
|
-
#ifdef CLIPPLANE6
|
|
18
|
-
varying fClipDistance6: f32;
|
|
19
|
-
#endif
|
|
20
|
-
`;
|
|
21
|
-
e.IncludesShadersStoreWGSL[i] || (e.IncludesShadersStoreWGSL[i] = n);
|
|
22
|
-
const s = { name: i, shader: n }, f = "clipPlaneFragment", d = `#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
23
|
-
if (false) {}
|
|
24
|
-
#endif
|
|
25
|
-
#ifdef CLIPPLANE
|
|
26
|
-
else if (fragmentInputs.fClipDistance>0.0)
|
|
27
|
-
{discard;}
|
|
28
|
-
#endif
|
|
29
|
-
#ifdef CLIPPLANE2
|
|
30
|
-
else if (fragmentInputs.fClipDistance2>0.0)
|
|
31
|
-
{discard;}
|
|
32
|
-
#endif
|
|
33
|
-
#ifdef CLIPPLANE3
|
|
34
|
-
else if (fragmentInputs.fClipDistance3>0.0)
|
|
35
|
-
{discard;}
|
|
36
|
-
#endif
|
|
37
|
-
#ifdef CLIPPLANE4
|
|
38
|
-
else if (fragmentInputs.fClipDistance4>0.0)
|
|
39
|
-
{discard;}
|
|
40
|
-
#endif
|
|
41
|
-
#ifdef CLIPPLANE5
|
|
42
|
-
else if (fragmentInputs.fClipDistance5>0.0)
|
|
43
|
-
{discard;}
|
|
44
|
-
#endif
|
|
45
|
-
#ifdef CLIPPLANE6
|
|
46
|
-
else if (fragmentInputs.fClipDistance6>0.0)
|
|
47
|
-
{discard;}
|
|
48
|
-
#endif
|
|
49
|
-
`;
|
|
50
|
-
e.IncludesShadersStoreWGSL[f] || (e.IncludesShadersStoreWGSL[f] = d);
|
|
51
|
-
const t = { name: f, shader: d };
|
|
52
|
-
export {
|
|
53
|
-
t as a,
|
|
54
|
-
s as c
|
|
55
|
-
};
|