@babylonjs/inspector 8.50.2 → 8.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -462,6 +462,9 @@ type SidePaneContainer$1 = {
462
462
  readonly isDocked: boolean;
463
463
  dock(): void;
464
464
  undock(): void;
465
+ readonly isCollapsed: boolean;
466
+ collapse(): void;
467
+ expand(): void;
465
468
  };
466
469
  /**
467
470
  * Describes content that can be added to the shell's central area (between the side panes and toolbars - e.g. the main content).
@@ -547,6 +550,14 @@ type ShellServiceOptions = {
547
550
  * In "compact" mode, toolbars are displayed at the top and bottom of the left and right side panes.
548
551
  */
549
552
  toolbarMode?: ToolbarMode;
553
+ /**
554
+ * Whether the left side pane should start collapsed. Default is false.
555
+ */
556
+ leftPaneDefaultCollapsed?: boolean;
557
+ /**
558
+ * Whether the right side pane should start collapsed. Default is false.
559
+ */
560
+ rightPaneDefaultCollapsed?: boolean;
550
561
  /**
551
562
  * A function that can remap the default location of side panes.
552
563
  * @param sidePane The side pane to remap.
@@ -25906,10 +25917,7 @@ declare class WebGPUEngine extends ThinWebGPUEngine {
25906
25917
  * @param resolveColors If true, resolve the color textures (default: true) - still subject to texture.resolveMSAAColors
25907
25918
  */
25908
25919
  resolveFramebuffer(texture: RenderTargetWrapper, resolveColors?: boolean): void;
25909
- /**
25910
- * Unbind the current render target
25911
- */
25912
- restoreDefaultFramebuffer(): void;
25920
+ restoreDefaultFramebuffer(unbindOnly?: boolean): void;
25913
25921
  /**
25914
25922
  * @internal
25915
25923
  */
@@ -60779,7 +60787,6 @@ interface AbstractEngineOptions {
60779
60787
  */
60780
60788
  useHighPrecisionMatrix?: boolean;
60781
60789
  /**
60782
- * @experimental
60783
60790
  * LargeWorldRendering helps avoid floating point imprecision of rendering large worlds by
60784
60791
  * 1. Forcing highPrecisionMatrices (matrix computations in 64 bits instead of 32)
60785
60792
  * 2. Enabling floatingOriginMode in all scenes -- offsetting position-related uniform and attribute values before passing to shader so that active camera is centered at origin and world is offset by active camera position
@@ -61371,8 +61378,9 @@ declare abstract class AbstractEngine {
61371
61378
  abstract updateTextureWrappingMode(texture: InternalTexture, wrapU: Nullable<number>, wrapV?: Nullable<number>, wrapR?: Nullable<number>): void;
61372
61379
  /**
61373
61380
  * Unbind the current render target and bind the default framebuffer
61381
+ * @param unbindOnly defines a boolean indicating that the function should only unbind the current render target without binding the default framebuffer
61374
61382
  */
61375
- abstract restoreDefaultFramebuffer(): void;
61383
+ abstract restoreDefaultFramebuffer(unbindOnly?: boolean): void;
61376
61384
  /**
61377
61385
  * Draw a list of indexed primitives
61378
61386
  * @param fillMode defines the primitive to use
@@ -68579,7 +68587,6 @@ interface SceneOptions {
68579
68587
  */
68580
68588
  useClonedMeshMap?: boolean;
68581
68589
  /**
68582
- * @experimental
68583
68590
  * When enabled, the scene can handle large world coordinate rendering without jittering caused by floating point imprecision on the GPU.
68584
68591
  * This mode offsets matrices and position-related attribute values before passing to shaders, centering camera at origin and offsetting other scene objects by camera active position.
68585
68592
  *
@@ -70101,13 +70108,11 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
70101
70108
  setSceneUniformBuffer(ubo: UniformBuffer): void;
70102
70109
  private _floatingOriginScene;
70103
70110
  /**
70104
- * @experimental
70105
70111
  * True if floatingOriginMode was passed to engine or this scene creation otions.
70106
70112
  * This mode avoids floating point imprecision in huge coordinate system by offsetting uniform values before passing to shader, centering camera at origin and displacing rest of scene by camera position
70107
70113
  */
70108
70114
  get floatingOriginMode(): boolean;
70109
70115
  /**
70110
- * @experimental
70111
70116
  * When floatingOriginMode is enabled, offset is equal to the eye position. Default to ZeroReadonly when mode is disabled.
70112
70117
  */
70113
70118
  get floatingOriginOffset(): Vector3;
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-xdZE0cq5.js';
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';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@fluentui/react-components';
@@ -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-xdZE0cq5.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-CTn2vCom.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';
@@ -704,4 +704,4 @@ var quickCreateToolsService = {
704
704
  };
705
705
 
706
706
  export { CreateToolsServiceDefinition, quickCreateToolsService as default };
707
- //# sourceMappingURL=quickCreateToolsService-BhUIP4Xi.js.map
707
+ //# sourceMappingURL=quickCreateToolsService-BGHjWv6H.js.map