@babylonjs/inspector 8.50.1 → 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/{extensionsListService-bAymK3bA.js → extensionsListService-Bl9imMOn.js} +2 -2
- package/lib/{extensionsListService-bAymK3bA.js.map → extensionsListService-Bl9imMOn.js.map} +1 -1
- package/lib/{index-BbwLkyK1.js → index-CTn2vCom.js} +195 -79
- package/lib/index-CTn2vCom.js.map +1 -0
- package/lib/index.d.ts +34 -16
- package/lib/index.js +1 -1
- package/lib/{quickCreateToolsService-BMx5Mka9.js → quickCreateToolsService-BGHjWv6H.js} +2 -2
- package/lib/{quickCreateToolsService-BMx5Mka9.js.map → quickCreateToolsService-BGHjWv6H.js.map} +1 -1
- package/lib/{reflectorService-p8N_eMRm.js → reflectorService-CiKXKaoZ.js} +2 -2
- package/lib/{reflectorService-p8N_eMRm.js.map → reflectorService-CiKXKaoZ.js.map} +1 -1
- package/package.json +1 -1
- package/lib/index-BbwLkyK1.js.map +0 -1
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.
|
|
@@ -697,6 +708,16 @@ type SceneExplorerCommand<ModeT extends CommandMode = CommandMode, TypeT extends
|
|
|
697
708
|
* The display name of the command (e.g. "Delete", "Rename", etc.).
|
|
698
709
|
*/
|
|
699
710
|
displayName: string;
|
|
711
|
+
/**
|
|
712
|
+
* An optional array of hotkeys that trigger the command.
|
|
713
|
+
*/
|
|
714
|
+
hotKey?: {
|
|
715
|
+
keyCode: string;
|
|
716
|
+
control?: boolean;
|
|
717
|
+
alt?: boolean;
|
|
718
|
+
shift?: boolean;
|
|
719
|
+
meta?: boolean;
|
|
720
|
+
};
|
|
700
721
|
/**
|
|
701
722
|
* An observable that notifies when the command state changes.
|
|
702
723
|
*/
|
|
@@ -1439,16 +1460,19 @@ declare function AttachDebugLayer(): void;
|
|
|
1439
1460
|
*/
|
|
1440
1461
|
declare function DetachDebugLayer(): void;
|
|
1441
1462
|
|
|
1442
|
-
type
|
|
1443
|
-
|
|
1444
|
-
|
|
1463
|
+
type WindowOptions = {
|
|
1464
|
+
current?: boolean;
|
|
1465
|
+
primary?: boolean;
|
|
1445
1466
|
};
|
|
1467
|
+
declare function useEventListener<EventT extends keyof DocumentEventMap>(source: "document", eventName: EventT, handler: (e: DocumentEventMap[EventT]) => void, options?: WindowOptions): void;
|
|
1468
|
+
declare function useEventListener<EventT extends keyof WindowEventMap>(source: "window", eventName: EventT, handler: (e: WindowEventMap[EventT]) => void, options?: WindowOptions): void;
|
|
1469
|
+
|
|
1446
1470
|
type KeyCallbacks = {
|
|
1447
1471
|
onKeyDown?: (e: KeyboardEvent) => void;
|
|
1448
1472
|
onKeyUp?: (e: KeyboardEvent) => void;
|
|
1449
1473
|
};
|
|
1450
|
-
declare function useKeyListener(callbacks: KeyCallbacks, options?:
|
|
1451
|
-
declare function useKeyState(key: string, options?:
|
|
1474
|
+
declare function useKeyListener(callbacks: KeyCallbacks, options?: WindowOptions): void;
|
|
1475
|
+
declare function useKeyState(key: string, options?: WindowOptions): boolean;
|
|
1452
1476
|
|
|
1453
1477
|
type ButtonProps = BasePrimitiveProps & {
|
|
1454
1478
|
onClick?: (e?: MouseEvent<HTMLButtonElement>) => unknown | Promise<unknown>;
|
|
@@ -25893,10 +25917,7 @@ declare class WebGPUEngine extends ThinWebGPUEngine {
|
|
|
25893
25917
|
* @param resolveColors If true, resolve the color textures (default: true) - still subject to texture.resolveMSAAColors
|
|
25894
25918
|
*/
|
|
25895
25919
|
resolveFramebuffer(texture: RenderTargetWrapper, resolveColors?: boolean): void;
|
|
25896
|
-
|
|
25897
|
-
* Unbind the current render target
|
|
25898
|
-
*/
|
|
25899
|
-
restoreDefaultFramebuffer(): void;
|
|
25920
|
+
restoreDefaultFramebuffer(unbindOnly?: boolean): void;
|
|
25900
25921
|
/**
|
|
25901
25922
|
* @internal
|
|
25902
25923
|
*/
|
|
@@ -60766,7 +60787,6 @@ interface AbstractEngineOptions {
|
|
|
60766
60787
|
*/
|
|
60767
60788
|
useHighPrecisionMatrix?: boolean;
|
|
60768
60789
|
/**
|
|
60769
|
-
* @experimental
|
|
60770
60790
|
* LargeWorldRendering helps avoid floating point imprecision of rendering large worlds by
|
|
60771
60791
|
* 1. Forcing highPrecisionMatrices (matrix computations in 64 bits instead of 32)
|
|
60772
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
|
|
@@ -61358,8 +61378,9 @@ declare abstract class AbstractEngine {
|
|
|
61358
61378
|
abstract updateTextureWrappingMode(texture: InternalTexture, wrapU: Nullable<number>, wrapV?: Nullable<number>, wrapR?: Nullable<number>): void;
|
|
61359
61379
|
/**
|
|
61360
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
|
|
61361
61382
|
*/
|
|
61362
|
-
abstract restoreDefaultFramebuffer(): void;
|
|
61383
|
+
abstract restoreDefaultFramebuffer(unbindOnly?: boolean): void;
|
|
61363
61384
|
/**
|
|
61364
61385
|
* Draw a list of indexed primitives
|
|
61365
61386
|
* @param fillMode defines the primitive to use
|
|
@@ -68566,7 +68587,6 @@ interface SceneOptions {
|
|
|
68566
68587
|
*/
|
|
68567
68588
|
useClonedMeshMap?: boolean;
|
|
68568
68589
|
/**
|
|
68569
|
-
* @experimental
|
|
68570
68590
|
* When enabled, the scene can handle large world coordinate rendering without jittering caused by floating point imprecision on the GPU.
|
|
68571
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.
|
|
68572
68592
|
*
|
|
@@ -70088,13 +70108,11 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
|
|
|
70088
70108
|
setSceneUniformBuffer(ubo: UniformBuffer): void;
|
|
70089
70109
|
private _floatingOriginScene;
|
|
70090
70110
|
/**
|
|
70091
|
-
* @experimental
|
|
70092
70111
|
* True if floatingOriginMode was passed to engine or this scene creation otions.
|
|
70093
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
|
|
70094
70113
|
*/
|
|
70095
70114
|
get floatingOriginMode(): boolean;
|
|
70096
70115
|
/**
|
|
70097
|
-
* @experimental
|
|
70098
70116
|
* When floatingOriginMode is enabled, offset is equal to the eye position. Default to ZeroReadonly when mode is disabled.
|
|
70099
70117
|
*/
|
|
70100
70118
|
get floatingOriginOffset(): Vector3;
|
|
@@ -73799,5 +73817,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
|
|
|
73799
73817
|
declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
|
|
73800
73818
|
declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
|
|
73801
73819
|
|
|
73802
|
-
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, useEventfulState, useInterceptObservable, useKeyListener, useKeyState, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, usePropertyChangedNotifier, useQuaternionProperty, useResource, useSidePaneDockOverrides, useToast, useVector3Property };
|
|
73803
|
-
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 };
|
|
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 };
|
|
73821
|
+
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,
|
|
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-
|
|
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-
|
|
707
|
+
//# sourceMappingURL=quickCreateToolsService-BGHjWv6H.js.map
|