@babylonjs/inspector 8.29.2 → 8.30.0-preview
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/captureService-BEferXko.js +186 -0
- package/lib/captureService-BEferXko.js.map +1 -0
- package/lib/exportService-DRm8glYV.js +232 -0
- package/lib/exportService-DRm8glYV.js.map +1 -0
- package/lib/importService-CUFQ5Mb2.js +168 -0
- package/lib/importService-CUFQ5Mb2.js.map +1 -0
- package/lib/index-BTXdoz_s.js +8488 -0
- package/lib/index-BTXdoz_s.js.map +1 -0
- package/lib/index.d.ts +68634 -0
- package/lib/index.js +104 -0
- package/lib/index.js.map +1 -0
- package/package.json +20 -35
- package/readme.md +14 -17
- package/dist/babylon.inspector.bundle.js +0 -3
- package/dist/babylon.inspector.bundle.js.LICENSE.txt +0 -72
- package/dist/babylon.inspector.bundle.js.map +0 -1
- package/dist/babylon.inspector.bundle.max.js +0 -3
- package/dist/babylon.inspector.module.d.ts +0 -9197
package/lib/index.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export { _ as Accordion, Z as AccordionSection, g as BoundProperty, i as BuiltInsExtensionFeed, $ as Button, B as ButtonLine, ak as CalculatePrecision, a0 as Checkbox, C as Collapse, aa as Color3GradientComponent, ar as Color3GradientList, ab as Color4GradientComponent, as as Color4GradientList, a1 as ColorPickerPopup, ac as ColorStepGradientComponent, a4 as ComboBox, K as ConstructorFactory, D as DebugServiceIdentity, a5 as DraggableLine, a6 as Dropdown, E as ExtensibleAccordion, a9 as FactorGradientComponent, aq as FactorGradientList, F as FileUploadLine, G as GetPropertyDescriptor, X as HideInspector, ad as InfoLabel, a2 as InputHexField, a3 as InputHsvField, Y as Inspector, I as InterceptFunction, J as InterceptProperty, V as IsInspectorVisible, H as IsPropertyReadonly, L as LinkToEntityPropertyLine, ae as List, z as MakeDialogTeachingMoment, M as MakeLazyComponent, A as MakePopoverTeachingMoment, n as MakePropertyHook, y as MakeTeachingMoment, af as MessageBar, a7 as NumberDropdown, at as Pane, P as PaneContainer, ag as PositionedPopover, b as PropertiesServiceIdentity, O as SceneContextIdentity, c as SceneExplorerServiceIdentity, ah as SearchBar, ai as SearchBox, R as SelectionServiceDefinition, Q as SelectionServiceIdentity, U as SettingsContextIdentity, d as SettingsServiceIdentity, f as ShellServiceIdentity, W as ShowInspector, aj as SpinButton, e as StatsServiceIdentity, a8 as StringDropdown, al as Switch, am as SyncedSliderInput, h as TeachingMoment, ao as TextInput, an as Textarea, ap as ToggleButton, T as ToolsServiceIdentity, x as useAngleConverters, w as useAsyncResource, k as useColor3Property, l as useColor4Property, p as useEventfulState, o as useInterceptObservable, r as useObservableCollection, q as useObservableState, s as useOrderedObservableCollection, t as usePollingObservable, u as useProperty, m as useQuaternionProperty, v as useResource, j as useVector3Property } from './index-BTXdoz_s.js';
|
|
2
|
+
export { Link } from '@fluentui/react-components';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@babylonjs/core/Maths/math.color.js';
|
|
6
|
+
import '@babylonjs/core/Maths/math.vector.js';
|
|
7
|
+
import '@babylonjs/core/Misc/observable.js';
|
|
8
|
+
import '@fluentui/react-icons';
|
|
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-resize-handle';
|
|
15
|
+
import '@fluentui-contrib/react-virtualizer';
|
|
16
|
+
import '@babylonjs/addons/msdfText/fontAsset.js';
|
|
17
|
+
import '@babylonjs/addons/msdfText/textRenderer.js';
|
|
18
|
+
import '@babylonjs/core/Debug/physicsViewer.js';
|
|
19
|
+
import '@babylonjs/core/Materials/Textures/texture.js';
|
|
20
|
+
import '@babylonjs/core/Materials/materialFlags.js';
|
|
21
|
+
import '@babylonjs/core/Materials/standardMaterial.js';
|
|
22
|
+
import '@babylonjs/core/Meshes/Builders/groundBuilder.js';
|
|
23
|
+
import '@babylonjs/core/Misc/tools.js';
|
|
24
|
+
import '@babylonjs/core/Rendering/utilityLayerRenderer.js';
|
|
25
|
+
import '@babylonjs/materials/grid/gridMaterial.js';
|
|
26
|
+
import '@babylonjs/core/Misc/dataStorage.js';
|
|
27
|
+
import '@babylonjs/core/Instrumentation/engineInstrumentation.js';
|
|
28
|
+
import '@babylonjs/core/Instrumentation/sceneInstrumentation.js';
|
|
29
|
+
import '@babylonjs/core/Engines/AbstractEngine/abstractEngine.timeQuery.js';
|
|
30
|
+
import '@babylonjs/core/Engines/Extensions/engine.query.js';
|
|
31
|
+
import '@babylonjs/core/Engines/WebGPU/Extensions/engine.query.js';
|
|
32
|
+
import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js';
|
|
33
|
+
import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerSceneExtension.js';
|
|
34
|
+
import '@babylonjs/core/Misc/pressureObserverWrapper.js';
|
|
35
|
+
import '@babylonjs/core/Engines/abstractEngine.js';
|
|
36
|
+
import '@babylonjs/core/Engines/engineStore.js';
|
|
37
|
+
import 'react-dom/client';
|
|
38
|
+
import '@babylonjs/core/Misc/logger.js';
|
|
39
|
+
import '@babylonjs/core/FrameGraph/frameGraphUtils.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/addons/atmosphere/atmosphere.js';
|
|
51
|
+
import '@babylonjs/core/Cameras/arcRotateCamera.js';
|
|
52
|
+
import '@babylonjs/core/Cameras/followCamera.js';
|
|
53
|
+
import '@babylonjs/core/Cameras/freeCamera.js';
|
|
54
|
+
import '@babylonjs/core/Cameras/targetCamera.js';
|
|
55
|
+
import '@babylonjs/core/scene.js';
|
|
56
|
+
import '@babylonjs/core/FrameGraph/frameGraph.js';
|
|
57
|
+
import '@babylonjs/core/Lights/directionalLight.js';
|
|
58
|
+
import '@babylonjs/core/Lights/hemisphericLight.js';
|
|
59
|
+
import '@babylonjs/core/Lights/pointLight.js';
|
|
60
|
+
import '@babylonjs/core/Lights/rectAreaLight.js';
|
|
61
|
+
import '@babylonjs/core/Lights/shadowLight.js';
|
|
62
|
+
import '@babylonjs/core/Lights/spotLight.js';
|
|
63
|
+
import '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';
|
|
64
|
+
import '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
|
|
65
|
+
import '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';
|
|
66
|
+
import '@babylonjs/core/Materials/material.js';
|
|
67
|
+
import '@babylonjs/core/Materials/multiMaterial.js';
|
|
68
|
+
import '@babylonjs/core/Materials/PBR/pbrBaseMaterial.js';
|
|
69
|
+
import '@babylonjs/core/Materials/PBR/pbrBaseSimpleMaterial.js';
|
|
70
|
+
import '@babylonjs/core/Materials/PBR/pbrMaterial.js';
|
|
71
|
+
import '@babylonjs/materials/sky/skyMaterial.js';
|
|
72
|
+
import '@babylonjs/core/Engines/engine.js';
|
|
73
|
+
import '@babylonjs/core/Engines/constants.js';
|
|
74
|
+
import '@babylonjs/core/Particles/particleSystem.js';
|
|
75
|
+
import '@babylonjs/core/Misc/fileTools.js';
|
|
76
|
+
import '@babylonjs/core/Meshes/mesh.js';
|
|
77
|
+
import '@babylonjs/core/Debug/skeletonViewer.js';
|
|
78
|
+
import '@babylonjs/core/Meshes/buffer.js';
|
|
79
|
+
import '@babylonjs/core/Meshes/Builders/linesBuilder.js';
|
|
80
|
+
import '@babylonjs/core/Meshes/instancedMesh.js';
|
|
81
|
+
import '@babylonjs/core/Rendering/renderingManager.js';
|
|
82
|
+
import '@babylonjs/core/Rendering/edgesRenderer.js';
|
|
83
|
+
import '@babylonjs/core/Rendering/outlineRenderer.js';
|
|
84
|
+
import '@babylonjs/core/Misc/gradients.js';
|
|
85
|
+
import '@babylonjs/core/Materials/Node/Blocks/gradientBlock.js';
|
|
86
|
+
import '@babylonjs/core/Particles/attractor.js';
|
|
87
|
+
import '@babylonjs/core/Meshes/Builders/sphereBuilder.js';
|
|
88
|
+
import '@babylonjs/core/Meshes/transformNode.js';
|
|
89
|
+
import '@babylonjs/core/Physics/v2/IPhysicsEnginePlugin.js';
|
|
90
|
+
import '@babylonjs/core/Physics/v2/physicsEngineComponent.js';
|
|
91
|
+
import '@babylonjs/core/PostProcesses/postProcess.js';
|
|
92
|
+
import '@babylonjs/core/Materials/Textures/cubeTexture.js';
|
|
93
|
+
import '@babylonjs/core/Materials/imageProcessingConfiguration.js';
|
|
94
|
+
import '@babylonjs/core/Bones/skeleton.js';
|
|
95
|
+
import '@babylonjs/core/Sprites/sprite.js';
|
|
96
|
+
import '@babylonjs/core/Materials/Textures/baseTexture.js';
|
|
97
|
+
import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
|
|
98
|
+
import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
|
|
99
|
+
import '@babylonjs/core/Materials/Textures/thinTexture.js';
|
|
100
|
+
import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js';
|
|
101
|
+
import '@babylonjs/core/Sprites/spriteSceneComponent.js';
|
|
102
|
+
import '@babylonjs/core/Materials/Textures/dynamicTexture.js';
|
|
103
|
+
import '@babylonjs/core/Events/pointerEvents.js';
|
|
104
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,59 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/inspector",
|
|
3
|
-
"version": "8.
|
|
4
|
-
"
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
3
|
+
"version": "8.30.0-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",
|
|
8
9
|
"files": [
|
|
9
|
-
"
|
|
10
|
+
"lib/**/*.js",
|
|
11
|
+
"lib/**/*.d.ts",
|
|
12
|
+
"lib/**/*.map",
|
|
10
13
|
"readme.md",
|
|
11
14
|
"license.md"
|
|
12
15
|
],
|
|
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
|
-
},
|
|
25
16
|
"peerDependencies": {
|
|
26
17
|
"@babylonjs/addons": "^8.0.0",
|
|
27
18
|
"@babylonjs/core": "^8.0.0",
|
|
28
19
|
"@babylonjs/gui": "^8.0.0",
|
|
29
|
-
"@babylonjs/gui-editor": "^8.0.0",
|
|
30
20
|
"@babylonjs/loaders": "^8.0.0",
|
|
31
21
|
"@babylonjs/materials": "^8.0.0",
|
|
32
22
|
"@babylonjs/serializers": "^8.0.0",
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"@babylonjs/addons": "^8.29.2",
|
|
38
|
-
"@babylonjs/core": "^8.29.2",
|
|
39
|
-
"@babylonjs/gui": "^8.29.2",
|
|
40
|
-
"@babylonjs/gui-editor": "^8.29.2",
|
|
41
|
-
"@babylonjs/loaders": "^8.29.2",
|
|
42
|
-
"@babylonjs/materials": "^8.29.2",
|
|
43
|
-
"@babylonjs/serializers": "^8.29.2",
|
|
44
|
-
"@lts/gui": "1.0.0",
|
|
23
|
+
"@fluentui-contrib/react-resize-handle": "^0.8.0",
|
|
24
|
+
"@fluentui-contrib/react-virtualizer": "^0.3.0",
|
|
25
|
+
"@fluentui/react-components": "^9.70.0",
|
|
26
|
+
"@fluentui/react-icons": "^2.0.310",
|
|
45
27
|
"react": "^18.2.0",
|
|
46
|
-
"react-dom": "^18.2.0"
|
|
28
|
+
"react-dom": "^18.2.0",
|
|
29
|
+
"usehooks-ts": "^3.1.1"
|
|
47
30
|
},
|
|
48
31
|
"keywords": [
|
|
49
32
|
"3D",
|
|
50
33
|
"javascript",
|
|
51
34
|
"html5",
|
|
52
35
|
"webgl",
|
|
53
|
-
"babylon.js"
|
|
36
|
+
"babylon.js",
|
|
37
|
+
"inspector",
|
|
38
|
+
"diagnostic",
|
|
39
|
+
"debug"
|
|
54
40
|
],
|
|
55
41
|
"license": "Apache-2.0",
|
|
56
|
-
"sideEffects": true,
|
|
57
42
|
"homepage": "https://www.babylonjs.com",
|
|
58
43
|
"repository": {
|
|
59
44
|
"type": "git",
|
|
@@ -62,4 +47,4 @@
|
|
|
62
47
|
"bugs": {
|
|
63
48
|
"url": "https://github.com/BabylonJS/Babylon.js/issues"
|
|
64
49
|
}
|
|
65
|
-
}
|
|
50
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BabylonJS Inspector
|
|
2
2
|
|
|
3
|
-
|
|
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.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Documentation and samples coming soon!
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Installation
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
npm install @babylonjs/core @babylonjs/inspector
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
# How to use
|
|
14
|
-
|
|
15
|
-
Afterwards it can be imported to your project using:
|
|
9
|
+
Install the package using npm:
|
|
16
10
|
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
import "@babylonjs/inspector";
|
|
11
|
+
```bash
|
|
12
|
+
npm install @babylonjs/inspector@preview
|
|
20
13
|
```
|
|
21
14
|
|
|
22
|
-
The
|
|
15
|
+
The simplest way to use the `Inspector` is to call the `ShowInspector` function, passing in your scene:
|
|
23
16
|
|
|
24
|
-
|
|
17
|
+
```ts
|
|
18
|
+
import { ShowInspector } from "@babylonjs/inspector";
|
|
25
19
|
|
|
26
|
-
|
|
20
|
+
// Your code that sets up a Babylon.js scene
|
|
21
|
+
|
|
22
|
+
ShowInspector(scene);
|
|
23
|
+
```
|