@babylonjs/inspector 8.38.0-preview → 8.39.0-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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentType, ComponentProps, FunctionComponent, PropsWithChildren, HTMLProps, ElementRef, ReactNode, ReactElement } from 'react';
3
+ import { ComponentType, ComponentProps, FunctionComponent, PropsWithChildren, HTMLProps, Ref, ForwardRefExoticComponent, RefAttributes, ElementRef, ReactNode, ReactElement } from 'react';
4
4
  import { IDisposable as IDisposable$1, Nullable as Nullable$1, IReadonlyObservable as IReadonlyObservable$2, Scene as Scene$1, IInspectorOptions as IInspectorOptions$1 } from '@babylonjs/core/index.js';
5
5
  import { IReadonlyObservable as IReadonlyObservable$1, Observable as Observable$1 } from '@babylonjs/core/Misc/observable.js';
6
6
  import { Nullable as Nullable$2 } from '@babylonjs/core/types.js';
@@ -332,9 +332,14 @@ type SidePaneDefinition = {
332
332
  suppressTeachingMoment?: boolean;
333
333
  };
334
334
  type RegisteredSidePane = {
335
- key: string;
335
+ readonly key: string;
336
336
  select(): void;
337
337
  };
338
+ type SidePaneContainer$1 = {
339
+ readonly isDocked: boolean;
340
+ dock(): void;
341
+ undock(): void;
342
+ };
338
343
  /**
339
344
  * Describes content that can be added to the shell's central area (between the side panes and toolbars - e.g. the main content).
340
345
  */
@@ -378,6 +383,14 @@ interface IShellService extends IService<typeof ShellServiceIdentity> {
378
383
  * Resets the side pane layout to the default configuration.
379
384
  */
380
385
  resetSidePaneLayout(): void;
386
+ /**
387
+ * The left side pane container.
388
+ */
389
+ readonly leftSidePaneContainer: SidePaneContainer$1;
390
+ /**
391
+ * The right side pane container.
392
+ */
393
+ readonly rightSidePaneContainer: SidePaneContainer$1;
381
394
  /**
382
395
  * The side panes currently present in the shell.
383
396
  */
@@ -619,10 +632,14 @@ type DynamicAccordionSectionContent<ContextT> = Readonly<{
619
632
  context: ContextT;
620
633
  }>;
621
634
  }>;
635
+ type SectionsImperativeRef = {
636
+ highlightSections: (sections: readonly string[]) => void;
637
+ };
622
638
  declare function ExtensibleAccordion<ContextT = unknown>(props: PropsWithChildren<{
623
639
  sections: readonly DynamicAccordionSection[];
624
640
  sectionContent: readonly DynamicAccordionSectionContent<ContextT>[];
625
641
  context: ContextT;
642
+ sectionsRef?: Ref<SectionsImperativeRef>;
626
643
  }>): react_jsx_runtime.JSX.Element;
627
644
 
628
645
  /**
@@ -990,6 +1007,13 @@ type PropertyHooks = {
990
1007
  */
991
1008
  declare function InterceptProperty<T extends object>(target: T, propertyKey: keyof T, hooks: PropertyHooks): IDisposable$1;
992
1009
 
1010
+ type PropertyChangeInfo = {
1011
+ readonly entity: unknown;
1012
+ readonly propertyKey: PropertyKey;
1013
+ readonly oldValue: unknown;
1014
+ readonly newValue: unknown;
1015
+ };
1016
+
993
1017
  declare const PropertiesServiceIdentity: unique symbol;
994
1018
  type PropertiesSectionContent<EntityT> = {
995
1019
  /**
@@ -1017,6 +1041,17 @@ interface IPropertiesService extends IService<typeof PropertiesServiceIdentity>
1017
1041
  * @param content A description of the content to add.
1018
1042
  */
1019
1043
  addSectionContent<EntityT>(content: PropertiesSectionContent<EntityT>): IDisposable$1;
1044
+ /**
1045
+ * Highlights the specified sections temporarily to draw the user's attention to them.
1046
+ * @remarks All other sections are collapsed (but can be expanded by the user) until a different entity is selected.
1047
+ * @param sectionIds The identities of the sections to highlight.
1048
+ */
1049
+ highlightSections(sectionIds: readonly string[]): void;
1050
+ /**
1051
+ * An observable that notifies when a property has been changed by the user.
1052
+ * @remarks This observable only fires for changes made through the properties pane.
1053
+ */
1054
+ readonly onPropertyChanged: IReadonlyObservable$2<PropertyChangeInfo>;
1020
1055
  }
