@babylonjs/inspector 8.50.3 → 8.50.4

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
@@ -4,6 +4,7 @@ import { ComponentType, ComponentProps, FunctionComponent, PropsWithChildren, Fo
4
4
  import { IDisposable as IDisposable$1, Nullable as Nullable$1, IReadonlyObservable as IReadonlyObservable$2, Observable as Observable$1, Scene as Scene$1, IInspectorOptions as IInspectorOptions$1 } from '@babylonjs/core/index.js';
5
5
  import { IReadonlyObservable as IReadonlyObservable$1, Observable as Observable$2 } from '@babylonjs/core/Misc/observable.js';
6
6
  import { Nullable as Nullable$2 } from '@babylonjs/core/types.js';
7
+ import * as _fluentui_tokens from '@fluentui/tokens';
7
8
  import { FluentProviderProps, PositioningImperativeRef, OnOpenChangeData, SpinnerProps, PositioningShorthand } from '@fluentui/react-components';
8
9
  import { Color3 as Color3$1, Color4 as Color4$1 } from '@babylonjs/core/Maths/math.color.js';
9
10
  import { Vector3 as Vector3$1, Quaternion as Quaternion$1 } from '@babylonjs/core/Maths/math.vector.js';
@@ -364,6 +365,10 @@ interface ISettingsContext extends IService<typeof SettingsContextIdentity> {
364
365
  * Shows the Properties pane when an entity is selected.
365
366
  */
366
367
  showPropertiesOnEntitySelection: boolean;
368
+ /**
369
+ * Highlight the selected mesh in the scene using the selection outline layer.
370
+ */
371
+ highlightSelectedEntity: boolean;
367
372
  /**
368
373
  * Observable that fires whenever a setting changes.
369
374
  */
@@ -838,6 +843,7 @@ declare function ExtensibleAccordion<ContextT = unknown>(props: PropsWithChildre
838
843
  */
839
844
  declare const SidePaneContainer: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
840
845
 
846
+ declare function useTheme(invert?: boolean): _fluentui_tokens.Theme;
841
847
  declare const Theme: FunctionComponent<FluentProviderProps & {
842
848
  invert?: boolean;
843
849
  }>;
@@ -73817,5 +73823,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
73817
73823
  declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
73818
73824
  declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
73819
73825
 
73820
- export { Accordion, AccordionSection, AccordionSectionItem, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, ChildWindow, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ComboBoxPropertyLine, ConstructorFactory, ConvertOptions, DebugServiceIdentity, DetachDebugLayer, DraggableLine, Dropdown, EntitySelector, ErrorBoundary, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MaterialSelector, MessageBar, NodeSelector, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, Popover, PositionedPopover, PropertiesServiceIdentity, Property, PropertyContext, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SkeletonSelector, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, TextureSelector, TextureUpload, Theme, ToastProvider, ToggleButton, ToolsServiceIdentity, Tooltip, UploadButton, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useDisableCopy, useEventListener, useEventfulState, useInterceptObservable, useKeyListener, useKeyState, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, usePropertyChangedNotifier, useQuaternionProperty, useResource, useSidePaneDockOverrides, useToast, useVector3Property };
73826
+ export { Accordion, AccordionSection, AccordionSectionItem, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, ChildWindow, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ComboBoxPropertyLine, ConstructorFactory, ConvertOptions, DebugServiceIdentity, DetachDebugLayer, DraggableLine, Dropdown, EntitySelector, ErrorBoundary, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MaterialSelector, MessageBar, NodeSelector, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, Popover, PositionedPopover, PropertiesServiceIdentity, Property, PropertyContext, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SkeletonSelector, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, TextureSelector, TextureUpload, Theme, ToastProvider, ToggleButton, ToolsServiceIdentity, Tooltip, UploadButton, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useDisableCopy, useEventListener, useEventfulState, useInterceptObservable, useKeyListener, useKeyState, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, usePropertyChangedNotifier, useQuaternionProperty, useResource, useSidePaneDockOverrides, useTheme, useToast, useVector3Property };
73821
73827
  export type { AcceptedDropdownValue, AccordionProps, AccordionSectionBlockProps, AccordionSectionItemProps, AccordionSectionProps, BasePrimitiveProps, BoundPropertyProps, BuiltInExtension, ButtonProps, CentralContentDefinition, ChildWindowOptions, ChildWindowProps, ColorPickerProps, ColorPropertyLineProps, ComboBoxOption, ComboBoxProps, DraggableLineProps, DropdownOption, DropdownProps, DynamicAccordionSection, DynamicAccordionSectionContent, EntityDisplayInfo, EntitySelectorProps, ExtensionMetadata, ExtensionModule, FunctionHooks, HexPropertyLineProps, IDebugService, IExtensionFeed, IExtensionMetadataQuery, IPropertiesService, ISceneContext, ISceneExplorerService, ISelectionService, IService, ISettingsContext, ISettingsService, IShellService, IStatsService, IToolsService, ImmutablePrimitiveProps, InfoLabelParentProps, InfoLabelProps, InputHexProps, InspectorOptions, InspectorToken, LinkProps, ListItem, MaterialSelectorProps, NodeSelectorProps, NumberInputPropertyLineProps, PaneProps, PersonMetadata, PrimitiveProps, PropertyChangeInfo, PropertyHooks, PropertyLineProps, PropertyProps, SceneExplorerCommand, SceneExplorerCommandProvider, SceneExplorerSection, SectionsImperativeRef, ServiceDefinition, ServiceFactory, SidePaneDefinition, SkeletonSelectorProps, SpinButtonProps, SwitchProps, SyncedSliderProps, TensorPropertyLineProps, TextInputProps, TextareaProps, TextureSelectorProps, ToolbarItemDefinition, TooltipProps, WindowOptions };
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as Accordion, d as AccordionSection, ai as AccordionSectionItem, p as AttachDebugLayer, aZ as BooleanBadgePropertyLine, t as BoundProperty, G as BuiltInsExtensionFeed, B as Button, e as ButtonLine, aj as Checkbox, C as CheckboxPropertyLine, aS as ChildWindow, ak as Collapse, av as Color3GradientComponent, aV as Color3GradientList, a_ as Color3PropertyLine, aw as Color4GradientComponent, aW as Color4GradientList, a$ as Color4PropertyLine, al as ColorPickerPopup, ax as ColorStepGradientComponent, ao as ComboBox, b0 as ComboBoxPropertyLine, aa as ConstructorFactory, o as ConvertOptions, D as DebugServiceIdentity, q as DetachDebugLayer, ap as DraggableLine, aq as Dropdown, at as EntitySelector, E as ErrorBoundary, x as ExtensibleAccordion, au as FactorGradientComponent, aU as FactorGradientList, aT as FileUploadLine, a6 as GetPropertyDescriptor, b1 as HexPropertyLine, ay as InfoLabel, am as InputHexField, an as InputHsvField, I as Inspector, a5 as InterceptFunction, a8 as InterceptProperty, a7 as IsPropertyReadonly, b4 as LineContainer, L as Link, b2 as LinkPropertyLine, w as LinkToEntityPropertyLine, aA as List, a4 as MakeDialogTeachingMoment, az as MakeLazyComponent, h as MakePopoverTeachingMoment, Q as MakePropertyHook, a3 as MakeTeachingMoment, aB as MaterialSelector, M as MessageBar, aC as NodeSelector, ar as NumberDropdown, r as NumberDropdownPropertyLine, N as NumberInputPropertyLine, a9 as ObservableCollection, aX as Pane, b5 as PlaceholderPropertyLine, P as Popover, aD as PositionedPopover, k as PropertiesServiceIdentity, v as Property, z as PropertyContext, b3 as PropertyLine, bc as QuaternionPropertyLine, bb as RotationVectorPropertyLine, b as SceneContextIdentity, l as SceneExplorerServiceIdentity, aE as SearchBar, aF as SearchBox, ac as SelectionServiceDefinition, ab as SelectionServiceIdentity, ad as SettingsContextIdentity, m as SettingsServiceIdentity, a as ShellServiceIdentity, ae as ShowInspector, j as SidePaneContainer, aG as SkeletonSelector, aH as SpinButton, S as SpinButtonPropertyLine, n as StatsServiceIdentity, as as StringDropdown, s as StringDropdownPropertyLine, b6 as StringifiedPropertyLine, aI as Switch, b7 as SwitchPropertyLine, aJ as SyncedSliderInput, b8 as SyncedSliderPropertyLine, i as TeachingMoment, b9 as TextAreaPropertyLine, aL as TextInput, T as TextInputPropertyLine, ba as TextPropertyLine, aK as Textarea, aM as TextureSelector, aY as TextureUpload, y as Theme, aN as ToastProvider, aP as ToggleButton, f as ToolsServiceIdentity, aQ as Tooltip, aR as UploadButton, bd as Vector2PropertyLine, V as Vector3PropertyLine, be as Vector4PropertyLine, a2 as useAngleConverters, _ as useAsyncResource, J as useColor3Property, K as useColor4Property, $ as useCompactMode, a0 as useDisableCopy, ah as useEventListener, U as useEventfulState, R as useInterceptObservable, af as useKeyListener, ag as useKeyState, W as useObservableCollection, c as useObservableState, X as useOrderedObservableCollection, Y as usePollingObservable, u as useProperty, F as usePropertyChangedNotifier, O as useQuaternionProperty, Z as useResource, a1 as useSidePaneDockOverrides, aO as useToast, H as useVector3Property } from './index-CTn2vCom.js';
1
+ export { A as Accordion, d as AccordionSection, aj as AccordionSectionItem, p as AttachDebugLayer, a_ as BooleanBadgePropertyLine, t as BoundProperty, H as BuiltInsExtensionFeed, B as Button, e as ButtonLine, ak as Checkbox, C as CheckboxPropertyLine, aT as ChildWindow, al as Collapse, aw as Color3GradientComponent, aW as Color3GradientList, a$ as Color3PropertyLine, ax as Color4GradientComponent, aX as Color4GradientList, b0 as Color4PropertyLine, am as ColorPickerPopup, ay as ColorStepGradientComponent, ap as ComboBox, b1 as ComboBoxPropertyLine, ab as ConstructorFactory, o as ConvertOptions, D as DebugServiceIdentity, q as DetachDebugLayer, aq as DraggableLine, ar as Dropdown, au as EntitySelector, E as ErrorBoundary, x as ExtensibleAccordion, av as FactorGradientComponent, aV as FactorGradientList, aU as FileUploadLine, a7 as GetPropertyDescriptor, b2 as HexPropertyLine, az as InfoLabel, an as InputHexField, ao as InputHsvField, I as Inspector, a6 as InterceptFunction, a9 as InterceptProperty, a8 as IsPropertyReadonly, b5 as LineContainer, L as Link, b3 as LinkPropertyLine, w as LinkToEntityPropertyLine, aB as List, a5 as MakeDialogTeachingMoment, aA as MakeLazyComponent, h as MakePopoverTeachingMoment, R as MakePropertyHook, a4 as MakeTeachingMoment, aC as MaterialSelector, M as MessageBar, aD as NodeSelector, as as NumberDropdown, r as NumberDropdownPropertyLine, N as NumberInputPropertyLine, aa as ObservableCollection, aY as Pane, b6 as PlaceholderPropertyLine, P as Popover, aE as PositionedPopover, k as PropertiesServiceIdentity, v as Property, F as PropertyContext, b4 as PropertyLine, bd as QuaternionPropertyLine, bc as RotationVectorPropertyLine, b as SceneContextIdentity, l as SceneExplorerServiceIdentity, aF as SearchBar, aG as SearchBox, ad as SelectionServiceDefinition, ac as SelectionServiceIdentity, ae as SettingsContextIdentity, m as SettingsServiceIdentity, a as ShellServiceIdentity, af as ShowInspector, j as SidePaneContainer, aH as SkeletonSelector, aI as SpinButton, S as SpinButtonPropertyLine, n as StatsServiceIdentity, at as StringDropdown, s as StringDropdownPropertyLine, b7 as StringifiedPropertyLine, aJ as Switch, b8 as SwitchPropertyLine, aK as SyncedSliderInput, b9 as SyncedSliderPropertyLine, i as TeachingMoment, ba as TextAreaPropertyLine, aM as TextInput, T as TextInputPropertyLine, bb as TextPropertyLine, aL as Textarea, aN as TextureSelector, aZ as TextureUpload, z as Theme, aO as ToastProvider, aQ as ToggleButton, f as ToolsServiceIdentity, aR as Tooltip, aS as UploadButton, be as Vector2PropertyLine, V as Vector3PropertyLine, bf as Vector4PropertyLine, a3 as useAngleConverters, $ as useAsyncResource, K as useColor3Property, O as useColor4Property, a0 as useCompactMode, a1 as useDisableCopy, ai as useEventListener, W as useEventfulState, U as useInterceptObservable, ag as useKeyListener, ah as useKeyState, X as useObservableCollection, c as useObservableState, Y as useOrderedObservableCollection, Z as usePollingObservable, u as useProperty, G as usePropertyChangedNotifier, Q as useQuaternionProperty, _ as useResource, a2 as useSidePaneDockOverrides, y as useTheme, aP as useToast, J as useVector3Property } from './index-DNdlSwwf.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@fluentui/react-components';
@@ -146,6 +146,7 @@ import '@babylonjs/core/Loading/sceneLoader.js';
146
146
  import '@babylonjs/core/Misc/filesInput.js';
147
147
  import '@babylonjs/loaders/glTF/glTFFileLoader.js';
148
148
  import '@babylonjs/loaders/glTF/glTFValidation.js';
149
+ import '@babylonjs/core/Layers/selectionOutlineLayer.js';
149
150
  import '@babylonjs/core/Engines/engineStore.js';
150
151
  import '@babylonjs/core/Debug/debugLayer.js';
151
152
  import '@babylonjs/core/Misc/lazy.js';
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
- import { P as Popover, B as Button, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, u as useProperty, M as MessageBar, a as ShellServiceIdentity, b as SceneContextIdentity, c as useObservableState, A as Accordion, d as AccordionSection } from './index-CTn2vCom.js';
2
+ import { P as Popover, B as Button, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, u as useProperty, M as MessageBar, a as ShellServiceIdentity, b as SceneContextIdentity, c as useObservableState, A as Accordion, d as AccordionSection } from './index-DNdlSwwf.js';
3
3
  import { SettingsRegular, CollectionsAdd20Regular } from '@fluentui/react-icons';
4
4
  import '@babylonjs/core/Particles/webgl2ParticleSystem.js';
5
5
  import { MeshBuilder } from '@babylonjs/core/Meshes/meshBuilder.js';
@@ -153,6 +153,7 @@ import '@babylonjs/core/Misc/environmentTextureTools.js';
153
153
  import '@babylonjs/core/Loading/sceneLoader.js';
154
154
  import '@babylonjs/loaders/glTF/glTFFileLoader.js';
155
155
  import '@babylonjs/loaders/glTF/glTFValidation.js';
156
+ import '@babylonjs/core/Layers/selectionOutlineLayer.js';
156
157
  import '@babylonjs/core/Engines/engineStore.js';
157
158
  import '@babylonjs/core/Debug/debugLayer.js';
158
159
  import '@babylonjs/core/Misc/lazy.js';
@@ -704,4 +705,4 @@ var quickCreateToolsService = {
704
705
  };
705
706
 
706
707
  export { CreateToolsServiceDefinition, quickCreateToolsService as default };
707
- //# sourceMappingURL=quickCreateToolsService-BGHjWv6H.js.map
708
+ //# sourceMappingURL=quickCreateToolsService-87Wg6d7G.js.map