@babylonjs/inspector 8.28.3-preview → 8.28.3

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/package.json CHANGED
@@ -1,43 +1,59 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.28.3-preview",
4
- "type": "module",
5
- "main": "lib/index.js",
6
- "module": "lib/index.js",
7
- "esnext": "lib/index.js",
8
- "types": "lib/index.d.ts",
3
+ "version": "8.28.3",
4
+ "module": "dist/babylon.inspector.bundle.js",
5
+ "main": "dist/babylon.inspector.bundle.js",
6
+ "esnext": "dist/babylon.inspector.bundle.js",
7
+ "typings": "dist/babylon.inspector.module.d.ts",
9
8
  "files": [
10
- "lib/**/*.js",
11
- "lib/**/*.d.ts",
12
- "lib/**/*.map",
9
+ "dist/**/*.*",
13
10
  "readme.md",
14
11
  "license.md"
15
12
  ],
13
+ "scripts": {
14
+ "build": "npm run clean && npm run build:prod && npm run build:declaration",
15
+ "build:dev": "webpack --env development",
16
+ "build:prod": "webpack --env production",
17
+ "build:declaration": "build-tools -c pud --config ./config.json",
18
+ "clean": "rimraf dist"
19
+ },
20
+ "dependencies": {
21
+ "@fortawesome/fontawesome-svg-core": "^6.1.0",
22
+ "@fortawesome/free-regular-svg-icons": "^6.0.0",
23
+ "@fortawesome/free-solid-svg-icons": "^6.0.0"
24
+ },
16
25
  "peerDependencies": {
17
26
  "@babylonjs/addons": "^8.0.0",
18
27
  "@babylonjs/core": "^8.0.0",
19
28
  "@babylonjs/gui": "^8.0.0",
29
+ "@babylonjs/gui-editor": "^8.0.0",
20
30
  "@babylonjs/loaders": "^8.0.0",
21
31
  "@babylonjs/materials": "^8.0.0",
22
32
  "@babylonjs/serializers": "^8.0.0",
23
- "@fluentui-contrib/react-virtualizer": "^0.1.0",
24
- "@fluentui/react-components": "^9.62.0",
25
- "@fluentui/react-icons": "^2.0.271",
33
+ "@types/react": ">=16.7.3",
34
+ "@types/react-dom": ">=16.0.9"
35
+ },
36
+ "devDependencies": {
37
+ "@babylonjs/addons": "^8.28.3",
38
+ "@babylonjs/core": "^8.28.3",
39
+ "@babylonjs/gui": "^8.28.3",
40
+ "@babylonjs/gui-editor": "^8.28.3",
41
+ "@babylonjs/loaders": "^8.28.3",
42
+ "@babylonjs/materials": "^8.28.3",
43
+ "@babylonjs/serializers": "^8.28.3",
44
+ "@lts/gui": "1.0.0",
26
45
  "react": "^18.2.0",
27
- "react-dom": "^18.2.0",
28
- "usehooks-ts": "^3.1.1"
46
+ "react-dom": "^18.2.0"
29
47
  },
30
48
  "keywords": [
31
49
  "3D",
32
50
  "javascript",
33
51
  "html5",
34
52
  "webgl",
35
- "babylon.js",
36
- "inspector",
37
- "diagnostic",
38
- "debug"
53
+ "babylon.js"
39
54
  ],
40
55
  "license": "Apache-2.0",
56
+ "sideEffects": true,
41
57
  "homepage": "https://www.babylonjs.com",
42
58
  "repository": {
43
59
  "type": "git",
@@ -46,4 +62,4 @@
46
62
  "bugs": {
47
63
  "url": "https://github.com/BabylonJS/Babylon.js/issues"
48
64
  }
49
- }
65
+ }
package/readme.md CHANGED
@@ -1,23 +1,26 @@
1
- # BabylonJS Inspector
1
+ # Babylon.js inspector module
2
2
 
3
- The Babylon Inspector is a diagnostic tool that makes it possible to view and edit the scene graph, properties of entities within the scene, and more.
3
+ For usage documentation please visit https://doc.babylonjs.com/how_to/debug_layer.
4
4
 
5
- Documentation and samples coming soon!
5
+ # Installation instructions
6
6
 
7
- ## Installation
7
+ To install using npm :
8
8
 
9
- Install the package using npm:
10
-
11
- ```bash
12
- npm install @babylonjs/inspector@preview
9
+ ```shell
10
+ npm install @babylonjs/core @babylonjs/inspector
13
11
  ```
14
12
 
15
- The simplest way to use the `Inspector` is to call the `ShowInspector` function, passing in your scene:
16
-
17
- ```ts
18
- import { ShowInspector } from "@babylonjs/inspector";
13
+ # How to use
19
14
 
20
- // Your code that sets up a Babylon.js scene
15
+ Afterwards it can be imported to your project using:
21
16
 
22
- ShowInspector(scene);
17
+ ```javascript
18
+ import "@babylonjs/core/Debug/debugLayer";
19
+ import "@babylonjs/inspector";
23
20
  ```
