@babylonjs/inspector 9.0.0 → 9.1.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.
Files changed (278) hide show
  1. package/lib/components/curveEditor/bottomBar/rangeSelector.d.ts +6 -0
  2. package/lib/components/curveEditor/bottomBar.d.ts +6 -0
  3. package/lib/components/curveEditor/canvas/canvas.d.ts +6 -0
  4. package/lib/components/curveEditor/canvas/curve.d.ts +14 -0
  5. package/lib/components/curveEditor/canvas/curveData.d.ts +40 -0
  6. package/lib/components/curveEditor/canvas/frameBar.d.ts +12 -0
  7. package/lib/components/curveEditor/canvas/graph.d.ts +11 -0
  8. package/lib/components/curveEditor/canvas/keyPoint.d.ts +34 -0
  9. package/lib/components/curveEditor/canvas/playHead.d.ts +12 -0
  10. package/lib/components/curveEditor/canvas/rangeFrameBar.d.ts +10 -0
  11. package/lib/components/curveEditor/curveEditor.d.ts +29 -0
  12. package/lib/components/curveEditor/curveEditorButton.d.ts +31 -0
  13. package/lib/components/curveEditor/curveEditorColors.d.ts +56 -0
  14. package/lib/components/curveEditor/curveEditorContext.d.ts +267 -0
  15. package/lib/components/curveEditor/rangeSelector.d.ts +6 -0
  16. package/lib/components/curveEditor/sideBar/addAnimationPanel.d.ts +10 -0
  17. package/lib/components/curveEditor/sideBar/animationList.d.ts +6 -0
  18. package/lib/components/curveEditor/sideBar/editAnimationPanel.d.ts +12 -0
  19. package/lib/components/curveEditor/sideBar/loadAnimationPanel.d.ts +10 -0
  20. package/lib/components/curveEditor/sideBar/saveAnimationPanel.d.ts +10 -0
  21. package/lib/components/curveEditor/sideBar.d.ts +6 -0
  22. package/lib/components/curveEditor/topBar.d.ts +6 -0
  23. package/lib/components/debug/debugPane.d.ts +6 -0
  24. package/lib/components/errorBoundary.d.ts +31 -0
  25. package/lib/components/extensibleAccordion.d.ts +67 -0
  26. package/lib/components/gizmoToolbar.d.ts +7 -0
  27. package/lib/components/pane.d.ts +4 -0
  28. package/lib/components/performanceViewer/canvasGraph.d.ts +16 -0
  29. package/lib/components/performanceViewer/canvasGraphService.d.ts +238 -0
  30. package/lib/components/performanceViewer/graphSupportingTypes.d.ts +90 -0
  31. package/lib/components/performanceViewer/performanceSidebar.d.ts +10 -0
  32. package/lib/components/performanceViewer/performanceViewer.d.ts +15 -0
  33. package/lib/components/pickingToolbar.d.ts +11 -0
  34. package/lib/components/properties/animation/animationGroupProperties.d.ts +8 -0
  35. package/lib/components/properties/animation/animationsProperties.d.ts +21 -0
  36. package/lib/components/properties/animation/targetedAnimationProperties.d.ts +7 -0
  37. package/lib/components/properties/atmosphereProperties.d.ts +20 -0
  38. package/lib/components/properties/audio/soundProperties.d.ts +8 -0
  39. package/lib/components/properties/boundProperty.d.ts +80 -0
  40. package/lib/components/properties/cameras/arcRotateCameraProperties.d.ts +17 -0
  41. package/lib/components/properties/cameras/cameraProperties.d.ts +10 -0
  42. package/lib/components/properties/cameras/followCameraProperties.d.ts +8 -0
  43. package/lib/components/properties/cameras/freeCameraProperties.d.ts +11 -0
  44. package/lib/components/properties/cameras/geospatialCameraProperties.d.ts +11 -0
  45. package/lib/components/properties/cameras/targetCameraProperties.d.ts +8 -0
  46. package/lib/components/properties/commonGeneralProperties.d.ts +16 -0
  47. package/lib/components/properties/frameGraph/frameGraphProperties.d.ts +8 -0
  48. package/lib/components/properties/generateCopyString.d.ts +7 -0
  49. package/lib/components/properties/lights/areaLightProperties.d.ts +5 -0
  50. package/lib/components/properties/lights/clusteredLightContainerProperties.d.ts +10 -0
  51. package/lib/components/properties/lights/directionalLightProperties.d.ts +8 -0
  52. package/lib/components/properties/lights/hemisphericLightProperties.d.ts +5 -0
  53. package/lib/components/properties/lights/lightProperties.d.ts +7 -0
  54. package/lib/components/properties/lights/pointLightProperties.d.ts +5 -0
  55. package/lib/components/properties/lights/shadowGeneratorProperties.d.ts +6 -0
  56. package/lib/components/properties/lights/shadowLightProperties.d.ts +5 -0
  57. package/lib/components/properties/lights/spotLightProperties.d.ts +5 -0
  58. package/lib/components/properties/linkToEntityPropertyLine.d.ts +27 -0
  59. package/lib/components/properties/materials/materialProperties.d.ts +11 -0
  60. package/lib/components/properties/materials/multiMaterialProperties.d.ts +7 -0
  61. package/lib/components/properties/materials/nodeMaterialProperties.d.ts +8 -0
  62. package/lib/components/properties/materials/normalMapProperties.d.ts +19 -0
  63. package/lib/components/properties/materials/openpbrMaterialProperties.d.ts +61 -0
  64. package/lib/components/properties/materials/pbrBaseMaterialProperties.d.ts +285 -0
  65. package/lib/components/properties/materials/skyMaterialProperties.d.ts +5 -0
  66. package/lib/components/properties/materials/standardMaterialProperties.d.ts +29 -0
  67. package/lib/components/properties/metadataProperties.d.ts +12 -0
  68. package/lib/components/properties/nodes/abstractMeshProperties.d.ts +27 -0
  69. package/lib/components/properties/nodes/gaussianSplattingProperties.d.ts +5 -0
  70. package/lib/components/properties/nodes/meshProperties.d.ts +11 -0
  71. package/lib/components/properties/nodes/nodeProperties.d.ts +7 -0
  72. package/lib/components/properties/particles/attractor.d.ts +23 -0
  73. package/lib/components/properties/particles/attractorAdapter.d.ts +56 -0
  74. package/lib/components/properties/particles/attractorList.d.ts +15 -0
  75. package/lib/components/properties/particles/attractorProperties.d.ts +11 -0
  76. package/lib/components/properties/particles/colorProperties.d.ts +11 -0
  77. package/lib/components/properties/particles/commandsProperties.d.ts +13 -0
  78. package/lib/components/properties/particles/emissionProperties.d.ts +11 -0
  79. package/lib/components/properties/particles/emitterProperties.d.ts +13 -0
  80. package/lib/components/properties/particles/lifetimeProperties.d.ts +11 -0
  81. package/lib/components/properties/particles/nodeEditorProperties.d.ts +12 -0
  82. package/lib/components/properties/particles/rotationProperties.d.ts +11 -0
  83. package/lib/components/properties/particles/sizeProperties.d.ts +11 -0
  84. package/lib/components/properties/particles/spritesheetProperties.d.ts +11 -0
  85. package/lib/components/properties/particles/systemProperties.d.ts +13 -0
  86. package/lib/components/properties/physics/physicsProperties.d.ts +6 -0
  87. package/lib/components/properties/postProcesses/postProcessProperties.d.ts +10 -0
  88. package/lib/components/properties/propertiesPane.d.ts +2 -0
  89. package/lib/components/properties/renderingPipelines/defaultRenderingPipelineProperties.d.ts +23 -0
  90. package/lib/components/properties/renderingPipelines/iblShadowsRenderPipelineProperties.d.ts +11 -0
  91. package/lib/components/properties/renderingPipelines/lensRenderingPipelineProperties.d.ts +8 -0
  92. package/lib/components/properties/renderingPipelines/postProcessRenderPipelineProperties.d.ts +5 -0
  93. package/lib/components/properties/renderingPipelines/ssao2RenderingPipelineProperties.d.ts +8 -0
  94. package/lib/components/properties/renderingPipelines/ssaoRenderingPipelineProperties.d.ts +5 -0
  95. package/lib/components/properties/renderingPipelines/ssrRenderingPipelineProperties.d.ts +17 -0
  96. package/lib/components/properties/skeleton/boneProperties.d.ts +7 -0
  97. package/lib/components/properties/skeleton/skeletonProperties.d.ts +8 -0
  98. package/lib/components/properties/sprites/spriteManagerProperties.d.ts +25 -0
  99. package/lib/components/properties/sprites/spriteProperties.d.ts +19 -0
  100. package/lib/components/properties/textures/advancedDynamicTextureProperties.d.ts +11 -0
  101. package/lib/components/properties/textures/baseTextureProperties.d.ts +16 -0
  102. package/lib/components/properties/textures/cubeTextureProperties.d.ts +5 -0
  103. package/lib/components/properties/textures/multiRenderTargetProperties.d.ts +5 -0
  104. package/lib/components/properties/textures/renderTargetTextureProperties.d.ts +5 -0
  105. package/lib/components/properties/textures/textureFormatUtils.d.ts +48 -0
  106. package/lib/components/properties/textures/texturePreview.d.ts +17 -0
  107. package/lib/components/properties/textures/textureProperties.d.ts +11 -0
  108. package/lib/components/properties/textures/thinTextureProperties.d.ts +8 -0
  109. package/lib/components/properties/transformProperties.d.ts +11 -0
  110. package/lib/components/scene/sceneExplorer.d.ts +182 -0
  111. package/lib/components/scene/sceneExplorerDragDrop.d.ts +38 -0
  112. package/lib/components/scene/sceneProperties.d.ts +19 -0
  113. package/lib/components/stats/countStats.d.ts +5 -0
  114. package/lib/components/stats/frameStepStats.d.ts +8 -0
  115. package/lib/components/stats/performanceStats.d.ts +6 -0
  116. package/lib/components/stats/statsPane.d.ts +3 -0
  117. package/lib/components/stats/systemStats.d.ts +5 -0
  118. package/lib/components/teachingMoment.d.ts +20 -0
  119. package/lib/components/textureEditor/canvasManager.d.ts +113 -0
  120. package/lib/components/textureEditor/canvasShader.d.ts +10 -0
  121. package/lib/components/textureEditor/channels.d.ts +25 -0
  122. package/lib/components/textureEditor/properties.d.ts +23 -0
  123. package/lib/components/textureEditor/status.d.ts +13 -0
  124. package/lib/components/textureEditor/textureEditor.d.ts +113 -0
  125. package/lib/components/textureEditor/tools.d.ts +20 -0
  126. package/lib/components/theme.d.ts +10 -0
  127. package/lib/components/tools/capture/equirectangularCaptureTool.d.ts +5 -0
  128. package/lib/components/tools/capture/gifCaptureTool.d.ts +7 -0
  129. package/lib/components/tools/capture/sceneReplayTool.d.ts +5 -0
  130. package/lib/components/tools/capture/screenshotTool.d.ts +5 -0
  131. package/lib/components/tools/capture/videoCaptureTool.d.ts +5 -0
  132. package/lib/components/tools/exportTools.d.ts +11 -0
  133. package/lib/components/tools/import/gltfAnimationImportTool.d.ts +5 -0
  134. package/lib/components/tools/import/gltfLoaderOptionsTool.d.ts +8 -0
  135. package/lib/components/tools/import/gltfValidationTool.d.ts +5 -0
  136. package/lib/components/tools/reflectorTools.d.ts +5 -0
  137. package/lib/components/tools/toolsPane.d.ts +3 -0
  138. package/lib/components/uxContextProvider.d.ts +2 -0
  139. package/lib/contexts/extensionManagerContext.d.ts +6 -0
  140. package/lib/contexts/propertyContext.d.ts +30 -0
  141. package/lib/contexts/settingsContext.d.ts +3 -0
  142. package/lib/contexts/watcherContext.d.ts +3 -0
  143. package/lib/extensibility/builtInsExtensionFeed.d.ts +21 -0
  144. package/lib/extensibility/defaultInspectorExtensionFeed.d.ts +5 -0
  145. package/lib/extensibility/extensionFeed.d.ts +113 -0
  146. package/lib/extensibility/extensionManager.d.ts +111 -0
  147. package/lib/extensions/quickCreate/cameras.d.ts +14 -0
  148. package/lib/extensions/quickCreate/frameGraphs.d.ts +14 -0
  149. package/lib/extensions/quickCreate/lights.d.ts +14 -0
  150. package/lib/extensions/quickCreate/materials.d.ts +14 -0
  151. package/lib/extensions/quickCreate/meshes.d.ts +10 -0
  152. package/lib/extensions/quickCreate/particles.d.ts +15 -0
  153. package/lib/extensions/quickCreate/quickCreateLayout.d.ts +44 -0
  154. package/lib/extensions/quickCreate/quickCreateToolsService.d.ts +11 -0
  155. package/lib/extensions/quickCreate/renderingPipelines.d.ts +14 -0
  156. package/lib/extensions/quickCreate/settingsPopover.d.ts +14 -0
  157. package/lib/extensions/quickCreate/spriteManagers.d.ts +14 -0
  158. package/lib/{extensionsListService-zYdKn8uM.js → extensionsListService-BmiNjZiw.js} +7 -7
  159. package/lib/extensionsListService-BmiNjZiw.js.map +1 -0
  160. package/lib/hooks/compoundPropertyHooks.d.ts +24 -0
  161. package/lib/hooks/instrumentationHooks.d.ts +9 -0
  162. package/lib/hooks/observableHooks.d.ts +35 -0
  163. package/lib/hooks/pollingHooks.d.ts +7 -0
  164. package/lib/hooks/resourceHooks.d.ts +20 -0
  165. package/lib/hooks/settingsHooks.d.ts +13 -0
  166. package/lib/hooks/teachingMomentHooks.d.ts +34 -0
  167. package/lib/hooks/themeHooks.d.ts +17 -0
  168. package/lib/hooks/useObservableArray.d.ts +11 -0
  169. package/lib/hooks/useResizeHandle.d.ts +35 -0
  170. package/lib/{index-DuVF9zYN.js → index-BCbXjPTn.js} +791 -758
  171. package/lib/index-BCbXjPTn.js.map +1 -0
  172. package/lib/index.d.ts +108 -74767
  173. package/lib/index.js +5 -5
  174. package/lib/inspector.d.ts +41 -0
  175. package/lib/instrumentation/functionInstrumentation.d.ts +20 -0
  176. package/lib/instrumentation/propertyInstrumentation.d.ts +33 -0
  177. package/lib/legacy/debugLayer.d.ts +24 -0
  178. package/lib/legacy/inspectableCustomPropertiesService.d.ts +3 -0
  179. package/lib/legacy/inspector.d.ts +39 -0
  180. package/lib/legacy/legacy.d.ts +9 -0
  181. package/lib/legacy/propertiesSectionMapping.d.ts +99 -0
  182. package/lib/misc/arrayUtils.d.ts +4 -0
  183. package/lib/misc/assert.d.ts +5 -0
  184. package/lib/misc/graphUtils.d.ts +44 -0
  185. package/lib/misc/nodeGeometryEditor.d.ts +3 -0
  186. package/lib/misc/nodeMaterialEditor.d.ts +2 -0
  187. package/lib/misc/nodeParticleEditor.d.ts +2 -0
  188. package/lib/misc/nodeRenderGraphEditor.d.ts +2 -0
  189. package/lib/misc/observableCollection.d.ts +23 -0
  190. package/lib/misc/snippetUtils.d.ts +74 -0
  191. package/lib/misc/textureTools.d.ts +34 -0
  192. package/lib/modularTool.d.ts +37 -0
  193. package/lib/modularity/serviceContainer.d.ts +41 -0
  194. package/lib/modularity/serviceDefinition.d.ts +64 -0
  195. package/lib/{quickCreateToolsService-BtsSLeMY.js → quickCreateToolsService-BoqrJqoM.js} +6 -6
  196. package/lib/quickCreateToolsService-BoqrJqoM.js.map +1 -0
  197. package/lib/{reflectorService-Bzs-Ykos.js → reflectorService-CFTva2GG.js} +6 -6
  198. package/lib/reflectorService-CFTva2GG.js.map +1 -0
  199. package/lib/services/defaultToolbarMetadata.d.ts +5 -0
  200. package/lib/services/extensionsListService.d.ts +3 -0
  201. package/lib/services/gizmoService.d.ts +84 -0
  202. package/lib/services/gizmoToolbarService.d.ts +5 -0
  203. package/lib/services/globalSettings.d.ts +5 -0
  204. package/lib/services/highlightService.d.ts +8 -0
  205. package/lib/services/miniStatsService.d.ts +4 -0
  206. package/lib/services/panes/debugService.d.ts +25 -0
  207. package/lib/services/panes/properties/animationGroupPropertiesService.d.ts +4 -0
  208. package/lib/services/panes/properties/animationPropertiesService.d.ts +5 -0
  209. package/lib/services/panes/properties/atmospherePropertiesService.d.ts +5 -0
  210. package/lib/services/panes/properties/audioPropertiesService.d.ts +3 -0
  211. package/lib/services/panes/properties/cameraPropertiesService.d.ts +7 -0
  212. package/lib/services/panes/properties/commonPropertiesService.d.ts +3 -0
  213. package/lib/services/panes/properties/effectLayerPropertiesService.d.ts +3 -0
  214. package/lib/services/panes/properties/frameGraphPropertiesService.d.ts +3 -0
  215. package/lib/services/panes/properties/lightPropertiesServices.d.ts +4 -0
  216. package/lib/services/panes/properties/materialPropertiesService.d.ts +4 -0
  217. package/lib/services/panes/properties/metadataPropertiesService.d.ts +3 -0
  218. package/lib/services/panes/properties/nodePropertiesService.d.ts +4 -0
  219. package/lib/services/panes/properties/particleSystemPropertiesService.d.ts +4 -0
  220. package/lib/services/panes/properties/physicsPropertiesService.d.ts +3 -0
  221. package/lib/services/panes/properties/postProcessPropertiesService.d.ts +3 -0
  222. package/lib/services/panes/properties/propertiesService.d.ts +53 -0
  223. package/lib/services/panes/properties/renderingPipelinePropertiesService.d.ts +3 -0
  224. package/lib/services/panes/properties/scenePropertiesService.d.ts +4 -0
  225. package/lib/services/panes/properties/skeletonPropertiesService.d.ts +4 -0
  226. package/lib/services/panes/properties/spritePropertiesService.d.ts +4 -0
  227. package/lib/services/panes/properties/texturePropertiesService.d.ts +4 -0
  228. package/lib/services/panes/properties/transformPropertiesService.d.ts +3 -0
  229. package/lib/services/panes/scene/animationGroupExplorerService.d.ts +5 -0
  230. package/lib/services/panes/scene/atmosphereExplorerService.d.ts +5 -0
  231. package/lib/services/panes/scene/defaultSectionsMetadata.d.ts +33 -0
  232. package/lib/services/panes/scene/disposableCommandService.d.ts +4 -0
  233. package/lib/services/panes/scene/effectLayersExplorerService.d.ts +5 -0
  234. package/lib/services/panes/scene/frameGraphExplorerService.d.ts +5 -0
  235. package/lib/services/panes/scene/guiExplorerService.d.ts +5 -0
  236. package/lib/services/panes/scene/materialExplorerService.d.ts +5 -0
  237. package/lib/services/panes/scene/nodeExplorerService.d.ts +7 -0
  238. package/lib/services/panes/scene/particleSystemExplorerService.d.ts +5 -0
  239. package/lib/services/panes/scene/postProcessExplorerService.d.ts +5 -0
  240. package/lib/services/panes/scene/renderingPipelinesExplorerService.d.ts +5 -0
  241. package/lib/services/panes/scene/sceneExplorerService.d.ts +34 -0
  242. package/lib/services/panes/scene/skeletonExplorerService.d.ts +5 -0
  243. package/lib/services/panes/scene/soundExplorerService.d.ts +5 -0
  244. package/lib/services/panes/scene/spriteManagerExplorerService.d.ts +6 -0
  245. package/lib/services/panes/scene/texturesExplorerService.d.ts +5 -0
  246. package/lib/services/panes/settingsService.d.ts +25 -0
  247. package/lib/services/panes/statsService.d.ts +28 -0
  248. package/lib/services/panes/tools/captureService.d.ts +3 -0
  249. package/lib/services/panes/tools/exportService.d.ts +3 -0
  250. package/lib/services/panes/tools/import/gltfAnimationImportService.d.ts +3 -0
  251. package/lib/services/panes/tools/import/gltfLoaderOptionsDefaults.d.ts +46 -0
  252. package/lib/services/panes/tools/import/gltfLoaderOptionsService.d.ts +4 -0
  253. package/lib/services/panes/tools/import/gltfValidationService.d.ts +3 -0
  254. package/lib/services/panes/tools/reflectorService.d.ts +7 -0
  255. package/lib/services/panes/toolsService.d.ts +29 -0
  256. package/lib/services/pickingService.d.ts +7 -0
  257. package/lib/services/reactContextService.d.ts +18 -0
  258. package/lib/services/sceneContext.d.ts +19 -0
  259. package/lib/services/selectionService.d.ts +24 -0
  260. package/lib/services/settingsStore.d.ts +55 -0
  261. package/lib/services/shellService.d.ts +256 -0
  262. package/lib/services/shellSettingsService.d.ts +3 -0
  263. package/lib/services/textureEditor/textureEditorService.d.ts +21 -0
  264. package/lib/services/textureEditor/tools/contrast.d.ts +2 -0
  265. package/lib/services/textureEditor/tools/eyedropper.d.ts +5 -0
  266. package/lib/services/textureEditor/tools/floodfill.d.ts +5 -0
  267. package/lib/services/textureEditor/tools/paintbrush.d.ts +2 -0
  268. package/lib/services/textureEditor/tools/rectangularSelect.d.ts +5 -0
  269. package/lib/services/themeSelectorService.d.ts +3 -0
  270. package/lib/services/themeService.d.ts +60 -0
  271. package/lib/services/userFeedbackService.d.ts +3 -0
  272. package/lib/services/watcherService.d.ts +38 -0
  273. package/lib/themes/babylonTheme.d.ts +3 -0
  274. package/package.json +2 -2
  275. package/lib/extensionsListService-zYdKn8uM.js.map +0 -1
  276. package/lib/index-DuVF9zYN.js.map +0 -1
  277. package/lib/quickCreateToolsService-BtsSLeMY.js.map +0 -1
  278. package/lib/reflectorService-Bzs-Ykos.js.map +0 -1