1021
1056
 
1022
1057
  declare const SceneContextIdentity: unique symbol;
@@ -1164,6 +1199,8 @@ type PropertyChangedEvent = {
1164
1199
  */
1165
1200
  declare class Inspector {
1166
1201
  private static _CurrentInspectorToken;
1202
+ private static _PopupToggler;
1203
+ private static _SectionHighlighter;
1167
1204
  static readonly OnSelectionChangeObservable: Observable$1<any>;
1168
1205
  static readonly OnPropertyChangedObservable: Observable$1<PropertyChangedEvent>;
1169
1206
  static MarkLineContainerTitleForHighlighting(title: string): void;
@@ -1182,7 +1219,12 @@ type AccordionSectionProps = {
1182
1219
  collapseByDefault?: boolean;
1183
1220
  };
1184
1221
  declare const AccordionSection: FunctionComponent<PropsWithChildren<AccordionSectionProps>>;
1185
- declare const Accordion: FunctionComponent<PropsWithChildren>;
1222
+ type AccordionProps = {
1223
+ highlightSections?: readonly string[];
1224
+ };
1225
+ declare const Accordion: ForwardRefExoticComponent<AccordionProps & {
1226
+ children?: react.ReactNode | undefined;
1227
+ } & RefAttributes<HTMLDivElement>>;
1186
1228
 
1187
1229
  type ButtonProps = BasePrimitiveProps & {
1188
1230
  onClick: () => void;
@@ -22959,6 +23001,7 @@ declare class WebGPUTextureManager {
22959
23001
  generateMipmaps(gpuOrHdwTexture: GPUTexture | WebGPUHardwareTexture, format: GPUTextureFormat, mipLevelCount: number, faceIndex?: number, is3D?: boolean, commandEncoder?: GPUCommandEncoder): void;
22960
23002
  createGPUTextureForInternalTexture(texture: InternalTexture, width?: number, height?: number, depth?: number, creationFlags?: number, dontCreateMSAATexture?: boolean): WebGPUHardwareTexture;
22961
23003
  createMSAATexture(texture: InternalTexture, samples: number, releaseExisting?: boolean, index?: number): void;
23004
+ resolveMSAADepthTexture(msaaTexture: GPUTexture, outputTexture: GPUTexture, commandEncoder?: GPUCommandEncoder): void;
22962
23005
  updateCubeTextures(imageBitmaps: ImageBitmap[] | Uint8Array[], gpuTexture: GPUTexture, width: number, height: number, format: GPUTextureFormat, invertY?: boolean, premultiplyAlpha?: boolean, offsetX?: number, offsetY?: number): void;
22963
23006
  updateTexture(imageBitmap: ImageBitmap | Uint8Array | ImageData | HTMLImageElement | HTMLVideoElement | VideoFrame | HTMLCanvasElement | OffscreenCanvas, texture: GPUTexture | InternalTexture, width: number, height: number, layers: number, format: GPUTextureFormat, faceIndex?: number, mipLevel?: number, invertY?: boolean, premultiplyAlpha?: boolean, offsetX?: number, offsetY?: number, allowGPUOptimization?: boolean): void;
22964
23007
  readPixels(texture: GPUTexture, x: number, y: number, width: number, height: number, format: GPUTextureFormat, faceIndex?: number, mipLevel?: number, buffer?: Nullable<ArrayBufferView>, noDataConversion?: boolean): Promise<ArrayBufferView>;
@@ -25267,7 +25310,8 @@ declare class WebGPUEngine extends ThinWebGPUEngine {
25267
25310
  flushFramebuffer(): void;
25268
25311
  /** @internal */
25269
25312
  _currentFrameBufferIsDefaultFrameBuffer(): boolean;
25270
- private _startRenderTargetRenderPass;
25313
+ /** @internal */
25314
+ _startRenderTargetRenderPass(renderTargetWrapper: RenderTargetWrapper, setClearStates: boolean, clearColor: Nullable<IColor4Like>, clearDepth: boolean, clearStencil: boolean): void;
25271
25315
  private _startMainRenderPass;
25272
25316
  /**
25273
25317
  * Binds the frame buffer to the specified texture.
@@ -25287,17 +25331,19 @@ declare class WebGPUEngine extends ThinWebGPUEngine {
25287
25331
  * @param onBeforeUnbind defines a function which will be called before the effective unbind
25288
25332
  */
25289
25333
  unBindFramebuffer(texture: RenderTargetWrapper, disableGenerateMipMaps?: boolean, onBeforeUnbind?: () => void): void;
25334
+ private _resolveAndGenerateMipMapsFramebuffer;
25290
25335
  /**
25291
25336
  * Generates mipmaps for the texture of the (single) render target
25292
25337
  * @param texture The render target containing the texture to generate the mipmaps for
25293
25338
  */
25294
25339
  generateMipMapsFramebuffer(texture: RenderTargetWrapper): void;
25295
25340
  /**
25296
- * Resolves the MSAA texture of the (single) render target into its non-MSAA version.
25341
+ * Resolves the MSAA texture of the render target into its non-MSAA version.
25297
25342
  * Note that if "texture" is not a MSAA render target, no resolve is performed.
25298
- * @param _texture The render target texture containing the MSAA texture to resolve
25343
+ * @param texture The render target texture containing the MSAA texture to resolve
25344
+ * @param resolveColors If true, resolve the color textures (default: true) - still subject to texture.resolveMSAAColors
25299
25345
  */
25300
- resolveFramebuffer(_texture: RenderTargetWrapper): void;
25346
+ resolveFramebuffer(texture: RenderTargetWrapper, resolveColors?: boolean): void;
25301
25347
  /**
25302
25348
  * Unbind the current render target and bind the default framebuffer
25303
25349
  */
@@ -37344,6 +37390,15 @@ declare class SolidParticleSystem implements IDisposable {
37344
37390
  protected _autoUpdateSubMeshes: boolean;
37345
37391
  protected _tmpVertex: SolidParticleVertex;
37346
37392
  protected _recomputeInvisibles: boolean;
37393
+ protected _started: boolean;
37394
+ protected _stopped: boolean;
37395
+ protected _onBeforeRenderObserver: Nullable<Observer<Scene>>;
37396
+ /**
37397
+ * The overall motion speed (0.01 is default update speed, faster updates = faster animation)
37398
+ */
37399
+ updateSpeed: number;
37400
+ /** @internal */
37401
+ protected _scaledUpdateSpeed: number;
37347
37402
  /**
37348
37403
  * Creates a SPS (Solid Particle System) object.
37349
37404
  * @param name (String) is the SPS name, this will be the underlying mesh name.
@@ -37798,6 +37853,24 @@ declare class SolidParticleSystem implements IDisposable {
37798
37853
  * @param update the boolean update value actually passed to setParticles()
37799
37854
  */
37800
37855
  afterUpdateParticles(start?: number, stop?: number, update?: boolean): void;
37856
+ /**
37857
+ * Starts the particle system and begins to emit.
37858
+ * This will call buildMesh(), initParticles(), setParticles() and register the update loop.
37859
+ * @param delay defines the delay in milliseconds before starting the system (0 by default)
37860
+ */
37861
+ start(delay?: number): void;
37862
+ /**
37863
+ * Stops the particle system.
37864
+ */
37865
+ stop(): void;
37866
+ /**
37867
+ * Gets if the particle system is started
37868
+ */
37869
+ get started(): boolean;
37870
+ /**
37871
+ * Gets if the particle system is stopped
37872
+ */
37873
+ get stopped(): boolean;
37801
37874
  }
37802
37875
 
37803
37876
  /**
@@ -37858,6 +37931,15 @@ declare class SolidParticle {
37858
37931
  * Is the particle visible or not ?
37859
37932
  */
37860
37933
  isVisible: boolean;
37934
+ /**
37935
+ * Defines how long will the life of the particle be.
37936
+ * Set to Infinity for particles that should never die (default behavior for SolidParticleSystem).
37937
+ */
37938
+ lifeTime: number;
37939
+ /**
37940
+ * The current age of the particle.
37941
+ */
37942
+ age: number;
37861
37943
  /**
37862
37944
  * Index of this particle in the global "positions" array (Internal use)
37863
37945
  * @internal
@@ -39673,6 +39755,10 @@ interface Behavior<T> {
39673
39755
  * Called when the behavior is detached from its target
39674
39756
  */
39675
39757
  detach(): void;
39758
+ /**
39759
+ * Gets the current attached target
39760
+ */
39761
+ attachedNode: Nullable<T>;
39676
39762
  }
39677
39763
  /**
39678
39764
  * Interface implemented by classes supporting behaviors
@@ -48166,8 +48252,9 @@ declare module "../../abstractEngine" {
48166
48252
  * Resolves the MSAA textures of the (multi) render target into their non-MSAA version.
48167
48253
  * Note that if "texture" is not a MSAA render target, no resolve is performed.
48168
48254
  * @param texture The render target texture containing the MSAA textures to resolve
48255
+ * @param resolveColors If true, resolve the color textures (default: true) - still subject to texture.resolveMSAAColors
48169
48256
  */
48170
- resolveMultiFramebuffer(texture: RenderTargetWrapper): void;
48257
+ resolveMultiFramebuffer(texture: RenderTargetWrapper, resolveColors?: boolean): void;
48171
48258
  /**
48172
48259
  * Select a subsets of attachments to draw to.
48173
48260
  * @param attachments gl attachments
@@ -48864,6 +48951,12 @@ declare abstract class FrameGraphTask {
48864
48951
  * @param skipCreationOfDisabledPasses If true, the disabled passe(s) won't be created.
48865
48952
  */
48866
48953
  abstract record(skipCreationOfDisabledPasses?: boolean): void;
48954
+ /**
48955
+ * This function is called once after the task has been added to the frame graph and before the frame graph is built for the first time.
48956
+ * This allows you to initialize asynchronous resources, which is not possible in the constructor.
48957
+ * @returns A promise that resolves when the initialization is complete.
48958
+ */
48959
+ initAsync(): Promise<void>;
48867
48960
  /**
48868
48961
  * An observable that is triggered after the textures have been allocated.
48869
48962
  */
@@ -48964,6 +49057,8 @@ declare class FrameGraphPass<T extends FrameGraphContext> implements IFrameGraph
48964
49057
  _execute(): void;
48965
49058
  /** @internal */
48966
49059
  _isValid(): Nullable<string>;
49060
+ /** @internal */
49061
+ _dispose(): void;
48967
49062
  }
48968
49063
 
48969
49064
  /**
@@ -49027,6 +49122,8 @@ declare class FrameGraphRenderPass extends FrameGraphPass<FrameGraphRenderContex
49027
49122
  _execute(): void;
49028
49123
  /** @internal */
49029
49124
  _isValid(): Nullable<string>;
49125
+ /** @internal */
49126
+ _dispose(): void;
49030
49127
  }
49031
49128
 
49032
49129
  /**
@@ -49129,6 +49226,7 @@ declare class FrameGraphRenderTarget {
49129
49226
  constructor(name: string, textureManager: FrameGraphTextureManager, renderTargets?: FrameGraphTextureHandle | FrameGraphTextureHandle[], renderTargetDepth?: FrameGraphTextureHandle);
49130
49227
  get renderTargetWrapper(): RenderTargetWrapper | undefined;
49131
49228
  equals(other: FrameGraphRenderTarget): boolean;
49229
+ dispose(): void;
49132
49230
  }
49133
49231
 
49134
49232
  type HistoryTexture = {
@@ -49392,6 +49490,7 @@ declare class FrameGraph implements IDisposable {
49392
49490
  private readonly _tasks;
49393
49491
  private readonly _passContext;
49394
49492
  private readonly _renderContext;
49493
+ private readonly _initAsyncPromises;
49395
49494
  private _currentProcessedTask;
49396
49495
  private _whenReadyAsyncCancel;
49397
49496
  /**
@@ -49482,11 +49581,19 @@ declare class FrameGraph implements IDisposable {
49482
49581
  */
49483
49582
  addObjectListPass(name: string, whenTaskDisabled?: boolean): FrameGraphObjectListPass;
49484
49583
  private _addPass;
49584
+ /** @internal */
49585
+ _whenAsynchronousInitializationDoneAsync(): Promise<void>;
49586
+ /**
49587
+ * @deprecated Use buildAsync instead
49588
+ */
49589
+ build(): void;
49590
+ private _built;
49485
49591
  /**
49486
49592
  * Builds the frame graph.
49487
49593
  * This method should be called after all tasks have been added to the frame graph (FrameGraph.addTask) and before the graph is executed (FrameGraph.execute).
49594
+ * @param waitForReadiness If true, the method will wait for the frame graph to be ready before returning (default is true)
49488
49595
  */
49489
- build(): void;
49596
+ buildAsync(waitForReadiness?: boolean): Promise<void>;
49490
49597
  /**
49491
49598
  * Checks if the frame graph is ready to be executed.
49492
49599
  * Note that you can use the whenReadyAsync method to wait for the frame graph to be ready.
@@ -49494,10 +49601,10 @@ declare class FrameGraph implements IDisposable {
49494
49601
  */
49495
49602
  isReady(): boolean;
49496
49603
  /**
49497
- * Returns a promise that resolves when the frame graph is ready to be executed
49498
- * This method must be called after the graph has been built (FrameGraph.build called)!
49604
+ * Returns a promise that resolves when the frame graph is ready to be executed.
49605
+ * In general, calling “await buildAsync()” should suffice, as this function also waits for readiness by default.
49499
49606
  * @param timeStep Time step in ms between retries (default is 16)
49500
- * @param maxTimeout Maximum time in ms to wait for the graph to be ready (default is 5000)
49607
+ * @param maxTimeout Maximum time in ms to wait for the graph to be ready (default is 10000)
49501
49608
  * @returns The promise that resolves when the graph is ready
49502
49609
  */
49503
49610
  whenReadyAsync(timeStep?: number, maxTimeout?: number): Promise<void>;
@@ -49632,7 +49739,11 @@ declare class NodeRenderGraph {
49632
49739
  */
49633
49740
  attachedBlocks: NodeRenderGraphBlock[];
49634
49741
  /**
49635
- * Observable raised when the node render graph is built
49742
+ * Observable raised before the node render graph is built
49743
+ */
49744
+ onBeforeBuildObservable: Observable<FrameGraph>;
49745
+ /**
49746
+ * Observable raised after the node render graph is built
49636
49747
  * Note that this is the same observable as the one in the underlying FrameGraph!
49637
49748
  */
49638
49749
  get onBuildObservable(): Observable<FrameGraph>;
@@ -49668,6 +49779,10 @@ declare class NodeRenderGraph {
49668
49779
  * @returns the scene used by this node render graph
49669
49780
  */
49670
49781
  getScene(): Scene;
49782
+ /**
49783
+ * Gets the options used to create this node render graph
49784
+ */
49785
+ get options(): Immutable<INodeRenderGraphCreateOptions>;
49671
49786
  /**
49672
49787
  * Creates a new node render graph
49673
49788
  * @param name defines the name of the node render graph
@@ -49715,16 +49830,24 @@ declare class NodeRenderGraph {
49715
49830
  */
49716
49831
  private _createNodeEditor;
49717
49832
  /**
49718
- * Build the final list of blocks that will be executed by the "execute" method
49833
+ * @deprecated Use buildAsync instead
49719
49834
  * @param dontBuildFrameGraph If the underlying frame graph should not be built (default: false)
49720
49835
  */
49721
49836
  build(dontBuildFrameGraph?: boolean): void;
49837
+ /**
49838
+ * Build the final list of blocks that will be executed by the "execute" method.
49839
+ * It also builds the underlying frame graph unless specified otherwise.
49840
+ * @param dontBuildFrameGraph If the underlying frame graph should not be built (default: false)
49841
+ * @param waitForReadiness If the method should wait for the frame graph to be ready before resolving (default: true). Note that this parameter has no effect if "dontBuildFrameGraph" is true.
49842
+ * @param setAsSceneFrameGraph If the built frame graph must be set as the scene's frame graph (default: true)
49843
+ */
49844
+ buildAsync(dontBuildFrameGraph?: boolean, waitForReadiness?: boolean, setAsSceneFrameGraph?: boolean): Promise<void>;
49722
49845
  private _autoFillExternalInputs;
49723
49846
  /**
49724
49847
  * Returns a promise that resolves when the node render graph is ready to be executed
49725
49848
  * This method must be called after the graph has been built (NodeRenderGraph.build called)!
49726
49849
  * @param timeStep Time step in ms between retries (default is 16)
49727
- * @param maxTimeout Maximum time in ms to wait for the graph to be ready (default is 5000)
49850
+ * @param maxTimeout Maximum time in ms to wait for the graph to be ready (default is 10000)
49728
49851
  * @returns The promise that resolves when the graph is ready
49729
49852
  */
49730
49853
  whenReadyAsync(timeStep?: number, maxTimeout?: number): Promise<void>;
@@ -49761,6 +49884,7 @@ declare class NodeRenderGraph {
49761
49884
  setToDefault(): void;
49762
49885
  /**
49763
49886
  * Makes a duplicate of the current node render graph.
49887
+ * Note that you should call buildAsync() on the returned graph to make it usable.
49764
49888
  * @param name defines the name to use for the new node render graph
49765
49889
  * @returns the new node render graph
49766
49890
  */
@@ -49782,7 +49906,7 @@ declare class NodeRenderGraph {
49782
49906
  * @param nodeRenderGraphOptions defines options to use when creating the node render graph
49783
49907
  * @returns a new NodeRenderGraph
49784
49908
  */
49785
- static CreateDefault(name: string, scene: Scene, nodeRenderGraphOptions?: INodeRenderGraphCreateOptions): NodeRenderGraph;
49909
+ static CreateDefaultAsync(name: string, scene: Scene, nodeRenderGraphOptions?: INodeRenderGraphCreateOptions): Promise<NodeRenderGraph>;
49786
49910
  /**
49787
49911
  * Creates a node render graph from parsed graph data
49788
49912
  * @param source defines the JSON representation of the node render graph
@@ -50689,6 +50813,8 @@ interface IFrameGraphPass {
50689
50813
  _execute(): void;
50690
50814
  /** @internal */
50691
50815
  _isValid(): Nullable<string>;
50816
+ /** @internal */
50817
+ _dispose(): void;
50692
50818
  }
50693
50819
 
50694
50820
  /**
@@ -66715,9 +66841,10 @@ declare class Animation {
66715
66841
  * @param duration The duration of the animation, in milliseconds
66716
66842
  * @param onAnimationEnd Callback trigger at the end of the animation
66717
66843
  * @param stopCurrent If true, will stop the current animation on the property
66844
+ * @param customKeys defines custom keys to use for the animation instead of the from-to keys
66718
66845
  * @returns Nullable animation
66719
66846
  */
66720
- static TransitionTo(property: string, targetValue: any, host: any, scene: Scene, frameRate: number, transition: Animation, duration: number, onAnimationEnd?: Nullable<() => void>, stopCurrent?: boolean): Nullable<Animatable>;
66847
+ static TransitionTo(property: string, targetValue: any, host: any, scene: Scene, frameRate: number, transition: Animation, duration: number, onAnimationEnd?: Nullable<() => void>, stopCurrent?: boolean, customKeys?: IAnimationKey[]): Nullable<Animatable>;
66721
66848
  /**
66722
66849
  * Return the array of runtime animations currently using this animation
66723
66850
  */
@@ -72019,4 +72146,4 @@ declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
72019
72146
  declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
72020
72147
 
72021
72148
  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 };
72022
- export type { AcceptedDropdownValue, 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, ServiceDefinition, ServiceFactory, SidePaneDefinition, SpinButtonProps, SwitchProps, SyncedSliderProps, TensorPropertyLineProps, TextInputProps, TextareaProps, ToolbarItemDefinition };
72149
+ 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-DE0QdD6v.js';
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-DUdNW7K3.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@babylonjs/core/Maths/math.color.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "8.38.0-preview",
3
+ "version": "8.39.0-preview",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",