@babylonjs/inspector 8.39.2-preview → 8.39.3-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/index.d.ts CHANGED
@@ -9,6 +9,7 @@ import { Color3 as Color3$1, Color4 as Color4$1 } from '@babylonjs/core/Maths/ma
9
9
  import { Vector3 as Vector3$1, Quaternion as Quaternion$1 } from '@babylonjs/core/Maths/math.vector.js';
10
10
  import { IDisposable as IDisposable$2, Scene as Scene$2 } from '@babylonjs/core/scene.js';
11
11
  import { TernaryDarkMode } from 'usehooks-ts';
12
+ import { DebugLayer as DebugLayer$1 } from '@babylonjs/core/Debug/debugLayer.js';
12
13
  import { FluentIcon } from '@fluentui/react-icons';
13
14
  import * as _fluentui_react_utilities from '@fluentui/react-utilities';
14
15
 
@@ -1217,6 +1218,28 @@ declare class Inspector {
1217
1218
  private static _SetNewScene;
1218
1219
  }
1219
1220
 
1221
+ declare class DebugLayerEx extends DebugLayer$1 {
1222
+ show(config?: IInspectorOptions$1): Promise<DebugLayer$1>;
1223
+ }
1224
+ declare const DebugLayerExKey: unique symbol;
1225
+ declare module "@babylonjs/core/scene.js" {
1226
+ interface Scene {
1227
+ /**
1228
+ * @internal
1229
+ * Backing field
1230
+ */
1231
+ [DebugLayerExKey]?: DebugLayerEx;
1232
+ }
1233
+ }
1234
+ /**
1235
+ * Attaches Inspector v2 to Scene.debugLayer.
1236
+ */
1237
+ declare function AttachDebugLayer(): void;
1238
+ /**
1239
+ * Detaches Inspector v2 from Scene.debugLayer.
1240
+ */
1241
+ declare function DetachDebugLayer(): void;
1242
+
1220
1243
  type AccordionSectionProps = {
1221
1244
  title: string;
1222
1245
  collapseByDefault?: boolean;
@@ -20437,7 +20460,7 @@ declare class ThinParticleSystem extends BaseParticleSystem implements IDisposab
20437
20460
  */
20438
20461
  resetDrawCache(): void;
20439
20462
  /** @internal */
20440
- _fetchR(u: number, v: number, width: number, height: number, pixels: Uint8Array): number;
20463
+ _fetchR(u: number, v: number, width: number, height: number, pixels: Uint8Array | Uint8ClampedArray): number;
20441
20464
  protected _reset(): void;
20442
20465
  private _resetEffect;
20443
20466
  private _createVertexBuffers;
@@ -21972,9 +21995,9 @@ declare class Particle {
21972
21995
  /** @internal */
21973
21996
  _currentDrag2: number;
21974
21997
  /** @internal */
21975
- _randomNoiseCoordinates1: Vector3;
21998
+ _randomNoiseCoordinates1: Nullable<Vector3>;
21976
21999
  /** @internal */
21977
- _randomNoiseCoordinates2: Vector3;
22000
+ _randomNoiseCoordinates2: Nullable<Vector3>;
21978
22001
  /** @internal */
21979
22002
  _localPosition?: Vector3;
21980
22003
  /**
@@ -47403,7 +47426,7 @@ declare module "../scene" {
47403
47426
  * @internal
47404
47427
  * Backing field
47405
47428
  */
47406
- _debugLayer: DebugLayer;
47429
+ _debugLayer?: DebugLayer;
47407
47430
  /**
47408
47431
  * Gets the debug layer (aka Inspector) associated with the scene
47409
47432
  * @see https://doc.babylonjs.com/toolsAndResources/inspector
@@ -72174,5 +72197,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
72174
72197
  declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
72175
72198
  declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
72176
72199
 
72177
- export { Accordion, AccordionSection, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, DebugServiceIdentity, DraggableLine, Dropdown, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MessageBar, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, PositionedPopover, PropertiesServiceIdentity, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, ToggleButton, ToolsServiceIdentity, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useEventfulState, useInterceptObservable, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, useQuaternionProperty, useResource, useSidePaneDockOverrides, useVector3Property };
72200
+ export { Accordion, AccordionSection, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, DebugServiceIdentity, DetachDebugLayer, DraggableLine, Dropdown, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MessageBar, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, PositionedPopover, PropertiesServiceIdentity, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, ToggleButton, ToolsServiceIdentity, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useEventfulState, useInterceptObservable, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, useQuaternionProperty, useResource, useSidePaneDockOverrides, useVector3Property };
72178
72201
  export type { AcceptedDropdownValue, AccordionProps, AccordionSectionProps, BasePrimitiveProps, BoundPropertyProps, BuiltInExtension, ButtonProps, CentralContentDefinition, ColorPickerProps, ColorPropertyLineProps, ComboBoxProps, DraggableLineProps, DropdownOption, DropdownProps, DynamicAccordionSection, DynamicAccordionSectionContent, EntityBase, EntityDisplayInfo, ExtensionMetadata, ExtensionModule, FunctionHooks, IDebugService, IExtensionFeed, IExtensionMetadataQuery, IPropertiesService, ISceneContext, ISceneExplorerService, ISelectionService, IService, ISettingsContext, ISettingsService, IShellService, IStatsService, IToolsService, ImmutablePrimitiveProps, InfoLabelParentProps, InfoLabelProps, InputHexProps, InspectorOptions, LinkProps, ListItem, NumberInputPropertyLineProps, PaneProps, PersonMetadata, PrimitiveProps, PropertyHooks, PropertyLineProps, SceneExplorerCommand, SceneExplorerCommandProvider, SceneExplorerSection, SectionsImperativeRef, ServiceDefinition, ServiceFactory, SidePaneDefinition, SpinButtonProps, SwitchProps, SyncedSliderProps, TensorPropertyLineProps, TextInputProps, TextareaProps, ToolbarItemDefinition };
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a2 as Accordion, a1 as AccordionSection, ax as BooleanBadgePropertyLine, j as BoundProperty, l as BuiltInsExtensionFeed, a3 as Button, B as ButtonLine, a4 as Checkbox, ay as CheckboxPropertyLine, C as Collapse, ae as Color3GradientComponent, au as Color3GradientList, az as Color3PropertyLine, af as Color4GradientComponent, av as Color4GradientList, aA as Color4PropertyLine, a5 as ColorPickerPopup, ag as ColorStepGradientComponent, a8 as ComboBox, X as ConstructorFactory, D as DebugServiceIdentity, a9 as DraggableLine, aa as Dropdown, E as ExtensibleAccordion, ad as FactorGradientComponent, at as FactorGradientList, F as FileUploadLine, R as GetPropertyDescriptor, aB as HexPropertyLine, ah as InfoLabel, a6 as InputHexField, a7 as InputHsvField, I as Inspector, Q as InterceptFunction, V as InterceptProperty, U as IsPropertyReadonly, aG as LineContainer, L as Link, aE as LinkPropertyLine, k as LinkToEntityPropertyLine, ai as List, O as MakeDialogTeachingMoment, M as MakeLazyComponent, c as MakePopoverTeachingMoment, r as MakePropertyHook, K as MakeTeachingMoment, aj as MessageBar, ab as NumberDropdown, N as NumberDropdownPropertyLine, aD as NumberInputPropertyLine, W as ObservableCollection, aw as Pane, aH as PlaceholderPropertyLine, ak as PositionedPopover, P as PropertiesServiceIdentity, aF as PropertyLine, aN as QuaternionPropertyLine, aM as RotationVectorPropertyLine, Y as SceneContextIdentity, f as SceneExplorerServiceIdentity, al as SearchBar, am as SearchBox, _ as SelectionServiceDefinition, Z as SelectionServiceIdentity, $ as SettingsContextIdentity, g as SettingsServiceIdentity, b as ShellServiceIdentity, a0 as ShowInspector, e as SidePaneContainer, an as SpinButton, aI as SpinButtonPropertyLine, h as StatsServiceIdentity, ac as StringDropdown, i as StringDropdownPropertyLine, aJ as StringifiedPropertyLine, ao as Switch, S as SwitchPropertyLine, ap as SyncedSliderInput, a as SyncedSliderPropertyLine, d as TeachingMoment, aK as TextAreaPropertyLine, ar as TextInput, aC as TextInputPropertyLine, aL as TextPropertyLine, aq as Textarea, as as ToggleButton, T as ToolsServiceIdentity, aO as Vector2PropertyLine, aP as Vector3PropertyLine, aQ as Vector4PropertyLine, J as useAngleConverters, A as useAsyncResource, o as useColor3Property, p as useColor4Property, G as useCompactMode, t as useEventfulState, s as useInterceptObservable, w as useObservableCollection, v as useObservableState, x as useOrderedObservableCollection, y as usePollingObservable, m as useProperty, q as useQuaternionProperty, z as useResource, H as useSidePaneDockOverrides, n as useVector3Property } from './index-B1xdfROw.js';
1
+ export { a4 as Accordion, a3 as AccordionSection, A as AttachDebugLayer, az as BooleanBadgePropertyLine, k as BoundProperty, m as BuiltInsExtensionFeed, a5 as Button, B as ButtonLine, a6 as Checkbox, aA as CheckboxPropertyLine, C as Collapse, ag as Color3GradientComponent, aw as Color3GradientList, aB as Color3PropertyLine, ah as Color4GradientComponent, ax as Color4GradientList, aC as Color4PropertyLine, a7 as ColorPickerPopup, ai as ColorStepGradientComponent, aa as ComboBox, Z as ConstructorFactory, D as DebugServiceIdentity, i as DetachDebugLayer, ab as DraggableLine, ac as Dropdown, E as ExtensibleAccordion, af as FactorGradientComponent, av as FactorGradientList, F as FileUploadLine, V as GetPropertyDescriptor, aD as HexPropertyLine, aj as InfoLabel, a8 as InputHexField, a9 as InputHsvField, I as Inspector, U as InterceptFunction, X as InterceptProperty, W as IsPropertyReadonly, aI as LineContainer, L as Link, aG as LinkPropertyLine, l as LinkToEntityPropertyLine, ak as List, R as MakeDialogTeachingMoment, M as MakeLazyComponent, c as MakePopoverTeachingMoment, s as MakePropertyHook, Q as MakeTeachingMoment, al as MessageBar, ad as NumberDropdown, N as NumberDropdownPropertyLine, aF as NumberInputPropertyLine, Y as ObservableCollection, ay as Pane, aJ as PlaceholderPropertyLine, am as PositionedPopover, P as PropertiesServiceIdentity, aH as PropertyLine, aP as QuaternionPropertyLine, aO as RotationVectorPropertyLine, _ as SceneContextIdentity, f as SceneExplorerServiceIdentity, an as SearchBar, ao as SearchBox, a0 as SelectionServiceDefinition, $ as SelectionServiceIdentity, a1 as SettingsContextIdentity, g as SettingsServiceIdentity, b as ShellServiceIdentity, a2 as ShowInspector, e as SidePaneContainer, ap as SpinButton, aK as SpinButtonPropertyLine, h as StatsServiceIdentity, ae as StringDropdown, j as StringDropdownPropertyLine, aL as StringifiedPropertyLine, aq as Switch, S as SwitchPropertyLine, ar as SyncedSliderInput, a as SyncedSliderPropertyLine, d as TeachingMoment, aM as TextAreaPropertyLine, at as TextInput, aE as TextInputPropertyLine, aN as TextPropertyLine, as as Textarea, au as ToggleButton, T as ToolsServiceIdentity, aQ as Vector2PropertyLine, aR as Vector3PropertyLine, aS as Vector4PropertyLine, O as useAngleConverters, H as useAsyncResource, p as useColor3Property, q as useColor4Property, J as useCompactMode, v as useEventfulState, t as useInterceptObservable, x as useObservableCollection, w as useObservableState, y as useOrderedObservableCollection, z as usePollingObservable, n as useProperty, r as useQuaternionProperty, G as useResource, K as useSidePaneDockOverrides, o as useVector3Property } from './index-Dsv2BDui.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@babylonjs/core/Maths/math.color.js';
@@ -100,6 +100,7 @@ import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
100
100
  import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
101
101
  import '@babylonjs/core/Materials/Textures/thinTexture.js';
102
102
  import '@babylonjs/core/Misc/textureTools.js';
103
+ import '@babylonjs/core/Lights/Clustered.js';
103
104
  import '@babylonjs/core/Rendering/boundingBoxRenderer.js';
104
105
  import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js';
105
106
  import '@babylonjs/core/Sprites/spriteSceneComponent.js';
@@ -107,4 +108,6 @@ import '@babylonjs/core/Materials/Textures/dynamicTexture.js';
107
108
  import '@babylonjs/core/Events/pointerEvents.js';
108
109
  import '@babylonjs/core/Engines/engineStore.js';
109
110
  import '@babylonjs/core/Misc/uniqueIdGenerator.js';
111
+ import '@babylonjs/core/Debug/debugLayer.js';
112
+ import '@babylonjs/core/Misc/lazy.js';
110
113
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.39.2-preview",
3
+ "version": "8.39.3-preview",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",