@@ -0,0 +1,182 @@
1
+ import { type ComponentType, type FunctionComponent } from "react";
2
+ import { type IDisposable, type IReadonlyObservable, type Nullable, type Scene } from "@babylonjs/core/index.js";
3
+ /**
4
+ * Information about how to display an entity in the Scene Explorer tree.
5
+ */
6
+ export type EntityDisplayInfo = Partial<IDisposable> & Readonly<{
7
+ /**
8
+ * The name of the entity to display in the Scene Explorer tree.
9
+ */
10
+ name: string;
11
+ /**
12
+ * An observable that notifies when the display info (such as the name) changes.
13
+ */
14
+ onChange?: IReadonlyObservable<void>;
15
+ }>;
16
+ /**
17
+ * Configuration for drag-and-drop behavior within a section.
18
+ */
19
+ export type SceneExplorerDragDropConfig<T> = Readonly<{
20
+ /**
21
+ * Determines whether an entity can be dragged.
22
+ * @param entity The entity to check.
23
+ * @returns True if the entity can be dragged, false otherwise.
24
+ */
25
+ canDrag: (entity: T) => boolean;
26
+ /**
27
+ * Determines whether an entity can be dropped onto a target.
28
+ * @param draggedEntity The entity being dragged.
29
+ * @param targetEntity The potential drop target entity, or null if dropping onto the section root.
30
+ * @returns True if the drop is allowed, false otherwise.
31
+ */
32
+ canDrop: (draggedEntity: T, targetEntity: T | null) => boolean;
33
+ /**
34
+ * Called when a drag-and-drop operation completes.
35
+ * @param draggedEntity The entity that was dragged.
36
+ * @param targetEntity The entity it was dropped onto, or null if dropped onto the section root.
37
+ */
38
+ onDrop: (draggedEntity: T, targetEntity: T | null) => void;
39
+ }>;
40
+ /**
41
+ * Describes a section in the Scene Explorer (e.g. "Nodes", "Materials", etc.).
42
+ */
43
+ export type SceneExplorerSection<T extends object> = Readonly<{
44
+ /**
45
+ * The display name of the section (e.g. "Nodes", "Materials", etc.).
46
+ */
47
+ displayName: string;
48
+ /**
49
+ * An optional order for the section, relative to other sections.
50
+ * Defaults to 0.
51
+ */
52
+ order?: number;
53
+ /**
54
+ * A function that returns the root entities for this section.
55
+ */
56
+ getRootEntities: () => readonly T[];
57
+ /**
58
+ * An optional function that returns the children of a given entity.
59
+ */
60
+ getEntityChildren?: (entity: T) => readonly T[];
61
+ /**
62
+ * Gets the display information for a given entity.
63
+ * This is ideally "live" display info (e.g. updates to the display info are taken into account and communicated via the observable).
64
+ * This means in many cases the display info will need to be disposed when it is no longer needed so observable registrations can be removed.
65
+ */
66
+ getEntityDisplayInfo: (entity: T) => EntityDisplayInfo;
67
+ /**
68
+ * An optional icon component to render for the entity.
69
+ */
70
+ entityIcon?: ComponentType<{
71
+ entity: T;
72
+ }>;
73
+ /**
74
+ * A function that returns an array of observables for when entities are added to the scene.
75
+ */
76
+ getEntityAddedObservables: () => readonly IReadonlyObservable<T>[];
77
+ /**
78
+ * A function that returns an array of observables for when entities are removed from the scene.
79
+ */
80
+ getEntityRemovedObservables: () => readonly IReadonlyObservable<T>[];
81
+ /**
82
+ * A function that returns an array of observables for when entities are moved (e.g. re-parented) within the scene.
83
+ */
84
+ getEntityMovedObservables?: () => readonly IReadonlyObservable<T>[];
85
+ /**
86
+ * Optional configuration for drag-and-drop behavior within this section.
87
+ * If not provided, drag-and-drop is disabled for this section.
88
+ */
89
+ dragDropConfig?: SceneExplorerDragDropConfig<T>;
90
+ }>;
91
+ type InlineCommand = {
92
+ /**
93
+ * An icon component to render for the command. Required for inline commands.
94
+ */
95
+ icon: ComponentType;
96
+ /**
97
+ * The mode of the command. Inline commands are shown directly in the tree item layout. Inline by default.
98
+ */
99
+ mode?: "inline";
100
+ };
101
+ type ContextMenuCommand = {
102
+ /**
103
+ * An icon component to render for the command. Optional for context menu commands.
104
+ */
105
+ icon?: ComponentType;
106
+ /**
107
+ * The mode of the command. Context menu commands are shown in the context menu for the tree item.
108
+ */
109
+ mode: "contextMenu";
110
+ };
111
+ type CommandMode = NonNullable<(InlineCommand | ContextMenuCommand)["mode"]>;
112
+ type ActionCommand = {
113
+ readonly type: "action";
114
+ /**
115
+ * The function that executes the command.
116
+ */
117
+ execute(): unknown | Promise<unknown>;
118
+ };
119
+ type ToggleCommand = {
120
+ readonly type: "toggle";
121
+ /**
122
+ * A boolean indicating if the command is enabled.
123
+ */
124
+ isEnabled: boolean;
125
+ };
126
+ type CommandType = (ActionCommand | ToggleCommand)["type"];
127
+ /**
128
+ * Describes a command that can be executed on entities or sections in the Scene Explorer.
129
+ */
130
+ export type SceneExplorerCommand<ModeT extends CommandMode = CommandMode, TypeT extends CommandType = CommandType> = Partial<IDisposable> & Readonly<{
131
+ /**
132
+ * The display name of the command (e.g. "Delete", "Rename", etc.).
133
+ */
134
+ displayName: string;
135
+ /**
136
+ * An optional array of hotkeys that trigger the command.
137
+ */
138
+ hotKey?: {
139
+ keyCode: string;
140
+ control?: boolean;
141
+ alt?: boolean;
142
+ shift?: boolean;
143
+ meta?: boolean;
144
+ };
145
+ /**
146
+ * An observable that notifies when the command state changes.
147
+ */
148
+ onChange?: IReadonlyObservable<unknown>;
149
+ }> & (ModeT extends "inline" ? InlineCommand : ContextMenuCommand) & (TypeT extends "action" ? ActionCommand : ToggleCommand);
150
+ /**
151
+ * Provides a command for a specific entity or section context in the Scene Explorer.
152
+ */
153
+ export type SceneExplorerCommandProvider<ContextT, ModeT extends CommandMode = CommandMode, TypeT extends CommandType = CommandType> = Readonly<{
154
+ /**
155
+ * An optional order for the section, relative to other commands.
156
+ * Defaults to 0.
157
+ */
158
+ order?: number;
159
+ /**
160
+ * A predicate function that determines if the command is applicable to the given context.
161
+ */
162
+ predicate: (context: unknown) => context is ContextT;
163
+ /**
164
+ * Gets the command information for the given context.
165
+ */
166
+ getCommand: (context: ContextT) => SceneExplorerCommand<ModeT, TypeT>;
167
+ }>;
168
+ declare const ActionCommand: FunctionComponent<{
169
+ command: SceneExplorerCommand<"inline", "action">;
170
+ }>;
171
+ declare const ToggleCommand: FunctionComponent<{
172
+ command: SceneExplorerCommand<"inline", "toggle">;
173
+ }>;
174
+ export declare const SceneExplorer: FunctionComponent<{
175
+ sections: readonly SceneExplorerSection<object>[];
176
+ entityCommandProviders: readonly SceneExplorerCommandProvider<object>[];
177
+ sectionCommandProviders: readonly SceneExplorerCommandProvider<string, "contextMenu">[];
178
+ scene: Scene;
179
+ selectedEntity?: Nullable<object>;
180
+ setSelectedEntity?: (entity: Nullable<object>) => void;
181
+ }>;
182
+ export {};
@@ -0,0 +1,38 @@
1
+ import { type DragEvent } from "react";
2
+ import { type SceneExplorerDragDropConfig } from "./sceneExplorer";
3
+ /**
4
+ * Props for drop-only event handlers on a section header.
5
+ */
6
+ export type DropProps = {
7
+ onDragOver: (e: DragEvent) => void;
8
+ onDragLeave: (e: DragEvent) => void;
9
+ onDrop: (e: DragEvent) => void;
10
+ };
11
+ /**
12
+ * Props for drag-drop event handlers on a tree item.
13
+ */
14
+ export type DragDropProps = {
15
+ draggable: boolean;
16
+ onDragStart: (e: DragEvent) => void;
17
+ onDragEnd: (e: DragEvent) => void;
18
+ } & DropProps;
19
+ /**
20
+ * Options for the drag-drop hook.
21
+ */
22
+ export type SceneExplorerDragDropOptions = {
23
+ /** Called after a successful drop with the dragged entity and target (entity or null for section root). */
24
+ onDrop?: (draggedEntity: object, targetEntity: object | null) => void;
25
+ };
26
+ /**
27
+ * Hook that provides drag-drop functionality for the scene explorer.
28
+ * Uses vanilla HTML5 drag and drop APIs.
29
+ * @param options Optional callbacks for drag-drop events.
30
+ * @returns State and props factory for drag-drop functionality.
31
+ */
32
+ export declare function useSceneExplorerDragDrop(options?: SceneExplorerDragDropOptions): {
33
+ draggedEntity: object | undefined;
34
+ dropTarget: object | undefined;
35
+ dropTargetIsRoot: boolean;
36
+ createDragProps: (entity: object, getName: () => string, dragDropConfig?: SceneExplorerDragDropConfig<object>) => DragDropProps;
37
+ createSectionDropProps: (dragDropConfig: SceneExplorerDragDropConfig<object> | undefined) => DropProps;
38
+ };
@@ -0,0 +1,19 @@
1
+ import { Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ export declare const SceneMaterialImageProcessingProperties: FunctionComponent<{
5
+ scene: Scene;
6
+ }>;
7
+ export declare const ScenePhysicsProperties: FunctionComponent<{
8
+ scene: Scene;
9
+ }>;
10
+ export declare const SceneCollisionsProperties: FunctionComponent<{
11
+ scene: Scene;
12
+ }>;
13
+ export declare const SceneShadowsProperties: FunctionComponent<{
14
+ scene: Scene;
15
+ }>;
16
+ export declare const SceneRenderingProperties: FunctionComponent<{
17
+ scene: Scene;
18
+ selectionService: ISelectionService;
19
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/index.js";
3
+ export declare const CountStats: FunctionComponent<{
4
+ context: Scene;
5
+ }>;
@@ -0,0 +1,8 @@
1
+ import { type Scene } from "@babylonjs/core/index.js";
2
+ import { type FunctionComponent } from "react";
3
+ import "@babylonjs/core/Engines/AbstractEngine/abstractEngine.timeQuery.js";
4
+ import "@babylonjs/core/Engines/Extensions/engine.query.js";
5
+ import "@babylonjs/core/Engines/WebGPU/Extensions/engine.query.js";
6
+ export declare const FrameStepsStats: FunctionComponent<{
7
+ context: Scene;
8
+ }>;
@@ -0,0 +1,6 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/index.js";
3
+ import "@babylonjs/core/Misc/PerformanceViewer/performanceViewerSceneExtension.js";
4
+ export declare const PerformanceStats: FunctionComponent<{
5
+ context: Scene;
6
+ }>;
@@ -0,0 +1,3 @@
1
+ import { type Scene } from "@babylonjs/core/index.js";
2
+ import { ExtensibleAccordion } from "../extensibleAccordion";
3
+ export declare const StatsPane: typeof ExtensibleAccordion<Scene>;
@@ -0,0 +1,5 @@
1
+ import { type Scene } from "@babylonjs/core/index.js";
2
+ import { type FunctionComponent } from "react";
3
+ export declare const SystemStats: FunctionComponent<{
4
+ context: Scene;
5
+ }>;
@@ -0,0 +1,20 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type MakePopoverTeachingMoment } from "../hooks/teachingMomentHooks";
3
+ /**
4
+ * The state returned by the teaching moment hook.
5
+ */
6
+ type TeachingMomentState = ReturnType<ReturnType<typeof MakePopoverTeachingMoment>>;
7
+ /**
8
+ * Props for the {@link TeachingMoment} component.
9
+ */
10
+ type TeachingMomentProps = Pick<TeachingMomentState, "shouldDisplay" | "positioningRef" | "onOpenChange"> & {
11
+ title: string;
12
+ description: string;
13
+ };
14
+ /**
15
+ * A component that displays a teaching moment popover.
16
+ * @param props Props for the teaching moment popover.
17
+ * @returns The teaching moment popover.
18
+ */
19
+ export declare const TeachingMoment: FunctionComponent<TeachingMomentProps>;
20
+ export {};
@@ -0,0 +1,113 @@
1
+ import { type BaseTexture, type ISize, type Nullable, type PointerInfo } from "@babylonjs/core/index.js";
2
+ import { type Channel } from "./channels";
3
+ import { type IMetadata } from "./textureEditor";
4
+ import { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
5
+ import { Scene } from "@babylonjs/core/scene.js";
6
+ export type CanvasManagerTool = {
7
+ readonly is3D: boolean;
8
+ activate(): void;
9
+ deactivate(): void;
10
+ reset(): void;
11
+ };
12
+ export interface IPixelData {
13
+ x?: number;
14
+ y?: number;
15
+ r?: number;
16
+ g?: number;
17
+ b?: number;
18
+ a?: number;
19
+ }
20
+ export declare class TextureCanvasManager {
21
+ private readonly _engine;
22
+ private readonly _scene;
23
+ private readonly _camera;
24
+ private readonly _cameraPos;
25
+ private _scale;
26
+ private _isPanning;
27
+ private _mouseX;
28
+ private _mouseY;
29
+ private readonly _uiCanvas;
30
+ private _size;
31
+ /** The canvas we paint onto using the canvas API */
32
+ private readonly _2DCanvas;
33
+ /** The canvas we apply post processes to */
34
+ private readonly _3DCanvas;
35
+ /** The canvas which handles channel filtering */
36
+ private readonly _channelsTexture;
37
+ private readonly _3DEngine;
38
+ private readonly _3DPlane;
39
+ private readonly _3DCanvasTexture;
40
+ private readonly _3DScene;
41
+ private _channels;
42
+ private _face;
43
+ private _mipLevel;
44
+ /** The texture from the original engine that we invoked the editor on */
45
+ private readonly _originalTexture;
46
+ /** This is a hidden texture which is only responsible for holding the actual texture memory in the original engine */
47
+ private _target;
48
+ private readonly _originalTextureProperties;
49
+ /** Keeps track of whether we have modified the texture */
50
+ private _didEdit;
51
+ private _plane;
52
+ private readonly _planeMaterial;
53
+ /** Tracks which keys are currently pressed */
54
+ private _keyMap;
55
+ /** Tracks which mouse buttons are currently pressed */
56
+ private _buttonsPressed;
57
+ private readonly ZOOM_MOUSE_SPEED;
58
+ private readonly ZOOM_KEYBOARD_SPEED;
59
+ private readonly ZOOM_IN_KEY;
60
+ private readonly ZOOM_OUT_KEY;
61
+ private readonly PAN_SPEED;
62
+ private readonly PAN_KEY;
63
+ private readonly MIN_SCALE;
64
+ private readonly GRID_SCALE;
65
+ private readonly MAX_SCALE;
66
+ private readonly SELECT_ALL_KEY;
67
+ private readonly SAVE_KEY;
68
+ private readonly RESET_KEY;
69
+ private readonly DESELECT_KEY;
70
+ /** The number of milliseconds between texture updates */
71
+ private readonly PUSH_FREQUENCY;
72
+ private _tool;
73
+ private _setPixelData;
74
+ private _setMipLevel;
75
+ private readonly _window;
76
+ private _metadata;
77
+ private _editing3D;
78
+ private readonly _onUpdate;
79
+ private _setMetadata;
80
+ private _imageData;
81
+ private _canPush;
82
+ private _shouldPush;
83
+ private readonly _paintCanvas;
84
+ constructor(texture: BaseTexture, window: Window, canvasUI: HTMLCanvasElement, canvas2D: HTMLCanvasElement, canvas3D: HTMLCanvasElement, setPixelData: (pixelData: IPixelData) => void, metadata: IMetadata, onUpdate: () => void, setMetadata: (metadata: any) => void, setMipLevel: (level: number) => void);
85
+ updateTexture(): Promise<void>;
86
+ private pushTexture;
87
+ startPainting(): Promise<CanvasRenderingContext2D>;
88
+ updatePainting(): void;
89
+ stopPainting(): void;
90
+ private updateDisplay;
91
+ set channels(channels: Channel[]);
92
+ paintPixelsOnCanvas(pixelData: Uint8Array, canvas: HTMLCanvasElement): void;
93
+ grabOriginalTexture(): Promise<Uint8Array<ArrayBufferLike>>;
94
+ getMouseCoordinates(pointerInfo: PointerInfo): Vector2;
95
+ get scene(): Scene;
96
+ get canvas2D(): HTMLCanvasElement;
97
+ get size(): ISize;
98
+ set tool(tool: Nullable<CanvasManagerTool>);
99
+ get tool(): Nullable<CanvasManagerTool>;
100
+ set face(face: number);
101
+ set mipLevel(mipLevel: number);
102
+ /** Returns the 3D scene used for postprocesses */
103
+ get scene3D(): Scene;
104
+ set metadata(metadata: IMetadata);
105
+ private makePlane;
106
+ reset(): void;
107
+ resize(newSize: ISize): Promise<void>;
108
+ setSize(size: ISize): void;
109
+ upload(file: File): void;
110
+ saveTexture(): void;
111
+ toolInteractionEnabled(): boolean;
112
+ dispose(): void;
113
+ }
@@ -0,0 +1,10 @@
1
+ export declare const canvasShader: {
2
+ path: {
3
+ vertexSource: string;
4
+ fragmentSource: string;
5
+ };
6
+ options: {
7
+ attributes: string[];
8
+ uniforms: string[];
9
+ };
10
+ };
@@ -0,0 +1,25 @@
1
+ import { type FunctionComponent } from "react";
2
+ /**
3
+ * Represents a color channel in the texture editor
4
+ */
5
+ export type Channel = {
6
+ /** Whether the channel is visible */
7
+ visible: boolean;
8
+ /** Whether the channel is editable */
9
+ editable: boolean;
10
+ /** Display name for the channel */
11
+ name: string;
12
+ /** Channel identifier */
13
+ id: "R" | "G" | "B" | "A";
14
+ };
15
+ type ChannelsBarProps = {
16
+ channels: Channel[];
17
+ setChannels: (channels: Channel[]) => void;
18
+ };
19
+ /**
20
+ * Displays channel visibility and editability controls
21
+ * @param props - The channels bar properties
22
+ * @returns The channels bar component
23
+ */
24
+ export declare const ChannelsBar: FunctionComponent<ChannelsBarProps>;
25
+ export {};
@@ -0,0 +1,23 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type BaseTexture, type ISize } from "@babylonjs/core/index.js";
3
+ import { type IPixelData } from "./canvasManager";
4
+ type PropertiesBarProps = {
5
+ texture: BaseTexture;
6
+ size: ISize;
7
+ saveTexture: () => void;
8
+ pixelData: IPixelData;
9
+ face: number;
10
+ setFace: (face: number) => void;
11
+ resetTexture: () => void;
12
+ resizeTexture: (width: number, height: number) => void;
13
+ uploadTexture: (file: File) => void;
14
+ mipLevel: number;
15
+ setMipLevel: (mipLevel: number) => void;
16
+ };
17
+ /**
18
+ * Properties bar component showing texture info and actions
19
+ * @param props - The properties bar properties
20
+ * @returns The properties bar component
21
+ */
22
+ export declare const PropertiesBar: FunctionComponent<PropertiesBarProps>;
23
+ export {};
@@ -0,0 +1,13 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type BaseTexture } from "@babylonjs/core/index.js";
3
+ type StatusBarProps = {
4
+ texture: BaseTexture;
5
+ mipLevel: number;
6
+ };
7
+ /**
8
+ * Displays status information about the texture
9
+ * @param props - The status bar properties
10
+ * @returns The status bar component
11
+ */
12
+ export declare const StatusBar: FunctionComponent<StatusBarProps>;
13
+ export {};
@@ -0,0 +1,113 @@
1
+ import { type ComponentType, type FunctionComponent } from "react";
2
+ import { type BaseTexture, type ISize, type PointerInfo, type Scene, type Vector2 } from "@babylonjs/core/index.js";
3
+ /**
4
+ * Parameters passed to tools for interaction with the texture editor
5
+ */
6
+ export interface IToolParameters {
7
+ /** The visible scene in the editor. Useful for adding pointer and keyboard events. */
8
+ scene: Scene;
9
+ /** The 2D canvas which you can sample pixel data from. Tools should not paint directly on this canvas. */
10
+ canvas2D: HTMLCanvasElement;
11
+ /** The 3D scene which tools can add post processes to. */
12
+ scene3D: Scene;
13
+ /** The size of the texture. */
14
+ size: ISize;
15
+ /** Pushes the editor texture back to the original scene. This should be called every time a tool makes any modification to a texture. */
16
+ updateTexture: () => void;
17
+ /** The metadata object which is shared between all tools. Feel free to store any information here. Do not set this directly: instead call setMetadata. */
18
+ metadata: IMetadata;
19
+ /** Call this when you want to mutate the metadata. */
20
+ setMetadata: (data: any) => void;
21
+ /** Returns the texture coordinates under the cursor */
22
+ getMouseCoordinates: (pointerInfo: PointerInfo) => Vector2;
23
+ /** Provides a canvas that you can use the canvas API to paint on. */
24
+ startPainting: () => Promise<CanvasRenderingContext2D>;
25
+ /** After you have painted on your canvas, call this method to push the updates back to the texture. */
26
+ updatePainting: () => void;
27
+ /** Call this when you are finished painting. */
28
+ stopPainting: () => void;
29
+ /** Returns whether the tool should be allowed to interact */
30
+ interactionEnabled: () => boolean;
31
+ }
32
+ export type TextureEditorTool = {
33
+ /**
34
+ * Called when the tool is activated from the toolbar.
35
+ */
36
+ activate: () => void;
37
+ /**
38
+ * Called when the tool is deactivated from the toolbar.
39
+ */
40
+ deactivate: () => void;
41
+ /**
42
+ * Optional: Called when the user resets the texture or uploads a new texture. Tools may want to reset their state when this happens.
43
+ */
44
+ reset?: () => void;
45
+ /**
46
+ * Optional: React component for tool-specific settings UI.
47
+ */
48
+ settingsComponent?: ComponentType;
49
+ };
50
+ export type TextureEditorToolContext = {
51
+ getParameters(): IToolParameters;
52
+ };
53
+ export type TextureEditorToolProvider = {
54
+ /**
55
+ * An optional order for the section, relative to other commands.
56
+ * Defaults to 0.
57
+ */
58
+ order?: number;
59
+ /**
60
+ * The name of the tool.
61
+ */
62
+ name: string;
63
+ /**
64
+ * The icon component for the tool.
65
+ */
66
+ icon: ComponentType;
67
+ /**
68
+ * Whether the tool uses postprocesses.
69
+ */
70
+ is3D?: boolean;
71
+ /**
72
+ * Optional system cursor name to use when tool is active (e.g. 'crosshair', 'pointer')
73
+ */
74
+ cursor?: string;
75
+ /**
76
+ * Instantiates the tool.
77
+ * @param context The context for the tool.
78
+ * @returns The instantiated tool.
79
+ */
80
+ getTool: (context: TextureEditorToolContext) => TextureEditorTool;
81
+ };
82
+ /**
83
+ * Metadata shared between tools in the texture editor
84
+ */
85
+ export interface IMetadata {
86
+ /** Current paint color in hex format */
87
+ color: string;
88
+ /** Current paint alpha value 0-1 */
89
+ alpha: number;
90
+ /** Current selection coordinates */
91
+ select: {
92
+ /** Left edge of selection */
93
+ x1: number;
94
+ /** Top edge of selection */
95
+ y1: number;
96
+ /** Right edge of selection */
97
+ x2: number;
98
+ /** Bottom edge of selection */
99
+ y2: number;
100
+ };
101
+ }
102
+ export type TextureEditorProps = {
103
+ texture: BaseTexture;
104
+ toolProviders?: readonly TextureEditorToolProvider[];
105
+ window?: Window;
106
+ onUpdate?: () => void;
107
+ };
108
+ /**
109
+ * Main texture editor component
110
+ * @param props - The texture editor properties
111
+ * @returns The texture editor component
112
+ */
113
+ export declare const TextureEditor: FunctionComponent<TextureEditorProps>;
@@ -0,0 +1,20 @@
1
+ import { type ComponentType, type FunctionComponent } from "react";
2
+ import { type IMetadata } from "./textureEditor";
3
+ type ToolBarProps = {
4
+ tools: readonly {
5
+ name: string;
6
+ icon: ComponentType;
7
+ }[];
8
+ changeTool: (toolIndex: number) => void;
9
+ activeToolIndex: number;
10
+ metadata: IMetadata;
11
+ setMetadata: (data: any) => void;
12
+ hasAlpha: boolean;
13
+ };
14
+ /**
15
+ * Toolbar component for texture editing tools
16
+ * @param props - The toolbar properties
17
+ * @returns The toolbar component
18
+ */
19
+ export declare const ToolBar: FunctionComponent<ToolBarProps>;
20
+ export {};
@@ -0,0 +1,10 @@
1
+ import { type FluentProviderProps } from "@fluentui/react-components";
2
+ import { type FunctionComponent } from "react";
3
+ /**
4
+ * A themed Fluent UI provider that applies the current theme mode (light or dark).
5
+ * @param props Fluent provider props, plus an optional `invert` flag to swap the theme.
6
+ * @returns The themed Fluent UI provider component.
7
+ */
8
+ export declare const Theme: FunctionComponent<FluentProviderProps & {
9
+ invert?: boolean;
10
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const EquirectangularCaptureTool: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
@@ -0,0 +1,7 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ export declare const GIFCaptureTool: import("react").ForwardRefExoticComponent<{
3
+ scene: Scene;
4
+ } & {
5
+ spinnerSize?: import("@fluentui/react-spinner").SpinnerProps["size"];
6
+ spinnerLabel?: string;
7
+ } & import("react").RefAttributes<never>>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const SceneReplayTool: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const ScreenshotTool: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const VideoCaptureTool: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;