21
+
22
+ The first line will ensure you can access the property debugLayer of the scene while the second will ensure the inspector can be used within your scene.
23
+
24
+ This is a great example where code splitting or conditional loading could be used to ensure you are not delivering the inspector if not part of your final app.
25
+
26
+ For more information you can have a look at our [ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).
@@ -1,184 +0,0 @@
1
- import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
- import { B as ButtonLine, c as SyncedSliderPropertyLine, b as SwitchPropertyLine, C as Collapse, T as ToolsServiceIdentity } from './index-Bt4ndVv5.js';
3
- import { useState, useRef, useCallback } from 'react';
4
- import { Tools } from '@babylonjs/core/Misc/tools.js';
5
- import { VideoRecorder } from '@babylonjs/core/Misc/videoRecorder.js';
6
- import { captureEquirectangularFromScene } from '@babylonjs/core/Misc/equirectangularCapture.js';
7
- import { CameraRegular, RecordStopRegular, RecordRegular } from '@fluentui/react-icons';
8
- import { FrameGraphUtils } from '@babylonjs/core/FrameGraph/frameGraphUtils.js';
9
- import '@babylonjs/core/Maths/math.color.js';
10
- import '@babylonjs/core/Maths/math.vector.js';
11
- import '@babylonjs/core/Misc/observable.js';
12
- import '@fluentui/react-components';
13
- import '@fluentui/react-motion-components-preview';
14
- import '@babylonjs/core/Misc/typeStore.js';
15
- import 'usehooks-ts';
16
- import '@babylonjs/core/Misc/asyncLock.js';
17
- import '@babylonjs/core/Misc/deferred.js';
18
- import '@fluentui-contrib/react-virtualizer';
19
- import '@babylonjs/addons/msdfText/fontAsset.js';
20
- import '@babylonjs/addons/msdfText/textRenderer.js';
21
- import '@babylonjs/core/Debug/physicsViewer.js';
22
- import '@babylonjs/core/Materials/Textures/texture.js';
23
- import '@babylonjs/core/Materials/materialFlags.js';
24
- import '@babylonjs/core/Materials/standardMaterial.js';
25
- import '@babylonjs/core/Meshes/Builders/groundBuilder.js';
26
- import '@babylonjs/core/Rendering/utilityLayerRenderer.js';
27
- import '@babylonjs/materials/grid/gridMaterial.js';
28
- import '@babylonjs/core/Misc/dataStorage.js';
29
- import '@babylonjs/core/Instrumentation/engineInstrumentation.js';
30
- import '@babylonjs/core/Instrumentation/sceneInstrumentation.js';
31
- import '@babylonjs/core/Engines/AbstractEngine/abstractEngine.timeQuery.js';
32
- import '@babylonjs/core/Engines/Extensions/engine.query.js';
33
- import '@babylonjs/core/Engines/WebGPU/Extensions/engine.query.js';
34
- import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js';
35
- import '@babylonjs/core/Misc/pressureObserverWrapper.js';
36
- import '@babylonjs/core/Engines/abstractEngine.js';
37
- import '@babylonjs/core/Engines/engineStore.js';
38
- import 'react-dom/client';
39
- import '@babylonjs/core/Misc/logger.js';
40
- import '@babylonjs/core/Gizmos/cameraGizmo.js';
41
- import '@babylonjs/core/Gizmos/lightGizmo.js';
42
- import '@babylonjs/core/Bones/bone.js';
43
- import '@babylonjs/core/Cameras/camera.js';
44
- import '@babylonjs/core/Gizmos/gizmoManager.js';
45
- import '@babylonjs/core/Lights/light.js';
46
- import '@babylonjs/core/Meshes/abstractMesh.js';
47
- import '@babylonjs/core/node.js';
48
- import '@babylonjs/core/Animations/animationGroup.js';
49
- import '@babylonjs/core/Animations/animationPropertiesOverride.js';
50
- import '@babylonjs/core/Cameras/arcRotateCamera.js';
51
- import '@babylonjs/core/Cameras/followCamera.js';
52
- import '@babylonjs/core/Cameras/freeCamera.js';
53
- import '@babylonjs/core/Cameras/targetCamera.js';
54
- import '@babylonjs/core/scene.js';
55
- import '@babylonjs/core/FrameGraph/frameGraph.js';
56
- import '@babylonjs/core/Lights/directionalLight.js';
57
- import '@babylonjs/core/Lights/hemisphericLight.js';
58
- import '@babylonjs/core/Lights/pointLight.js';
59
- import '@babylonjs/core/Lights/rectAreaLight.js';
60
- import '@babylonjs/core/Lights/shadowLight.js';
61
- import '@babylonjs/core/Lights/spotLight.js';
62
- import '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';
63
- import '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
64
- import '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';
65
- import '@babylonjs/core/Materials/material.js';
66
- import '@babylonjs/core/Materials/multiMaterial.js';
67
- import '@babylonjs/core/Materials/PBR/pbrBaseMaterial.js';
68
- import '@babylonjs/core/Materials/PBR/pbrBaseSimpleMaterial.js';
69
- import '@babylonjs/core/Materials/PBR/pbrMaterial.js';
70
- import '@babylonjs/materials/sky/skyMaterial.js';
71
- import '@babylonjs/core/Engines/engine.js';
72
- import '@babylonjs/core/Engines/constants.js';
73
- import '@babylonjs/core/Particles/particleSystem.js';
74
- import '@babylonjs/core/Misc/fileTools.js';
75
- import '@babylonjs/core/Meshes/mesh.js';
76
- import '@babylonjs/core/Debug/skeletonViewer.js';
77
- import '@babylonjs/core/Meshes/buffer.js';
78
- import '@babylonjs/core/Meshes/Builders/linesBuilder.js';
79
- import '@babylonjs/core/Meshes/instancedMesh.js';
80
- import '@babylonjs/core/Rendering/renderingManager.js';
81
- import '@babylonjs/core/Rendering/edgesRenderer.js';
82
- import '@babylonjs/core/Rendering/outlineRenderer.js';
83
- import '@babylonjs/core/Misc/gradients.js';
84
- import '@babylonjs/core/Materials/Node/Blocks/gradientBlock.js';
85
- import '@babylonjs/core/Particles/attractor.js';
86
- import '@babylonjs/core/Meshes/Builders/sphereBuilder.js';
87
- import '@babylonjs/core/Meshes/transformNode.js';
88
- import '@babylonjs/core/Physics/v2/IPhysicsEnginePlugin.js';
89
- import '@babylonjs/core/Physics/v2/physicsEngineComponent.js';
90
- import '@babylonjs/core/PostProcesses/postProcess.js';
91
- import '@babylonjs/core/Materials/Textures/cubeTexture.js';
92
- import '@babylonjs/core/Materials/imageProcessingConfiguration.js';
93
- import '@babylonjs/core/Bones/skeleton.js';
94
- import '@babylonjs/core/Sprites/sprite.js';
95
- import '@babylonjs/core/Materials/Textures/baseTexture.js';
96
- import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
97
- import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
98
- import '@babylonjs/core/Materials/Textures/thinTexture.js';
99
- import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js';
100
- import '@babylonjs/core/Sprites/spriteSceneComponent.js';
101
- import '@babylonjs/core/Materials/Textures/dynamicTexture.js';
102
- import '@babylonjs/core/Events/pointerEvents.js';
103
- import '@babylonjs/addons/atmosphere/atmosphere.js';
104
-
105
- const CaptureRttTools = ({ scene }) => {
106
- const [useWidthHeight, setUseWidthHeight] = useState(false);
107
- const [screenshotSize, setScreenshotSize] = useState({ precision: 1 });
108
- const captureRender = useCallback(async () => {
109
- const sizeToUse = { ...screenshotSize };
110
- if (!useWidthHeight) {
111
- sizeToUse.width = undefined;
112
- sizeToUse.height = undefined;
113
- }
114
- if (scene.activeCamera) {
115
- Tools.CreateScreenshotUsingRenderTarget(scene.getEngine(), scene.activeCamera, sizeToUse, undefined, undefined, 4);
116
- }
117
- }, [scene, screenshotSize, useWidthHeight]);
118
- return (jsxs(Fragment, { children: [jsx(ButtonLine, { label: "Capture", icon: CameraRegular, onClick: captureRender }), jsx(SyncedSliderPropertyLine, { label: "Precision", value: screenshotSize.precision ?? 1, onChange: (value) => setScreenshotSize({ ...screenshotSize, precision: value ?? 1 }), min: 0.1, max: 10, step: 0.1 }), jsx(SwitchPropertyLine, { label: "Use Custom Width/Height", value: useWidthHeight, onChange: (value) => setUseWidthHeight(value) }), jsxs(Collapse, { visible: useWidthHeight, children: [jsx(SyncedSliderPropertyLine, { label: "Width", value: screenshotSize.width ?? 512, onChange: (data) => setScreenshotSize({ ...screenshotSize, width: data ?? 512 }), min: 1, step: 1 }), jsx(SyncedSliderPropertyLine, { label: "Height", value: screenshotSize.height ?? 512, onChange: (data) => setScreenshotSize({ ...screenshotSize, height: data ?? 512 }), min: 1, step: 1 })] })] }));
119
- };
120
- const CaptureScreenshotTools = ({ scene }) => {
121
- const [isRecording, setIsRecording] = useState(false);
122
- const videoRecorder = useRef();
123
- const captureScreenshot = useCallback(() => {
124
- const camera = scene.frameGraph ? FrameGraphUtils.FindMainCamera(scene.frameGraph) : scene.activeCamera;
125
- if (camera) {
126
- Tools.CreateScreenshot(scene.getEngine(), camera, { precision: 1 });
127
- }
128
- }, [scene]);
129
- const captureEquirectangularAsync = useCallback(async () => {
130
- const currentActiveCamera = scene.activeCamera;
131
- if (!currentActiveCamera && scene.frameGraph) {
132
- scene.activeCamera = FrameGraphUtils.FindMainCamera(scene.frameGraph);
133
- }
134
- if (scene.activeCamera) {
135
- await captureEquirectangularFromScene(scene, { size: 1024, filename: "equirectangular_capture.png" });
136
- }
137
- // eslint-disable-next-line require-atomic-updates
138
- scene.activeCamera = currentActiveCamera;
139
- }, [scene]);
140
- const recordVideoAsync = useCallback(async () => {
141
- if (videoRecorder.current && videoRecorder.current.isRecording) {
142
- videoRecorder.current.stopRecording();
143
- setIsRecording(false);
144
- return;
145
- }
146
- if (!videoRecorder.current) {
147
- videoRecorder.current = new VideoRecorder(scene.getEngine());
148
- }
149
- void videoRecorder.current.startRecording();
150
- setIsRecording(true);
151
- }, [scene]);
152
- return (jsxs(Fragment, { children: [jsx(ButtonLine, { label: "Capture", icon: CameraRegular, onClick: captureScreenshot }), jsx(ButtonLine, { label: "Capture Equirectangular", icon: CameraRegular, onClick: captureEquirectangularAsync }), jsx(ButtonLine, { label: isRecording ? "Stop Recording" : "Record Video", icon: isRecording ? RecordStopRegular : RecordRegular, onClick: recordVideoAsync })] }));
153
- };
154
-
155
- const CaptureServiceDefinition = {
156
- friendlyName: "Capture Tools",
157
- consumes: [ToolsServiceIdentity],
158
- factory: (toolsService) => {
159
- const contentRegistrations = [];
160
- // Screenshot capture content
161
- contentRegistrations.push(toolsService.addSectionContent({
162
- key: "Screenshot Capture",
163
- section: "Screenshot Capture",
164
- component: ({ context }) => jsx(CaptureScreenshotTools, { scene: context }),
165
- }));
166
- // RTT capture content
167
- contentRegistrations.push(toolsService.addSectionContent({
168
- key: "RTT Capture",
169
- section: "RTT Capture",
170
- component: ({ context }) => jsx(CaptureRttTools, { scene: context }),
171
- }));
172
- return {
173
- dispose: () => {
174
- contentRegistrations.forEach((registration) => registration.dispose());
175
- },
176
- };
177
- },
178
- };
179
- var captureService = {
180
- serviceDefinitions: [CaptureServiceDefinition],
181
- };
182
-
183
- export { CaptureServiceDefinition, captureService as default };
184
- //# sourceMappingURL=captureService-wvKpBv07.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"captureService-wvKpBv07.js","sources":["../../../../../../../../dev/inspector-v2/src/components/tools/captureTools.tsx","../../../../../../../../dev/inspector-v2/src/services/panes/tools/captureService.tsx"],"sourcesContent":["import { ButtonLine } from \"shared-ui-components/fluent/hoc/buttonLine\";\r\nimport { useState, useRef, useCallback } from \"react\";\r\nimport type { FunctionComponent } from \"react\";\r\nimport { Tools } from \"core/Misc/tools\";\r\nimport type { Scene } from \"core/scene\";\r\nimport { SyncedSliderPropertyLine } from \"shared-ui-components/fluent/hoc/propertyLines/syncedSliderPropertyLine\";\r\nimport type { IScreenshotSize } from \"core/Misc/interfaces/screenshotSize\";\r\nimport { SwitchPropertyLine } from \"shared-ui-components/fluent/hoc/propertyLines/switchPropertyLine\";\r\nimport { VideoRecorder } from \"core/Misc/videoRecorder\";\r\nimport { captureEquirectangularFromScene } from \"core/Misc/equirectangularCapture\";\r\nimport { Collapse } from \"shared-ui-components/fluent/primitives/collapse\";\r\nimport { CameraRegular, RecordRegular, RecordStopRegular } from \"@fluentui/react-icons\";\r\nimport { FrameGraphUtils } from \"core/FrameGraph/frameGraphUtils\";\r\n\r\nexport const CaptureRttTools: FunctionComponent<{ scene: Scene }> = ({ scene }) => {\r\n const [useWidthHeight, setUseWidthHeight] = useState(false);\r\n const [screenshotSize, setScreenshotSize] = useState<IScreenshotSize>({ precision: 1 });\r\n\r\n const captureRender = useCallback(async () => {\r\n const sizeToUse: IScreenshotSize = { ...screenshotSize };\r\n if (!useWidthHeight) {\r\n sizeToUse.width = undefined;\r\n sizeToUse.height = undefined;\r\n }\r\n\r\n if (scene.activeCamera) {\r\n Tools.CreateScreenshotUsingRenderTarget(scene.getEngine(), scene.activeCamera, sizeToUse, undefined, undefined, 4);\r\n }\r\n }, [scene, screenshotSize, useWidthHeight]);\r\n\r\n return (\r\n <>\r\n <ButtonLine label=\"Capture\" icon={CameraRegular} onClick={captureRender} />\r\n <SyncedSliderPropertyLine\r\n label=\"Precision\"\r\n value={screenshotSize.precision ?? 1}\r\n onChange={(value) => setScreenshotSize({ ...screenshotSize, precision: value ?? 1 })}\r\n min={0.1}\r\n max={10}\r\n step={0.1}\r\n />\r\n <SwitchPropertyLine label=\"Use Custom Width/Height\" value={useWidthHeight} onChange={(value) => setUseWidthHeight(value)} />\r\n <Collapse visible={useWidthHeight}>\r\n <SyncedSliderPropertyLine\r\n label=\"Width\"\r\n value={screenshotSize.width ?? 512}\r\n onChange={(data) => setScreenshotSize({ ...screenshotSize, width: data ?? 512 })}\r\n min={1}\r\n step={1}\r\n />\r\n <SyncedSliderPropertyLine\r\n label=\"Height\"\r\n value={screenshotSize.height ?? 512}\r\n onChange={(data) => setScreenshotSize({ ...screenshotSize, height: data ?? 512 })}\r\n min={1}\r\n step={1}\r\n />\r\n </Collapse>\r\n </>\r\n );\r\n};\r\n\r\nexport const CaptureScreenshotTools: FunctionComponent<{ scene: Scene }> = ({ scene }) => {\r\n const [isRecording, setIsRecording] = useState(false);\r\n const videoRecorder = useRef<VideoRecorder>();\r\n\r\n const captureScreenshot = useCallback(() => {\r\n const camera = scene.frameGraph ? FrameGraphUtils.FindMainCamera(scene.frameGraph) : scene.activeCamera;\r\n if (camera) {\r\n Tools.CreateScreenshot(scene.getEngine(), camera, { precision: 1 });\r\n }\r\n }, [scene]);\r\n\r\n const captureEquirectangularAsync = useCallback(async () => {\r\n const currentActiveCamera = scene.activeCamera;\r\n if (!currentActiveCamera && scene.frameGraph) {\r\n scene.activeCamera = FrameGraphUtils.FindMainCamera(scene.frameGraph);\r\n }\r\n if (scene.activeCamera) {\r\n await captureEquirectangularFromScene(scene, { size: 1024, filename: \"equirectangular_capture.png\" });\r\n }\r\n // eslint-disable-next-line require-atomic-updates\r\n scene.activeCamera = currentActiveCamera;\r\n }, [scene]);\r\n\r\n const recordVideoAsync = useCallback(async () => {\r\n if (videoRecorder.current && videoRecorder.current.isRecording) {\r\n videoRecorder.current.stopRecording();\r\n setIsRecording(false);\r\n return;\r\n }\r\n\r\n if (!videoRecorder.current) {\r\n videoRecorder.current = new VideoRecorder(scene.getEngine());\r\n }\r\n\r\n void videoRecorder.current.startRecording();\r\n setIsRecording(true);\r\n }, [scene]);\r\n\r\n return (\r\n <>\r\n <ButtonLine label=\"Capture\" icon={CameraRegular} onClick={captureScreenshot} />\r\n <ButtonLine label=\"Capture Equirectangular\" icon={CameraRegular} onClick={captureEquirectangularAsync} />\r\n <ButtonLine label={isRecording ? \"Stop Recording\" : \"Record Video\"} icon={isRecording ? RecordStopRegular : RecordRegular} onClick={recordVideoAsync} />\r\n </>\r\n );\r\n};\r\n","import type { ServiceDefinition } from \"../../../modularity/serviceDefinition\";\r\nimport { ToolsServiceIdentity } from \"../toolsService\";\r\nimport type { IToolsService } from \"../toolsService\";\r\nimport type { IDisposable } from \"core/scene\";\r\nimport { CaptureRttTools, CaptureScreenshotTools } from \"../../../components/tools/captureTools\";\r\n\r\nexport const CaptureServiceDefinition: ServiceDefinition<[], [IToolsService]> = {\r\n friendlyName: \"Capture Tools\",\r\n consumes: [ToolsServiceIdentity],\r\n factory: (toolsService) => {\r\n const contentRegistrations: IDisposable[] = [];\r\n\r\n // Screenshot capture content\r\n contentRegistrations.push(\r\n toolsService.addSectionContent({\r\n key: \"Screenshot Capture\",\r\n section: \"Screenshot Capture\",\r\n component: ({ context }) => <CaptureScreenshotTools scene={context} />,\r\n })\r\n );\r\n\r\n // RTT capture content\r\n contentRegistrations.push(\r\n toolsService.addSectionContent({\r\n key: \"RTT Capture\",\r\n section: \"RTT Capture\",\r\n component: ({ context }) => <CaptureRttTools scene={context} />,\r\n })\r\n );\r\n\r\n return {\r\n dispose: () => {\r\n contentRegistrations.forEach((registration) => registration.dispose());\r\n },\r\n };\r\n },\r\n};\r\n\r\nexport default {\r\n serviceDefinitions: [CaptureServiceDefinition],\r\n} as const;\r\n"],"names":["_jsxs","_jsx","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,MAAM,eAAe,GAAwC,CAAC,EAAE,KAAK,EAAE,KAAI;IAC9E,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC3D,IAAA,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAkB,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;AAEvF,IAAA,MAAM,aAAa,GAAG,WAAW,CAAC,YAAW;AACzC,QAAA,MAAM,SAAS,GAAoB,EAAE,GAAG,cAAc,EAAE;QACxD,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,SAAS,CAAC,KAAK,GAAG,SAAS;AAC3B,YAAA,SAAS,CAAC,MAAM,GAAG,SAAS;;AAGhC,QAAA,IAAI,KAAK,CAAC,YAAY,EAAE;YACpB,KAAK,CAAC,iCAAiC,CAAC,KAAK,CAAC,SAAS,EAAE,EAAE,KAAK,CAAC,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;;KAEzH,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;IAE3C,QACIA,4BACIC,GAAC,CAAA,UAAU,IAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,GAAI,EAC3EA,GAAA,CAAC,wBAAwB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AAC,EAAE,OAAO,EAAE,KAAKA,GAAA,CAAC,eAAe,EAAA,EAAC,KAAK,EAAE,OAAO,EAAI,CAAA;AAClE,SAAA,CAAC,CACL;QAED,OAAO;YACH,OAAO,EAAE,MAAK;AACV,gBAAA,oBAAoB,CAAC,OAAO,CAAC,CAAC,YAAY,KAAK,YAAY,CAAC,OAAO,EAAE,CAAC;aACzE;SACJ;KACJ;;AAGL,qBAAe;IACX,kBAAkB,EAAE,CAAC,wBAAwB,CAAC;CACxC;;;;"}
@@ -1,139 +0,0 @@
1
- import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
- import { makeStyles, Accordion, AccordionItem, AccordionHeader, Text, AccordionPanel, Button, tokens } from '@fluentui/react-components';
3
- import { S as ShellServiceIdentity, a as SceneContextIdentity, u as useObservableState } from './index-Bt4ndVv5.js';
4
- import { FormNewRegular } from '@fluentui/react-icons';
5
- import 'react';
6
- import '@babylonjs/core/Maths/math.color.js';
7
- import '@babylonjs/core/Maths/math.vector.js';
8
- import '@babylonjs/core/Misc/observable.js';
9
- import '@fluentui/react-motion-components-preview';
10
- import '@babylonjs/core/Misc/typeStore.js';
11
- import 'usehooks-ts';
12
- import '@babylonjs/core/Misc/asyncLock.js';
13
- import '@babylonjs/core/Misc/deferred.js';
14
- import '@fluentui-contrib/react-virtualizer';
15
- import '@babylonjs/addons/msdfText/fontAsset.js';
16
- import '@babylonjs/addons/msdfText/textRenderer.js';
17
- import '@babylonjs/core/Debug/physicsViewer.js';
18
- import '@babylonjs/core/Materials/Textures/texture.js';
19
- import '@babylonjs/core/Materials/materialFlags.js';
20
- import '@babylonjs/core/Materials/standardMaterial.js';
21
- import '@babylonjs/core/Meshes/Builders/groundBuilder.js';
22
- import '@babylonjs/core/Misc/tools.js';
23
- import '@babylonjs/core/Rendering/utilityLayerRenderer.js';
24
- import '@babylonjs/materials/grid/gridMaterial.js';
25
- import '@babylonjs/core/Misc/dataStorage.js';
26
- import '@babylonjs/core/Instrumentation/engineInstrumentation.js';
27
- import '@babylonjs/core/Instrumentation/sceneInstrumentation.js';
28
- import '@babylonjs/core/Engines/AbstractEngine/abstractEngine.timeQuery.js';
29
- import '@babylonjs/core/Engines/Extensions/engine.query.js';
30
- import '@babylonjs/core/Engines/WebGPU/Extensions/engine.query.js';
31
- import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js';
32
- import '@babylonjs/core/Misc/pressureObserverWrapper.js';
33
- import '@babylonjs/core/Engines/abstractEngine.js';
34
- import '@babylonjs/core/Engines/engineStore.js';
35
- import 'react-dom/client';
36
- import '@babylonjs/core/Misc/logger.js';
37
- import '@babylonjs/core/FrameGraph/frameGraphUtils.js';
38
- import '@babylonjs/core/Gizmos/cameraGizmo.js';
39
- import '@babylonjs/core/Gizmos/lightGizmo.js';
40
- import '@babylonjs/core/Bones/bone.js';
41
- import '@babylonjs/core/Cameras/camera.js';
42
- import '@babylonjs/core/Gizmos/gizmoManager.js';
43
- import '@babylonjs/core/Lights/light.js';
44
- import '@babylonjs/core/Meshes/abstractMesh.js';
45
- import '@babylonjs/core/node.js';
46
- import '@babylonjs/core/Animations/animationGroup.js';
47
- import '@babylonjs/core/Animations/animationPropertiesOverride.js';
48
- import '@babylonjs/core/Cameras/arcRotateCamera.js';
49
- import '@babylonjs/core/Cameras/followCamera.js';
50
- import '@babylonjs/core/Cameras/freeCamera.js';
51
- import '@babylonjs/core/Cameras/targetCamera.js';
52
- import '@babylonjs/core/scene.js';
53
- import '@babylonjs/core/FrameGraph/frameGraph.js';
54
- import '@babylonjs/core/Lights/directionalLight.js';
55
- import '@babylonjs/core/Lights/hemisphericLight.js';
56
- import '@babylonjs/core/Lights/pointLight.js';
57
- import '@babylonjs/core/Lights/rectAreaLight.js';
58
- import '@babylonjs/core/Lights/shadowLight.js';
59
- import '@babylonjs/core/Lights/spotLight.js';
60
- import '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';
61
- import '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
62
- import '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';
63
- import '@babylonjs/core/Materials/material.js';
64
- import '@babylonjs/core/Materials/multiMaterial.js';
65
- import '@babylonjs/core/Materials/PBR/pbrBaseMaterial.js';
66
- import '@babylonjs/core/Materials/PBR/pbrBaseSimpleMaterial.js';
67
- import '@babylonjs/core/Materials/PBR/pbrMaterial.js';
68
- import '@babylonjs/materials/sky/skyMaterial.js';
69
- import '@babylonjs/core/Engines/engine.js';
70
- import '@babylonjs/core/Engines/constants.js';
71
- import '@babylonjs/core/Particles/particleSystem.js';
72
- import '@babylonjs/core/Misc/fileTools.js';
73
- import '@babylonjs/core/Meshes/mesh.js';
74
- import '@babylonjs/core/Debug/skeletonViewer.js';
75
- import '@babylonjs/core/Meshes/buffer.js';
76
- import '@babylonjs/core/Meshes/Builders/linesBuilder.js';
77
- import '@babylonjs/core/Meshes/instancedMesh.js';
78
- import '@babylonjs/core/Rendering/renderingManager.js';
79
- import '@babylonjs/core/Rendering/edgesRenderer.js';
80
- import '@babylonjs/core/Rendering/outlineRenderer.js';
81
- import '@babylonjs/core/Misc/gradients.js';
82
- import '@babylonjs/core/Materials/Node/Blocks/gradientBlock.js';
83
- import '@babylonjs/core/Particles/attractor.js';
84
- import '@babylonjs/core/Meshes/Builders/sphereBuilder.js';
85
- import '@babylonjs/core/Meshes/transformNode.js';
86
- import '@babylonjs/core/Physics/v2/IPhysicsEnginePlugin.js';
87
- import '@babylonjs/core/Physics/v2/physicsEngineComponent.js';
88
- import '@babylonjs/core/PostProcesses/postProcess.js';
89
- import '@babylonjs/core/Materials/Textures/cubeTexture.js';
90
- import '@babylonjs/core/Materials/imageProcessingConfiguration.js';
91
- import '@babylonjs/core/Bones/skeleton.js';
92
- import '@babylonjs/core/Sprites/sprite.js';
93
- import '@babylonjs/core/Materials/Textures/baseTexture.js';
94
- import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
95
- import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
96
- import '@babylonjs/core/Materials/Textures/thinTexture.js';
97
- import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js';
98
- import '@babylonjs/core/Sprites/spriteSceneComponent.js';
99
- import '@babylonjs/core/Materials/Textures/dynamicTexture.js';
100
- import '@babylonjs/core/Events/pointerEvents.js';
101
- import '@babylonjs/addons/atmosphere/atmosphere.js';
102
-
103
- // eslint-disable-next-line @typescript-eslint/naming-convention
104
- const useStyles = makeStyles({
105
- section: {
106
- display: "flex",
107
- flexDirection: "column",
108
- rowGap: tokens.spacingVerticalM,
109
- },
110
- });
111
- // TODO: This is just a placeholder for a dynamically installed extension that brings in asset creation tools (node materials, etc.).
112
- const CreationToolsServiceDefinition = {
113
- friendlyName: "Creation Tools",
114
- consumes: [ShellServiceIdentity, SceneContextIdentity],
115
- factory: (shellService, sceneContext) => {
116
- const registration = shellService.addSidePane({
117
- key: "Create",
118
- title: "Create",
119
- icon: FormNewRegular,
120
- horizontalLocation: "left",
121
- content: () => {
122
- const classes = useStyles();
123
- const scene = useObservableState(() => sceneContext.currentScene, sceneContext.currentSceneObservable);
124
- // eslint-disable-next-line no-console
125
- console.log(scene);
126
- return (jsx(Fragment, { children: jsxs(Accordion, { collapsible: true, multiple: true, defaultOpenItems: ["Materials", "Interactivity"], children: [jsxs(AccordionItem, { value: "Materials", children: [jsx(AccordionHeader, { expandIconPosition: "end", children: jsx(Text, { size: 500, children: "Materials" }) }), jsx(AccordionPanel, { children: jsxs("div", { className: classes.section, children: [jsx(Button, { children: "PBR Material" }), jsx(Button, { children: "Node Material" })] }) })] }, "Materials"), jsxs(AccordionItem, { value: "Interactivity", children: [jsx(AccordionHeader, { expandIconPosition: "end", children: jsx(Text, { size: 500, children: "Interactivity" }) }), jsx(AccordionPanel, { children: jsx("div", { className: classes.section, children: jsx(Button, { children: "Flow Graph" }) }) })] }, "Interactivity")] }) }));
127
- },
128
- });
129
- return {
130
- dispose: () => registration.dispose(),
131
- };
132
- },
133
- };
134
- var creationToolsService = {
135
- serviceDefinitions: [CreationToolsServiceDefinition],
136
- };
137
-
138
- export { CreationToolsServiceDefinition, creationToolsService as default };
139
- //# sourceMappingURL=creationToolsService-CISLGWl-.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"creationToolsService-CISLGWl-.js","sources":["../../../../../../../../dev/inspector-v2/src/services/creationToolsService.tsx"],"sourcesContent":["import type { ServiceDefinition } from \"../modularity/serviceDefinition\";\r\nimport type { ISceneContext } from \"./sceneContext\";\r\nimport type { IShellService } from \"./shellService\";\r\n\r\nimport { makeStyles, tokens, Accordion, AccordionItem, AccordionHeader, AccordionPanel, Text, Button } from \"@fluentui/react-components\";\r\nimport { ShellServiceIdentity } from \"./shellService\";\r\n\r\nimport { FormNewRegular } from \"@fluentui/react-icons\";\r\nimport { SceneContextIdentity } from \"./sceneContext\";\r\nimport { useObservableState } from \"../hooks/observableHooks\";\r\n\r\n// eslint-disable-next-line @typescript-eslint/naming-convention\r\nconst useStyles = makeStyles({\r\n section: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n rowGap: tokens.spacingVerticalM,\r\n },\r\n});\r\n\r\n// TODO: This is just a placeholder for a dynamically installed extension that brings in asset creation tools (node materials, etc.).\r\nexport const CreationToolsServiceDefinition: ServiceDefinition<[], [IShellService, ISceneContext]> = {\r\n friendlyName: \"Creation Tools\",\r\n consumes: [ShellServiceIdentity, SceneContextIdentity],\r\n factory: (shellService, sceneContext) => {\r\n const registration = shellService.addSidePane({\r\n key: \"Create\",\r\n title: \"Create\",\r\n icon: FormNewRegular,\r\n horizontalLocation: \"left\",\r\n content: () => {\r\n const classes = useStyles();\r\n\r\n const scene = useObservableState(() => sceneContext.currentScene, sceneContext.currentSceneObservable);\r\n // eslint-disable-next-line no-console\r\n console.log(scene);\r\n\r\n return (\r\n <>\r\n <Accordion collapsible multiple defaultOpenItems={[\"Materials\", \"Interactivity\"]}>\r\n <AccordionItem key=\"Materials\" value=\"Materials\">\r\n <AccordionHeader expandIconPosition=\"end\">\r\n <Text size={500}>Materials</Text>\r\n </AccordionHeader>\r\n <AccordionPanel>\r\n <div className={classes.section}>\r\n <Button>PBR Material</Button>\r\n <Button>Node Material</Button>\r\n </div>\r\n </AccordionPanel>\r\n </AccordionItem>\r\n <AccordionItem key=\"Interactivity\" value=\"Interactivity\">\r\n <AccordionHeader expandIconPosition=\"end\">\r\n <Text size={500}>Interactivity</Text>\r\n </AccordionHeader>\r\n <AccordionPanel>\r\n <div className={classes.section}>\r\n <Button>Flow Graph</Button>\r\n </div>\r\n </AccordionPanel>\r\n </AccordionItem>\r\n </Accordion>\r\n </>\r\n );\r\n },\r\n });\r\n\r\n return {\r\n dispose: () => registration.dispose(),\r\n };\r\n },\r\n};\r\n\r\nexport default {\r\n serviceDefinitions: [CreationToolsServiceDefinition],\r\n} as const;\r\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;AACA,MAAM,SAAS,GAAG,UAAU,CAAC;AACzB,IAAA,OAAO,EAAE;AACL,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,MAAM,CAAC,gBAAgB;AAClC,KAAA;AACJ,CAAA,CAAC;AAEF;AACa,MAAA,8BAA8B,GAA0D;AACjG,IAAA,YAAY,EAAE,gBAAgB;AAC9B,IAAA,QAAQ,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;AACtD,IAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,KAAI;AACpC,QAAA,MAAM,YAAY,GAAG,YAAY,CAAC,WAAW,CAAC;AAC1C,YAAA,GAAG,EAAE,QAAQ;AACb,YAAA,KAAK,EAAE,QAAQ;AACf,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,kBAAkB,EAAE,MAAM;YAC1B,O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