@babylonjs/inspector 8.40.0-preview → 8.40.1-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/{captureService-CKaxhsnk.js → captureService-BRTZVOQG.js} +2 -2
- package/lib/{captureService-CKaxhsnk.js.map → captureService-BRTZVOQG.js.map} +1 -1
- package/lib/{exportService-UnWb_yKY.js → exportService-DQHU4y0U.js} +2 -2
- package/lib/{exportService-UnWb_yKY.js.map → exportService-DQHU4y0U.js.map} +1 -1
- package/lib/{extensionsListService-CA1ko14g.js → extensionsListService-DBYs42So.js} +2 -2
- package/lib/{extensionsListService-CA1ko14g.js.map → extensionsListService-DBYs42So.js.map} +1 -1
- package/lib/{importService-B66It_2q.js → importService-JfYlYCYK.js} +2 -2
- package/lib/{importService-B66It_2q.js.map → importService-JfYlYCYK.js.map} +1 -1
- package/lib/{index-BWou2YX3.js → index-qUYZSx66.js} +11 -6
- package/lib/{index-BWou2YX3.js.map → index-qUYZSx66.js.map} +1 -1
- package/lib/index.d.ts +21 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1195,6 +1195,12 @@ type PropertyChangedEvent = {
|
|
|
1195
1195
|
initialValue: any;
|
|
1196
1196
|
allowNullValue?: boolean;
|
|
1197
1197
|
};
|
|
1198
|
+
/**
|
|
1199
|
+
* Converts Inspector v1 options to Inspector v2 options.
|
|
1200
|
+
* @param v1Options Inspector v1 options.
|
|
1201
|
+
* @returns Inspector v2 options.
|
|
1202
|
+
*/
|
|
1203
|
+
declare function ConvertOptions(v1Options: Partial<IInspectorOptions$1>): Partial<InspectorOptions>;
|
|
1198
1204
|
/**
|
|
1199
1205
|
* @deprecated This class only exists for backward compatibility. Use the module-level ShowInspector function instead.
|
|
1200
1206
|
*/
|
|
@@ -31705,8 +31711,9 @@ declare class Geometry implements IGetSetVerticesData {
|
|
|
31705
31711
|
* @param vertexData defines the VertexData used to get geometry data
|
|
31706
31712
|
* @param updatable defines if geometry must be updatable (false by default)
|
|
31707
31713
|
* @param mesh defines the mesh that will be associated with the geometry
|
|
31714
|
+
* @param totalVertices defines the total number of vertices (optional)
|
|
31708
31715
|
*/
|
|
31709
|
-
constructor(id: string, scene?: Scene, vertexData?: VertexData, updatable?: boolean, mesh?: Nullable<Mesh>);
|
|
31716
|
+
constructor(id: string, scene?: Scene, vertexData?: VertexData, updatable?: boolean, mesh?: Nullable<Mesh>, totalVertices?: Nullable<number>);
|
|
31710
31717
|
/**
|
|
31711
31718
|
* Gets the current extend of the geometry
|
|
31712
31719
|
*/
|
|
@@ -35365,9 +35372,10 @@ declare class Mesh extends AbstractMesh implements IGetSetVerticesData {
|
|
|
35365
35372
|
* Sets the mesh global Vertex Buffer
|
|
35366
35373
|
* @param buffer defines the buffer to use
|
|
35367
35374
|
* @param disposeExistingBuffer disposes the existing buffer, if any (default: true)
|
|
35375
|
+
* @param totalVertices defines the total number of vertices for position kind (could be null)
|
|
35368
35376
|
* @returns the current mesh
|
|
35369
35377
|
*/
|
|
35370
|
-
setVerticesBuffer(buffer: VertexBuffer, disposeExistingBuffer?: boolean): Mesh;
|
|
35378
|
+
setVerticesBuffer(buffer: VertexBuffer, disposeExistingBuffer?: boolean, totalVertices?: Nullable<number>): Mesh;
|
|
35371
35379
|
/**
|
|
35372
35380
|
* Update a specific associated vertex buffer
|
|
35373
35381
|
* @param kind defines which buffer to write to (positions, indices, normals, etc). Possible `kind` values :
|
|
@@ -49003,6 +49011,11 @@ declare abstract class FrameGraphTask {
|
|
|
49003
49011
|
* @param skipCreationOfDisabledPasses If true, the disabled passe(s) won't be created.
|
|
49004
49012
|
*/
|
|
49005
49013
|
abstract record(skipCreationOfDisabledPasses?: boolean): void;
|
|
49014
|
+
/**
|
|
49015
|
+
* Gets the current class name
|
|
49016
|
+
* @returns the class name
|
|
49017
|
+
*/
|
|
49018
|
+
getClassName(): string;
|
|
49006
49019
|
/**
|
|
49007
49020
|
* 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.
|
|
49008
49021
|
* This allows you to initialize asynchronous resources, which is not possible in the constructor.
|
|
@@ -49055,6 +49068,7 @@ declare class FrameGraphCopyToBackbufferColorTask extends FrameGraphTask {
|
|
|
49055
49068
|
* The source texture to copy to the backbuffer color texture.
|
|
49056
49069
|
*/
|
|
49057
49070
|
sourceTexture: FrameGraphTextureHandle;
|
|
49071
|
+
getClassName(): string;
|
|
49058
49072
|
record(): void;
|
|
49059
49073
|
}
|
|
49060
49074
|
|
|
@@ -50256,6 +50270,7 @@ declare class FrameGraphObjectRendererTask extends FrameGraphTask {
|
|
|
50256
50270
|
*/
|
|
50257
50271
|
constructor(name: string, frameGraph: FrameGraph, scene: Scene, options?: ObjectRendererOptions, existingObjectRenderer?: ObjectRenderer);
|
|
50258
50272
|
isReady(): boolean;
|
|
50273
|
+
getClassName(): string;
|
|
50259
50274
|
record(skipCreationOfDisabledPasses?: boolean, additionalExecute?: (context: FrameGraphRenderContext) => void): FrameGraphRenderPass;
|
|
50260
50275
|
dispose(): void;
|
|
50261
50276
|
protected _setLightsForShadow(): void;
|
|
@@ -50639,6 +50654,7 @@ declare class FrameGraphShadowGeneratorTask extends FrameGraphTask {
|
|
|
50639
50654
|
* @param frameGraph The frame graph the task belongs to.
|
|
50640
50655
|
*/
|
|
50641
50656
|
constructor(name: string, frameGraph: FrameGraph);
|
|
50657
|
+
getClassName(): string;
|
|
50642
50658
|
record(): void;
|
|
50643
50659
|
dispose(): void;
|
|
50644
50660
|
}
|
|
@@ -50670,6 +50686,7 @@ declare class FrameGraphRenderContext extends FrameGraphContext {
|
|
|
50670
50686
|
private _debugMessageHasBeenPushed;
|
|
50671
50687
|
private _renderTargetIsBound;
|
|
50672
50688
|
private readonly _copyTexture;
|
|
50689
|
+
private readonly _copyDepthTexture;
|
|
50673
50690
|
private static _IsObjectRenderer;
|
|
50674
50691
|
/** @internal */
|
|
50675
50692
|
constructor(engine: AbstractEngine, textureManager: FrameGraphTextureManager, scene: Scene);
|
|
@@ -56924,6 +56941,7 @@ declare class AlphaState {
|
|
|
56924
56941
|
constructor(_supportBlendParametersPerTarget: boolean);
|
|
56925
56942
|
get isDirty(): boolean;
|
|
56926
56943
|
get alphaBlend(): boolean;
|
|
56944
|
+
set alphaBlend(value: boolean);
|
|
56927
56945
|
setAlphaBlend(value: boolean, targetIndex?: number): void;
|
|
56928
56946
|
setAlphaBlendConstants(r: number, g: number, b: number, a: number): void;
|
|
56929
56947
|
setAlphaBlendFunctionParameters(srcRGBFactor: number, dstRGBFactor: number, srcAlphaFactor: number, dstAlphaFactor: number, targetIndex?: number): void;
|
|
@@ -72197,5 +72215,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
|
|
|
72197
72215
|
declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
|
|
72198
72216
|
declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
|
|
72199
72217
|
|
|
72200
|
-
export { Accordion, AccordionSection, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, DebugServiceIdentity, DetachDebugLayer, 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 };
|
|
72218
|
+
export { Accordion, AccordionSection, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, ConvertOptions, DebugServiceIdentity, DetachDebugLayer, 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 };
|
|
72201
72219
|
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 {
|
|
1
|
+
export { a5 as Accordion, a4 as AccordionSection, A as AttachDebugLayer, aA as BooleanBadgePropertyLine, l as BoundProperty, n as BuiltInsExtensionFeed, a6 as Button, B as ButtonLine, a7 as Checkbox, aB as CheckboxPropertyLine, C as Collapse, ah as Color3GradientComponent, ax as Color3GradientList, aC as Color3PropertyLine, ai as Color4GradientComponent, ay as Color4GradientList, aD as Color4PropertyLine, a8 as ColorPickerPopup, aj as ColorStepGradientComponent, ab as ComboBox, _ as ConstructorFactory, i as ConvertOptions, D as DebugServiceIdentity, j as DetachDebugLayer, ac as DraggableLine, ad as Dropdown, E as ExtensibleAccordion, ag as FactorGradientComponent, aw as FactorGradientList, F as FileUploadLine, W as GetPropertyDescriptor, aE as HexPropertyLine, ak as InfoLabel, a9 as InputHexField, aa as InputHsvField, I as Inspector, V as InterceptFunction, Y as InterceptProperty, X as IsPropertyReadonly, aJ as LineContainer, L as Link, aH as LinkPropertyLine, m as LinkToEntityPropertyLine, al as List, U as MakeDialogTeachingMoment, M as MakeLazyComponent, c as MakePopoverTeachingMoment, t as MakePropertyHook, R as MakeTeachingMoment, am as MessageBar, ae as NumberDropdown, N as NumberDropdownPropertyLine, aG as NumberInputPropertyLine, Z as ObservableCollection, az as Pane, aK as PlaceholderPropertyLine, an as PositionedPopover, P as PropertiesServiceIdentity, aI as PropertyLine, aQ as QuaternionPropertyLine, aP as RotationVectorPropertyLine, $ as SceneContextIdentity, f as SceneExplorerServiceIdentity, ao as SearchBar, ap as SearchBox, a1 as SelectionServiceDefinition, a0 as SelectionServiceIdentity, a2 as SettingsContextIdentity, g as SettingsServiceIdentity, b as ShellServiceIdentity, a3 as ShowInspector, e as SidePaneContainer, aq as SpinButton, aL as SpinButtonPropertyLine, h as StatsServiceIdentity, af as StringDropdown, k as StringDropdownPropertyLine, aM as StringifiedPropertyLine, ar as Switch, S as SwitchPropertyLine, as as SyncedSliderInput, a as SyncedSliderPropertyLine, d as TeachingMoment, aN as TextAreaPropertyLine, au as TextInput, aF as TextInputPropertyLine, aO as TextPropertyLine, at as Textarea, av as ToggleButton, T as ToolsServiceIdentity, aR as Vector2PropertyLine, aS as Vector3PropertyLine, aT as Vector4PropertyLine, Q as useAngleConverters, J as useAsyncResource, q as useColor3Property, r as useColor4Property, K as useCompactMode, w as useEventfulState, v as useInterceptObservable, y as useObservableCollection, x as useObservableState, z as useOrderedObservableCollection, G as usePollingObservable, o as useProperty, s as useQuaternionProperty, H as useResource, O as useSidePaneDockOverrides, p as useVector3Property } from './index-qUYZSx66.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@babylonjs/core/Maths/math.color.js';
|