@babylonjs/inspector 8.51.2 → 8.52.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.
- package/lib/{extensionsListService-Dj1XtRzF.js → extensionsListService-qU9tqfBg.js} +2 -2
- package/lib/{extensionsListService-Dj1XtRzF.js.map → extensionsListService-qU9tqfBg.js.map} +1 -1
- package/lib/{index-DrQrky1o.js → index-Cmd13UXt.js} +498 -188
- package/lib/index-Cmd13UXt.js.map +1 -0
- package/lib/index.d.ts +28 -4
- package/lib/index.js +1 -1
- package/lib/{quickCreateToolsService-BuEys230.js → quickCreateToolsService-C9jZpIAl.js} +2 -2
- package/lib/{quickCreateToolsService-BuEys230.js.map → quickCreateToolsService-C9jZpIAl.js.map} +1 -1
- package/lib/{reflectorService-Dwsb8ijf.js → reflectorService-DGy36OAK.js} +2 -2
- package/lib/{reflectorService-Dwsb8ijf.js.map → reflectorService-DGy36OAK.js.map} +1 -1
- package/package.json +1 -1
- package/lib/index-DrQrky1o.js.map +0 -1
package/lib/index.d.ts
CHANGED
|
@@ -653,7 +653,7 @@ interface ISelectionService extends IService<typeof SelectionServiceIdentity> {
|
|
|
653
653
|
/**
|
|
654
654
|
* Gets or sets the currently selected entity.
|
|
655
655
|
*/
|
|
656
|
-
selectedEntity: Nullable$1<
|
|
656
|
+
selectedEntity: Nullable$1<object>;
|
|
657
657
|
/**
|
|
658
658
|
* An observable that notifies when the selected entity changes.
|
|
659
659
|
*/
|
|
@@ -719,7 +719,7 @@ type SceneExplorerDragDropConfig<T> = Readonly<{
|
|
|
719
719
|
*/
|
|
720
720
|
onDrop: (draggedEntity: T, targetEntity: T | null) => void;
|
|
721
721
|
}>;
|
|
722
|
-
type SceneExplorerSection<T> = Readonly<{
|
|
722
|
+
type SceneExplorerSection<T extends object> = Readonly<{
|
|
723
723
|
/**
|
|
724
724
|
* The display name of the section (e.g. "Nodes", "Materials", etc.).
|
|
725
725
|
*/
|
|
@@ -1328,12 +1328,12 @@ interface ISceneExplorerService extends IService<typeof SceneExplorerServiceIden
|
|
|
1328
1328
|
* Adds a new section (e.g. "Nodes", "Materials", etc.) (this includes all descendants within the scene graph).
|
|
1329
1329
|
* @param section A description of the section to add.
|
|
1330
1330
|
*/
|
|
1331
|
-
addSection<T>(section: SceneExplorerSection<T>): IDisposable$1;
|
|
1331
|
+
addSection<T extends object>(section: SceneExplorerSection<T>): IDisposable$1;
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Adds a new command (e.g. "Delete", "Rename", etc.) that can be executed on entities in the scene explorer.
|
|
1334
1334
|
* @param command A description of the command to add.
|
|
1335
1335
|
*/
|
|
1336
|
-
addEntityCommand<T>(command: SceneExplorerCommandProvider<T>): IDisposable$1;
|
|
1336
|
+
addEntityCommand<T extends object>(command: SceneExplorerCommandProvider<T>): IDisposable$1;
|
|
1337
1337
|
/**
|
|
1338
1338
|
* Adds a new command that can be executed on sections in the scene explorer.
|
|
1339
1339
|
* @param command A description of the command to add.
|
|
@@ -27387,6 +27387,7 @@ declare class ObjectRenderer {
|
|
|
27387
27387
|
protected _activeBoundingBoxes: SmartArray<BoundingBox>;
|
|
27388
27388
|
protected _useUBO: boolean;
|
|
27389
27389
|
protected _sceneUBOs: UniformBuffer[];
|
|
27390
|
+
protected _sceneUBOIsMultiview: boolean[];
|
|
27390
27391
|
protected _currentSceneUBO: UniformBuffer;
|
|
27391
27392
|
protected _currentFrameId: number;
|
|
27392
27393
|
protected _currentSceneUBOIndex: number;
|
|
@@ -35470,6 +35471,10 @@ declare class _InstanceDataStorage {
|
|
|
35470
35471
|
[id: number]: _InstanceDataStorageRenderPass;
|
|
35471
35472
|
};
|
|
35472
35473
|
/** @internal */
|
|
35474
|
+
dataStorageRenderPass: _InstanceDataStorageRenderPass;
|
|
35475
|
+
/** @internal */
|
|
35476
|
+
useMonoDataStorageRenderPass: boolean;
|
|
35477
|
+
/** @internal */
|
|
35473
35478
|
overridenInstanceCount: number;
|
|
35474
35479
|
/** @internal */
|
|
35475
35480
|
isFrozen: boolean;
|
|
@@ -36243,6 +36248,7 @@ declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
|
|
|
36243
36248
|
* @internal
|
|
36244
36249
|
*/
|
|
36245
36250
|
_processRendering(renderingMesh: AbstractMesh, subMesh: SubMesh, effect: Effect, fillMode: number, batch: _InstancesBatch, hardwareInstancedRendering: boolean, onBeforeDraw: (isInstance: boolean, world: Matrix, effectiveMaterial?: Material) => void, effectiveMaterial?: Material): Mesh;
|
|
36251
|
+
private _disposeInstanceDataStorageRenderPass;
|
|
36246
36252
|
/**
|
|
36247
36253
|
* @internal
|
|
36248
36254
|
*/
|
|
@@ -49081,6 +49087,8 @@ declare module "../../scene" {
|
|
|
49081
49087
|
/** @internal */
|
|
49082
49088
|
_multiviewSceneUbo: Nullable<UniformBuffer>;
|
|
49083
49089
|
/** @internal */
|
|
49090
|
+
_multiviewSceneUboIsActive: boolean;
|
|
49091
|
+
/** @internal */
|
|
49084
49092
|
_createMultiviewUbo(): void;
|
|
49085
49093
|
/** @internal */
|
|
49086
49094
|
_updateMultiviewUbo(viewR?: Matrix, projectionR?: Matrix): void;
|
|
@@ -68944,6 +68952,15 @@ interface IAnimatable {
|
|
|
68944
68952
|
animations: Nullable<Array<Animation>>;
|
|
68945
68953
|
}
|
|
68946
68954
|
|
|
68955
|
+
/**
|
|
68956
|
+
* Options for creating a scene uniform buffer
|
|
68957
|
+
*/
|
|
68958
|
+
interface ICreateSceneUboOptions {
|
|
68959
|
+
/** Define if the UBOs should be tracked in the frame (default: undefined - will use the value from Engine._features.trackUbosInFrame) */
|
|
68960
|
+
trackUBOsInFrame?: boolean;
|
|
68961
|
+
/** When true, always creates a mono (non-multiview) UBO, bypassing any multiview override */
|
|
68962
|
+
forceMono?: boolean;
|
|
68963
|
+
}
|
|
68947
68964
|
/**
|
|
68948
68965
|
* Define an interface for all classes that will hold resources
|
|
68949
68966
|
*/
|
|
@@ -70485,6 +70502,13 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
|
|
|
70485
70502
|
* @returns a new ubo
|
|
70486
70503
|
*/
|
|
70487
70504
|
createSceneUniformBuffer(name?: string, trackUBOsInFrame?: boolean): UniformBuffer;
|
|
70505
|
+
/**
|
|
70506
|
+
* Creates a scene UBO
|
|
70507
|
+
* @param name name of the uniform buffer (optional, for debugging purpose only)
|
|
70508
|
+
* @param options options for creating the scene uniform buffer
|
|
70509
|
+
* @returns a new ubo
|
|
70510
|
+
*/
|
|
70511
|
+
createSceneUniformBuffer(name?: string, options?: ICreateSceneUboOptions): UniformBuffer;
|
|
70488
70512
|
/**
|
|
70489
70513
|
* Sets the scene ubo
|
|
70490
70514
|
* @param ubo the ubo to set for the scene
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Accordion, f as AccordionSection, an as AccordionSectionItem, v as AttachDebugLayer, b1 as BooleanBadgePropertyLine, z as BoundProperty, R as BuiltInsExtensionFeed, B as Button, g as ButtonLine, ao as Checkbox, C as CheckboxPropertyLine, aW as ChildWindow, ap as Collapse, aA as Color3GradientComponent, aZ as Color3GradientList, b2 as Color3PropertyLine, aB as Color4GradientComponent, a_ as Color4GradientList, b3 as Color4PropertyLine, aq as ColorPickerPopup, aC as ColorStepGradientComponent, at as ComboBox, b4 as ComboBoxPropertyLine, ag as ConstructorFactory, t as ConvertOptions, D as DebugServiceIdentity, w as DetachDebugLayer, au as DraggableLine, av as Dropdown, ay as EntitySelector, H as ErrorBoundary, J as ExtensibleAccordion, az as FactorGradientComponent, aY as FactorGradientList, aX as FileUploadLine, ac as GetPropertyDescriptor, G as GizmoServiceIdentity, b5 as HexPropertyLine, aD as InfoLabel, ar as InputHexField, as as InputHsvField, I as Inspector, ab as InterceptFunction, ae as InterceptProperty, ad as IsPropertyReadonly, b8 as LineContainer, l as Link, b6 as LinkPropertyLine, L as LinkToEntity, F as LinkToEntityPropertyLine, aF as List, a8 as MakeDialogTeachingMoment, aE as MakeLazyComponent, j as MakePopoverTeachingMoment, Z as MakePropertyHook, a7 as MakeTeachingMoment, aG as MaterialSelector, M as MessageBar, aH as NodeSelector, aw as NumberDropdown, x as NumberDropdownPropertyLine, N as NumberInputPropertyLine, af as ObservableCollection, a$ as Pane, b9 as PlaceholderPropertyLine, P as Popover, aI as PositionedPopover, n as PropertiesServiceIdentity, E as Property, O as PropertyContext, b7 as PropertyLine, bg as QuaternionPropertyLine, bf as RotationVectorPropertyLine, c as SceneContextIdentity, o as SceneExplorerServiceIdentity, aJ as SearchBar, aK as SearchBox, ah as SelectionServiceDefinition, d as SelectionServiceIdentity, p as SettingsServiceIdentity, ai as SettingsStore, s as SettingsStoreIdentity, b as ShellServiceIdentity, aj as ShowInspector, m as SidePaneContainer, aL as SkeletonSelector, aM as SpinButton, S as SpinButtonPropertyLine, q as StatsServiceIdentity, ax as StringDropdown, y as StringDropdownPropertyLine, ba as StringifiedPropertyLine, aN as Switch, bb as SwitchPropertyLine, aO as SyncedSliderInput, bc as SyncedSliderPropertyLine, k as TeachingMoment, bd as TextAreaPropertyLine, aQ as TextInput, T as TextInputPropertyLine, be as TextPropertyLine, aP as Textarea, aR as TextureSelector, b0 as TextureUpload, K as Theme, r as ThemeServiceIdentity, aS as ToastProvider, aT as ToggleButton, h as ToolsServiceIdentity, aU as Tooltip, aV as UploadButton, bh as Vector2PropertyLine, V as Vector3PropertyLine, bi as Vector4PropertyLine, a6 as useAngleConverters, a4 as useAsyncResource, W as useColor3Property, X as useColor4Property, am as useEventListener, $ as useEventfulState, _ as useInterceptObservable, ak as useKeyListener, al as useKeyState, a0 as useObservableCollection, e as useObservableState, a1 as useOrderedObservableCollection, a2 as usePollingObservable, a as useProperty, Q as usePropertyChangedNotifier, Y as useQuaternionProperty, a3 as useResource, a5 as useSetting, aa as useTheme, a9 as useThemeMode, u as useToast, U as useVector3Property } from './index-
|
|
1
|
+
export { A as Accordion, f as AccordionSection, an as AccordionSectionItem, v as AttachDebugLayer, b1 as BooleanBadgePropertyLine, z as BoundProperty, R as BuiltInsExtensionFeed, B as Button, g as ButtonLine, ao as Checkbox, C as CheckboxPropertyLine, aW as ChildWindow, ap as Collapse, aA as Color3GradientComponent, aZ as Color3GradientList, b2 as Color3PropertyLine, aB as Color4GradientComponent, a_ as Color4GradientList, b3 as Color4PropertyLine, aq as ColorPickerPopup, aC as ColorStepGradientComponent, at as ComboBox, b4 as ComboBoxPropertyLine, ag as ConstructorFactory, t as ConvertOptions, D as DebugServiceIdentity, w as DetachDebugLayer, au as DraggableLine, av as Dropdown, ay as EntitySelector, H as ErrorBoundary, J as ExtensibleAccordion, az as FactorGradientComponent, aY as FactorGradientList, aX as FileUploadLine, ac as GetPropertyDescriptor, G as GizmoServiceIdentity, b5 as HexPropertyLine, aD as InfoLabel, ar as InputHexField, as as InputHsvField, I as Inspector, ab as InterceptFunction, ae as InterceptProperty, ad as IsPropertyReadonly, b8 as LineContainer, l as Link, b6 as LinkPropertyLine, L as LinkToEntity, F as LinkToEntityPropertyLine, aF as List, a8 as MakeDialogTeachingMoment, aE as MakeLazyComponent, j as MakePopoverTeachingMoment, Z as MakePropertyHook, a7 as MakeTeachingMoment, aG as MaterialSelector, M as MessageBar, aH as NodeSelector, aw as NumberDropdown, x as NumberDropdownPropertyLine, N as NumberInputPropertyLine, af as ObservableCollection, a$ as Pane, b9 as PlaceholderPropertyLine, P as Popover, aI as PositionedPopover, n as PropertiesServiceIdentity, E as Property, O as PropertyContext, b7 as PropertyLine, bg as QuaternionPropertyLine, bf as RotationVectorPropertyLine, c as SceneContextIdentity, o as SceneExplorerServiceIdentity, aJ as SearchBar, aK as SearchBox, ah as SelectionServiceDefinition, d as SelectionServiceIdentity, p as SettingsServiceIdentity, ai as SettingsStore, s as SettingsStoreIdentity, b as ShellServiceIdentity, aj as ShowInspector, m as SidePaneContainer, aL as SkeletonSelector, aM as SpinButton, S as SpinButtonPropertyLine, q as StatsServiceIdentity, ax as StringDropdown, y as StringDropdownPropertyLine, ba as StringifiedPropertyLine, aN as Switch, bb as SwitchPropertyLine, aO as SyncedSliderInput, bc as SyncedSliderPropertyLine, k as TeachingMoment, bd as TextAreaPropertyLine, aQ as TextInput, T as TextInputPropertyLine, be as TextPropertyLine, aP as Textarea, aR as TextureSelector, b0 as TextureUpload, K as Theme, r as ThemeServiceIdentity, aS as ToastProvider, aT as ToggleButton, h as ToolsServiceIdentity, aU as Tooltip, aV as UploadButton, bh as Vector2PropertyLine, V as Vector3PropertyLine, bi as Vector4PropertyLine, a6 as useAngleConverters, a4 as useAsyncResource, W as useColor3Property, X as useColor4Property, am as useEventListener, $ as useEventfulState, _ as useInterceptObservable, ak as useKeyListener, al as useKeyState, a0 as useObservableCollection, e as useObservableState, a1 as useOrderedObservableCollection, a2 as usePollingObservable, a as useProperty, Q as usePropertyChangedNotifier, Y as useQuaternionProperty, a3 as useResource, a5 as useSetting, aa as useTheme, a9 as useThemeMode, u as useToast, U as useVector3Property } from './index-Cmd13UXt.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@fluentui/react-components';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { P as Popover, u as useToast, B as Button, L as LinkToEntity, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, a as useProperty, M as MessageBar, b as ShellServiceIdentity, c as SceneContextIdentity, d as SelectionServiceIdentity, e as useObservableState, A as Accordion, f as AccordionSection } from './index-
|
|
2
|
+
import { P as Popover, u as useToast, B as Button, L as LinkToEntity, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, a as useProperty, M as MessageBar, b as ShellServiceIdentity, c as SceneContextIdentity, d as SelectionServiceIdentity, e as useObservableState, A as Accordion, f as AccordionSection } from './index-Cmd13UXt.js';
|
|
3
3
|
import { SettingsRegular, CollectionsAdd20Regular } from '@fluentui/react-icons';
|
|
4
4
|
import '@babylonjs/core/Particles/webgl2ParticleSystem.js';
|
|
5
5
|
import '@babylonjs/core/Rendering/prePassRendererSceneComponent.js';
|
|
@@ -746,4 +746,4 @@ var quickCreateToolsService = {
|
|
|
746
746
|
};
|
|
747
747
|
|
|
748
748
|
export { CreateToolsServiceDefinition, quickCreateToolsService as default };
|
|
749
|
-
//# sourceMappingURL=quickCreateToolsService-
|
|
749
|
+
//# sourceMappingURL=quickCreateToolsService-C9jZpIAl.js.map
|