@babylonjs/inspector 8.36.1-preview → 8.37.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/{captureService-Blk4cfMr.js → captureService-DF30oxR-.js} +4 -3
- package/lib/{captureService-Blk4cfMr.js.map → captureService-DF30oxR-.js.map} +1 -1
- package/lib/{exportService-B6ej2VVA.js → exportService-BB4L49R4.js} +4 -3
- package/lib/{exportService-B6ej2VVA.js.map → exportService-BB4L49R4.js.map} +1 -1
- package/lib/{extensionsListService-D9hRcNXP.js → extensionsListService-DcpjIM_c.js} +4 -3
- package/lib/{extensionsListService-D9hRcNXP.js.map → extensionsListService-DcpjIM_c.js.map} +1 -1
- package/lib/{importService-ClQU2IkW.js → importService-DEe18q7F.js} +4 -3
- package/lib/{importService-ClQU2IkW.js.map → importService-DEe18q7F.js.map} +1 -1
- package/lib/{index-CmULGJMc.js → index-B-XOu4uI.js} +1135 -911
- package/lib/index-B-XOu4uI.js.map +1 -0
- package/lib/index.d.ts +202 -172
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/lib/index-CmULGJMc.js.map +0 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ComponentType, ComponentProps, FunctionComponent, PropsWithChildren, HTMLProps, ElementRef, ReactNode, ReactElement } from 'react';
|
|
4
|
-
import { IDisposable as IDisposable$1, Nullable as Nullable$1, IReadonlyObservable as IReadonlyObservable$2, Scene as Scene$1 } from '@babylonjs/core/index.js';
|
|
5
|
-
import { IReadonlyObservable as IReadonlyObservable$1 } from '@babylonjs/core/Misc/observable.js';
|
|
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
|
+
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';
|
|
7
7
|
import { PositioningImperativeRef, OnOpenChangeData, SpinnerProps } from '@fluentui/react-components';
|
|
8
8
|
import { Color3 as Color3$1, Color4 as Color4$1 } from '@babylonjs/core/Maths/math.color.js';
|
|
9
9
|
import { Vector3 as Vector3$1, Quaternion as Quaternion$1 } from '@babylonjs/core/Maths/math.vector.js';
|
|
10
10
|
import { IDisposable as IDisposable$2, Scene as Scene$2 } from '@babylonjs/core/scene.js';
|
|
11
|
-
import { IInspectorOptions as IInspectorOptions$1 } from '@babylonjs/core/Debug/debugLayer.js';
|
|
12
11
|
import { TernaryDarkMode } from 'usehooks-ts';
|
|
13
12
|
import { FluentIcon } from '@fluentui/react-icons';
|
|
14
13
|
import * as _fluentui_react_utilities from '@fluentui/react-utilities';
|
|
@@ -385,6 +384,7 @@ interface IShellService extends IService<typeof ShellServiceIdentity> {
|
|
|
385
384
|
readonly sidePanes: readonly RegisteredSidePane[];
|
|
386
385
|
}
|
|
387
386
|
type ToolbarMode = "full" | "compact";
|
|
387
|
+
type LayoutMode = "inline" | "overlay";
|
|
388
388
|
/**
|
|
389
389
|
* Options for configuring the shell service.
|
|
390
390
|
*/
|
|
@@ -417,10 +417,14 @@ type ShellServiceOptions = {
|
|
|
417
417
|
* @param sidePane The side pane to remap.
|
|
418
418
|
* @returns The new location for the side pane.
|
|
419
419
|
*/
|
|
420
|
-
sidePaneRemapper?: (sidePane: Readonly<SidePaneDefinition>) => {
|
|
420
|
+
sidePaneRemapper?: (sidePane: Readonly<SidePaneDefinition>) => Nullable$1<{
|
|
421
421
|
horizontalLocation: HorizontalLocation;
|
|
422
422
|
verticalLocation: VerticalLocation;
|
|
423
|
-
}
|
|
423
|
+
}>;
|
|
424
|
+
/**
|
|
425
|
+
* Determines whether the side panes and toolbars are displayed inline with the central content, or overlayed on top of it.
|
|
426
|
+
*/
|
|
427
|
+
layoutMode?: LayoutMode;
|
|
424
428
|
};
|
|
425
429
|
|
|
426
430
|
declare const SelectionServiceIdentity: unique symbol;
|
|
@@ -1121,13 +1125,33 @@ type ModularToolOptions = {
|
|
|
1121
1125
|
extensionFeeds?: readonly IExtensionFeed[];
|
|
1122
1126
|
} & ShellServiceOptions;
|
|
1123
1127
|
|
|
1124
|
-
type
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
declare function
|
|
1128
|
+
type InspectorOptions = Omit<ModularToolOptions, "toolbarMode"> & {
|
|
1129
|
+
autoResizeEngine?: boolean;
|
|
1130
|
+
};
|
|
1131
|
+
declare function ShowInspector(scene: Scene$2, options?: Partial<InspectorOptions>): IDisposable$2;
|
|
1132
|
+
|
|
1133
|
+
type PropertyChangedEvent = {
|
|
1134
|
+
object: any;
|
|
1135
|
+
property: string;
|
|
1136
|
+
value: any;
|
|
1137
|
+
initialValue: any;
|
|
1138
|
+
allowNullValue?: boolean;
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* @deprecated This class only exists for backward compatibility. Use the module-level ShowInspector function instead.
|
|
1142
|
+
*/
|
|
1128
1143
|
declare class Inspector {
|
|
1144
|
+
private static _CurrentInspectorToken;
|
|
1145
|
+
static readonly OnSelectionChangeObservable: Observable$1<any>;
|
|
1146
|
+
static readonly OnPropertyChangedObservable: Observable$1<PropertyChangedEvent>;
|
|
1147
|
+
static MarkLineContainerTitleForHighlighting(title: string): void;
|
|
1148
|
+
static MarkMultipleLineContainerTitlesForHighlighting(titles: string[]): void;
|
|
1149
|
+
static PopupEmbed(): void;
|
|
1150
|
+
static PopupSceneExplorer(): void;
|
|
1151
|
+
static PopupInspector(): void;
|
|
1129
1152
|
static get IsVisible(): boolean;
|
|
1130
|
-
static Show(scene: Scene$
|
|
1153
|
+
static Show(scene: Scene$1, userOptions: Partial<IInspectorOptions$1>): void;
|
|
1154
|
+
private static _Show;
|
|
1131
1155
|
static Hide(): void;
|
|
1132
1156
|
}
|
|
1133
1157
|
|
|
@@ -18911,8 +18935,10 @@ declare class SphereDirectedParticleEmitter extends SphereParticleEmitter {
|
|
|
18911
18935
|
* Called by the particle System when the direction is computed for the created particle.
|
|
18912
18936
|
* @param worldMatrix is the world matrix of the particle system
|
|
18913
18937
|
* @param directionToUpdate is the direction vector to update with the result
|
|
18938
|
+
* @param particle is the particle we are computed the position for
|
|
18939
|
+
* @param isLocal defines if the direction should be set in local space
|
|
18914
18940
|
*/
|
|
18915
|
-
startDirectionFunction(worldMatrix: Matrix, directionToUpdate: Vector3): void;
|
|
18941
|
+
startDirectionFunction(worldMatrix: Matrix, directionToUpdate: Vector3, particle: Particle, isLocal: boolean): void;
|
|
18916
18942
|
/**
|
|
18917
18943
|
* Clones the current emitter and returns a copy of it
|
|
18918
18944
|
* @returns the new emitter
|
|
@@ -20626,7 +20652,9 @@ declare enum NodeParticleContextualSources {
|
|
|
20626
20652
|
/** Color Step */
|
|
20627
20653
|
ColorStep = 22,
|
|
20628
20654
|
/** Scaled Color Step */
|
|
20629
|
-
ScaledColorStep = 23
|
|
20655
|
+
ScaledColorStep = 23,
|
|
20656
|
+
/** Local Position Updated */
|
|
20657
|
+
LocalPositionUpdated = 24
|
|
20630
20658
|
}
|
|
20631
20659
|
|
|
20632
20660
|
/**
|
|
@@ -20720,6 +20748,157 @@ declare class NodeParticleBuildState {
|
|
|
20720
20748
|
getSystemValue(source: NodeParticleSystemSources): number | Nullable<Vector3>;
|
|
20721
20749
|
}
|
|
20722
20750
|
|
|
20751
|
+
/**
|
|
20752
|
+
* Defines a block that can be used inside a node based particle system
|
|
20753
|
+
*/
|
|
20754
|
+
declare class NodeParticleBlock {
|
|
20755
|
+
private _name;
|
|
20756
|
+
protected _buildId: number;
|
|
20757
|
+
protected _isInput: boolean;
|
|
20758
|
+
protected _isSystem: boolean;
|
|
20759
|
+
protected _isDebug: boolean;
|
|
20760
|
+
protected _isTeleportOut: boolean;
|
|
20761
|
+
protected _isTeleportIn: boolean;
|
|
20762
|
+
/**
|
|
20763
|
+
* Gets or sets the unique id of the node
|
|
20764
|
+
*/
|
|
20765
|
+
uniqueId: number;
|
|
20766
|
+
/** @internal */
|
|
20767
|
+
_inputs: NodeParticleConnectionPoint[];
|
|
20768
|
+
/** @internal */
|
|
20769
|
+
_outputs: NodeParticleConnectionPoint[];
|
|
20770
|
+
/**
|
|
20771
|
+
* Gets an observable raised when the block is built
|
|
20772
|
+
*/
|
|
20773
|
+
onBuildObservable: Observable<NodeParticleBlock>;
|
|
20774
|
+
/**
|
|
20775
|
+
* Gets an observable raised when the block is disposed
|
|
20776
|
+
*/
|
|
20777
|
+
onDisposeObservable: Observable<NodeParticleBlock>;
|
|
20778
|
+
/**
|
|
20779
|
+
* Gets an observable raised when the inputs of the block change
|
|
20780
|
+
*/
|
|
20781
|
+
onInputChangedObservable: Observable<NodeParticleConnectionPoint>;
|
|
20782
|
+
/**
|
|
20783
|
+
* Gets a boolean indicating if this block is a teleport out
|
|
20784
|
+
*/
|
|
20785
|
+
get isTeleportOut(): boolean;
|
|
20786
|
+
/**
|
|
20787
|
+
* Gets a boolean indicating if this block is a teleport in
|
|
20788
|
+
*/
|
|
20789
|
+
get isTeleportIn(): boolean;
|
|
20790
|
+
/**
|
|
20791
|
+
* Gets a boolean indicating that this block is a system block
|
|
20792
|
+
*/
|
|
20793
|
+
get isSystem(): boolean;
|
|
20794
|
+
/**
|
|
20795
|
+
* Gets a boolean indicating that this block is an input block
|
|
20796
|
+
*/
|
|
20797
|
+
get isInput(): boolean;
|
|
20798
|
+
/**
|
|
20799
|
+
* Gets a boolean indicating if this block is a debug block
|
|
20800
|
+
*/
|
|
20801
|
+
get isDebug(): boolean;
|
|
20802
|
+
/**
|
|
20803
|
+
* A free comment about the block
|
|
20804
|
+
*/
|
|
20805
|
+
comments: string;
|
|
20806
|
+
/** Gets or sets a boolean indicating that this input can be edited from a collapsed frame */
|
|
20807
|
+
visibleOnFrame: boolean;
|
|
20808
|
+
/**
|
|
20809
|
+
* Gets or set the name of the block
|
|
20810
|
+
*/
|
|
20811
|
+
get name(): string;
|
|
20812
|
+
set name(value: string);
|
|
20813
|
+
/**
|
|
20814
|
+
* Gets the current class name e.g. "NodeParticleBlock"
|
|
20815
|
+
* @returns the class name
|
|
20816
|
+
*/
|
|
20817
|
+
getClassName(): string;
|
|
20818
|
+
/**
|
|
20819
|
+
* Gets the list of input points
|
|
20820
|
+
*/
|
|
20821
|
+
get inputs(): NodeParticleConnectionPoint[];
|
|
20822
|
+
/** Gets the list of output points */
|
|
20823
|
+
get outputs(): NodeParticleConnectionPoint[];
|
|
20824
|
+
/**
|
|
20825
|
+
* Creates a new NodeParticleBlock
|
|
20826
|
+
* @param name defines the block name
|
|
20827
|
+
*/
|
|
20828
|
+
constructor(name: string);
|
|
20829
|
+
protected _inputRename(name: string): string;
|
|
20830
|
+
protected _outputRename(name: string): string;
|
|
20831
|
+
/**
|
|
20832
|
+
* Checks if the current block is an ancestor of a given block
|
|
20833
|
+
* @param block defines the potential descendant block to check
|
|
20834
|
+
* @returns true if block is a descendant
|
|
20835
|
+
*/
|
|
20836
|
+
isAnAncestorOf(block: NodeParticleBlock): boolean;
|
|
20837
|
+
/**
|
|
20838
|
+
* Checks if the current block is an ancestor of a given type
|
|
20839
|
+
* @param type defines the potential type to check
|
|
20840
|
+
* @returns true if block is a descendant
|
|
20841
|
+
*/
|
|
20842
|
+
isAnAncestorOfType(type: string): boolean;
|
|
20843
|
+
/**
|
|
20844
|
+
* Find an input by its name
|
|
20845
|
+
* @param name defines the name of the input to look for
|
|
20846
|
+
* @returns the input or null if not found
|
|
20847
|
+
*/
|
|
20848
|
+
getInputByName(name: string): NodeParticleConnectionPoint | null;
|
|
20849
|
+
protected _linkConnectionTypes(inputIndex0: number, inputIndex1: number, looseCoupling?: boolean): void;
|
|
20850
|
+
/**
|
|
20851
|
+
* Register a new input. Must be called inside a block constructor
|
|
20852
|
+
* @param name defines the connection point name
|
|
20853
|
+
* @param type defines the connection point type
|
|
20854
|
+
* @param isOptional defines a boolean indicating that this input can be omitted
|
|
20855
|
+
* @param value value to return if there is no connection
|
|
20856
|
+
* @param valueMin min value accepted for value
|
|
20857
|
+
* @param valueMax max value accepted for value
|
|
20858
|
+
* @returns the current block
|
|
20859
|
+
*/
|
|
20860
|
+
registerInput(name: string, type: NodeParticleBlockConnectionPointTypes, isOptional?: boolean, value?: any, valueMin?: any, valueMax?: any): this;
|
|
20861
|
+
/**
|
|
20862
|
+
* Register a new output. Must be called inside a block constructor
|
|
20863
|
+
* @param name defines the connection point name
|
|
20864
|
+
* @param type defines the connection point type
|
|
20865
|
+
* @param point an already created connection point. If not provided, create a new one
|
|
20866
|
+
* @returns the current block
|
|
20867
|
+
*/
|
|
20868
|
+
registerOutput(name: string, type: NodeParticleBlockConnectionPointTypes, point?: NodeParticleConnectionPoint): this;
|
|
20869
|
+
/**
|
|
20870
|
+
* Builds the block. Must be implemented by derived classes.
|
|
20871
|
+
* @param _state defines the current build state
|
|
20872
|
+
*/
|
|
20873
|
+
_build(_state: NodeParticleBuildState): void;
|
|
20874
|
+
protected _customBuildStep(_state: NodeParticleBuildState): void;
|
|
20875
|
+
/**
|
|
20876
|
+
* Builds the block
|
|
20877
|
+
* @param state defines the current build state
|
|
20878
|
+
* @returns the built block
|
|
20879
|
+
*/
|
|
20880
|
+
build(state: NodeParticleBuildState): boolean;
|
|
20881
|
+
/**
|
|
20882
|
+
* Serializes this block in a JSON representation
|
|
20883
|
+
* @returns the serialized block object
|
|
20884
|
+
*/
|
|
20885
|
+
serialize(): any;
|
|
20886
|
+
/**
|
|
20887
|
+
* @internal
|
|
20888
|
+
*/
|
|
20889
|
+
_deserialize(serializationObject: any): void;
|
|
20890
|
+
private _deserializePortDisplayNamesAndExposedOnFrame;
|
|
20891
|
+
/**
|
|
20892
|
+
* Clone the current block to a new identical block
|
|
20893
|
+
* @returns a copy of the current block
|
|
20894
|
+
*/
|
|
20895
|
+
clone(): NodeParticleBlock | null;
|
|
20896
|
+
/**
|
|
20897
|
+
* Release resources
|
|
20898
|
+
*/
|
|
20899
|
+
dispose(): void;
|
|
20900
|
+
}
|
|
20901
|
+
|
|
20723
20902
|
/**
|
|
20724
20903
|
* Enum used to define the compatibility state between two connection points
|
|
20725
20904
|
*/
|
|
@@ -20904,157 +21083,6 @@ declare class NodeParticleConnectionPoint {
|
|
|
20904
21083
|
dispose(): void;
|
|
20905
21084
|
}
|
|
20906
21085
|
|
|
20907
|
-
/**
|
|
20908
|
-
* Defines a block that can be used inside a node based particle system
|
|
20909
|
-
*/
|
|
20910
|
-
declare class NodeParticleBlock {
|
|
20911
|
-
private _name;
|
|
20912
|
-
protected _buildId: number;
|
|
20913
|
-
protected _isInput: boolean;
|
|
20914
|
-
protected _isSystem: boolean;
|
|
20915
|
-
protected _isDebug: boolean;
|
|
20916
|
-
protected _isTeleportOut: boolean;
|
|
20917
|
-
protected _isTeleportIn: boolean;
|
|
20918
|
-
/**
|
|
20919
|
-
* Gets or sets the unique id of the node
|
|
20920
|
-
*/
|
|
20921
|
-
uniqueId: number;
|
|
20922
|
-
/** @internal */
|
|
20923
|
-
_inputs: NodeParticleConnectionPoint[];
|
|
20924
|
-
/** @internal */
|
|
20925
|
-
_outputs: NodeParticleConnectionPoint[];
|
|
20926
|
-
/**
|
|
20927
|
-
* Gets an observable raised when the block is built
|
|
20928
|
-
*/
|
|
20929
|
-
onBuildObservable: Observable<NodeParticleBlock>;
|
|
20930
|
-
/**
|
|
20931
|
-
* Gets an observable raised when the block is disposed
|
|
20932
|
-
*/
|
|
20933
|
-
onDisposeObservable: Observable<NodeParticleBlock>;
|
|
20934
|
-
/**
|
|
20935
|
-
* Gets an observable raised when the inputs of the block change
|
|
20936
|
-
*/
|
|
20937
|
-
onInputChangedObservable: Observable<NodeParticleConnectionPoint>;
|
|
20938
|
-
/**
|
|
20939
|
-
* Gets a boolean indicating if this block is a teleport out
|
|
20940
|
-
*/
|
|
20941
|
-
get isTeleportOut(): boolean;
|
|
20942
|
-
/**
|
|
20943
|
-
* Gets a boolean indicating if this block is a teleport in
|
|
20944
|
-
*/
|
|
20945
|
-
get isTeleportIn(): boolean;
|
|
20946
|
-
/**
|
|
20947
|
-
* Gets a boolean indicating that this block is a system block
|
|
20948
|
-
*/
|
|
20949
|
-
get isSystem(): boolean;
|
|
20950
|
-
/**
|
|
20951
|
-
* Gets a boolean indicating that this block is an input block
|
|
20952
|
-
*/
|
|
20953
|
-
get isInput(): boolean;
|
|
20954
|
-
/**
|
|
20955
|
-
* Gets a boolean indicating if this block is a debug block
|
|
20956
|
-
*/
|
|
20957
|
-
get isDebug(): boolean;
|
|
20958
|
-
/**
|
|
20959
|
-
* A free comment about the block
|
|
20960
|
-
*/
|
|
20961
|
-
comments: string;
|
|
20962
|
-
/** Gets or sets a boolean indicating that this input can be edited from a collapsed frame */
|
|
20963
|
-
visibleOnFrame: boolean;
|
|
20964
|
-
/**
|
|
20965
|
-
* Gets or set the name of the block
|
|
20966
|
-
*/
|
|
20967
|
-
get name(): string;
|
|
20968
|
-
set name(value: string);
|
|
20969
|
-
/**
|
|
20970
|
-
* Gets the current class name e.g. "NodeParticleBlock"
|
|
20971
|
-
* @returns the class name
|
|
20972
|
-
*/
|
|
20973
|
-
getClassName(): string;
|
|
20974
|
-
/**
|
|
20975
|
-
* Gets the list of input points
|
|
20976
|
-
*/
|
|
20977
|
-
get inputs(): NodeParticleConnectionPoint[];
|
|
20978
|
-
/** Gets the list of output points */
|
|
20979
|
-
get outputs(): NodeParticleConnectionPoint[];
|
|
20980
|
-
/**
|
|
20981
|
-
* Creates a new NodeParticleBlock
|
|
20982
|
-
* @param name defines the block name
|
|
20983
|
-
*/
|
|
20984
|
-
constructor(name: string);
|
|
20985
|
-
protected _inputRename(name: string): string;
|
|
20986
|
-
protected _outputRename(name: string): string;
|
|
20987
|
-
/**
|
|
20988
|
-
* Checks if the current block is an ancestor of a given block
|
|
20989
|
-
* @param block defines the potential descendant block to check
|
|
20990
|
-
* @returns true if block is a descendant
|
|
20991
|
-
*/
|
|
20992
|
-
isAnAncestorOf(block: NodeParticleBlock): boolean;
|
|
20993
|
-
/**
|
|
20994
|
-
* Checks if the current block is an ancestor of a given type
|
|
20995
|
-
* @param type defines the potential type to check
|
|
20996
|
-
* @returns true if block is a descendant
|
|
20997
|
-
*/
|
|
20998
|
-
isAnAncestorOfType(type: string): boolean;
|
|
20999
|
-
/**
|
|
21000
|
-
* Find an input by its name
|
|
21001
|
-
* @param name defines the name of the input to look for
|
|
21002
|
-
* @returns the input or null if not found
|
|
21003
|
-
*/
|
|
21004
|
-
getInputByName(name: string): NodeParticleConnectionPoint | null;
|
|
21005
|
-
protected _linkConnectionTypes(inputIndex0: number, inputIndex1: number, looseCoupling?: boolean): void;
|
|
21006
|
-
/**
|
|
21007
|
-
* Register a new input. Must be called inside a block constructor
|
|
21008
|
-
* @param name defines the connection point name
|
|
21009
|
-
* @param type defines the connection point type
|
|
21010
|
-
* @param isOptional defines a boolean indicating that this input can be omitted
|
|
21011
|
-
* @param value value to return if there is no connection
|
|
21012
|
-
* @param valueMin min value accepted for value
|
|
21013
|
-
* @param valueMax max value accepted for value
|
|
21014
|
-
* @returns the current block
|
|
21015
|
-
*/
|
|
21016
|
-
registerInput(name: string, type: NodeParticleBlockConnectionPointTypes, isOptional?: boolean, value?: any, valueMin?: any, valueMax?: any): this;
|
|
21017
|
-
/**
|
|
21018
|
-
* Register a new output. Must be called inside a block constructor
|
|
21019
|
-
* @param name defines the connection point name
|
|
21020
|
-
* @param type defines the connection point type
|
|
21021
|
-
* @param point an already created connection point. If not provided, create a new one
|
|
21022
|
-
* @returns the current block
|
|
21023
|
-
*/
|
|
21024
|
-
registerOutput(name: string, type: NodeParticleBlockConnectionPointTypes, point?: NodeParticleConnectionPoint): this;
|
|
21025
|
-
/**
|
|
21026
|
-
* Builds the block. Must be implemented by derived classes.
|
|
21027
|
-
* @param _state defines the current build state
|
|
21028
|
-
*/
|
|
21029
|
-
_build(_state: NodeParticleBuildState): void;
|
|
21030
|
-
protected _customBuildStep(_state: NodeParticleBuildState): void;
|
|
21031
|
-
/**
|
|
21032
|
-
* Builds the block
|
|
21033
|
-
* @param state defines the current build state
|
|
21034
|
-
* @returns the built block
|
|
21035
|
-
*/
|
|
21036
|
-
build(state: NodeParticleBuildState): boolean;
|
|
21037
|
-
/**
|
|
21038
|
-
* Serializes this block in a JSON representation
|
|
21039
|
-
* @returns the serialized block object
|
|
21040
|
-
*/
|
|
21041
|
-
serialize(): any;
|
|
21042
|
-
/**
|
|
21043
|
-
* @internal
|
|
21044
|
-
*/
|
|
21045
|
-
_deserialize(serializationObject: any): void;
|
|
21046
|
-
private _deserializePortDisplayNamesAndExposedOnFrame;
|
|
21047
|
-
/**
|
|
21048
|
-
* Clone the current block to a new identical block
|
|
21049
|
-
* @returns a copy of the current block
|
|
21050
|
-
*/
|
|
21051
|
-
clone(): NodeParticleBlock | null;
|
|
21052
|
-
/**
|
|
21053
|
-
* Release resources
|
|
21054
|
-
*/
|
|
21055
|
-
dispose(): void;
|
|
21056
|
-
}
|
|
21057
|
-
|
|
21058
21086
|
/**
|
|
21059
21087
|
* Block used to get a system of particles
|
|
21060
21088
|
*/
|
|
@@ -21144,6 +21172,10 @@ declare class SystemBlock extends NodeParticleBlock {
|
|
|
21144
21172
|
* Gets the translationPivot input component
|
|
21145
21173
|
*/
|
|
21146
21174
|
get translationPivot(): NodeParticleConnectionPoint;
|
|
21175
|
+
/**
|
|
21176
|
+
* Gets the textureMask input component
|
|
21177
|
+
*/
|
|
21178
|
+
get textureMask(): NodeParticleConnectionPoint;
|
|
21147
21179
|
/**
|
|
21148
21180
|
* Gets the system output component
|
|
21149
21181
|
*/
|
|
@@ -47252,7 +47284,7 @@ declare class DebugLayer {
|
|
|
47252
47284
|
*/
|
|
47253
47285
|
static Config: IInspectorOptions;
|
|
47254
47286
|
private _scene;
|
|
47255
|
-
|
|
47287
|
+
protected BJSINSPECTOR: any;
|
|
47256
47288
|
private _onPropertyChangedObservable?;
|
|
47257
47289
|
/**
|
|
47258
47290
|
* Observable triggered when a property is changed through the inspector.
|
|
@@ -50357,9 +50389,8 @@ declare class FrameGraphShadowGeneratorTask extends FrameGraphTask {
|
|
|
50357
50389
|
* Creates a new shadow generator task.
|
|
50358
50390
|
* @param name The name of the task.
|
|
50359
50391
|
* @param frameGraph The frame graph the task belongs to.
|
|
50360
|
-
* @param _scene The scene to create the shadow generator for.
|
|
50361
50392
|
*/
|
|
50362
|
-
constructor(name: string, frameGraph: FrameGraph
|
|
50393
|
+
constructor(name: string, frameGraph: FrameGraph);
|
|
50363
50394
|
record(): void;
|
|
50364
50395
|
dispose(): void;
|
|
50365
50396
|
}
|
|
@@ -50487,8 +50518,9 @@ declare class FrameGraphRenderContext extends FrameGraphContext {
|
|
|
50487
50518
|
* @param sourceTexture The source texture to copy from
|
|
50488
50519
|
* @param forceCopyToBackbuffer If true, the copy will be done to the back buffer regardless of the current render target
|
|
50489
50520
|
* @param noViewport If true, the current viewport will be left unchanged (optional). If false or undefined, the viewport will be set to the full render target size.
|
|
50521
|
+
* @param lodLevel The LOD level to use when copying the texture (default: 0).
|
|
50490
50522
|
*/
|
|
50491
|
-
copyTexture(sourceTexture: FrameGraphTextureHandle, forceCopyToBackbuffer?: boolean, noViewport?: boolean): void;
|
|
50523
|
+
copyTexture(sourceTexture: FrameGraphTextureHandle, forceCopyToBackbuffer?: boolean, noViewport?: boolean, lodLevel?: number): void;
|
|
50492
50524
|
/**
|
|
50493
50525
|
* Renders a RenderTargetTexture or a layer
|
|
50494
50526
|
* @param object The RenderTargetTexture/Layer to render
|
|
@@ -67073,8 +67105,6 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
|
|
|
67073
67105
|
*/
|
|
67074
67106
|
autoClearDepthAndStencil: boolean;
|
|
67075
67107
|
private _clearColor;
|
|
67076
|
-
private _tempVect3;
|
|
67077
|
-
private _tempVect4;
|
|
67078
67108
|
/**
|
|
67079
67109
|
* Observable triggered when the performance priority is changed
|
|
67080
67110
|
*/
|
|
@@ -67738,7 +67768,7 @@ declare class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer {
|
|
|
67738
67768
|
* @param effect The effect to be bound
|
|
67739
67769
|
* @param variableName name of the shader variable that will hold the eye position
|
|
67740
67770
|
* @param isVector3 true to indicates that variableName is a Vector3 and not a Vector4
|
|
67741
|
-
* @returns the computed eye position
|
|
67771
|
+
* @returns the computed eye position in a temp vector, caller can copy values as needed
|
|
67742
67772
|
*/
|
|
67743
67773
|
bindEyePosition(effect: Nullable<Effect>, variableName?: string, isVector3?: boolean): Vector4;
|
|
67744
67774
|
/**
|
|
@@ -71915,5 +71945,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
|
|
|
71915
71945
|
declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
|
|
71916
71946
|
declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
|
|
71917
71947
|
|
|
71918
|
-
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,
|
|
71919
|
-
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, LinkProps, ListItem, NumberInputPropertyLineProps, PaneProps, PersonMetadata, PrimitiveProps, PropertyHooks, PropertyLineProps, SceneExplorerCommand, SceneExplorerCommandProvider, SceneExplorerSection, ServiceDefinition, ServiceFactory, SidePaneDefinition, SpinButtonProps, SwitchProps, SyncedSliderProps, TensorPropertyLineProps, TextInputProps, TextareaProps, ToolbarItemDefinition };
|
|
71948
|
+
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 };
|
|
71949
|
+
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 };
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-B-XOu4uI.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@babylonjs/core/Maths/math.color.js';
|
|
@@ -33,7 +33,6 @@ import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollectionStrate
|
|
|
33
33
|
import '@babylonjs/core/Misc/PerformanceViewer/performanceViewerSceneExtension.js';
|
|
34
34
|
import '@babylonjs/core/Misc/pressureObserverWrapper.js';
|
|
35
35
|
import '@babylonjs/core/Engines/abstractEngine.js';
|
|
36
|
-
import '@babylonjs/core/Engines/engineStore.js';
|
|
37
36
|
import 'react-dom/client';
|
|
38
37
|
import '@babylonjs/core/Misc/logger.js';
|
|
39
38
|
import '@babylonjs/core/FrameGraph/frameGraphUtils.js';
|
|
@@ -106,4 +105,6 @@ import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineMa
|
|
|
106
105
|
import '@babylonjs/core/Sprites/spriteSceneComponent.js';
|
|
107
106
|
import '@babylonjs/core/Materials/Textures/dynamicTexture.js';
|
|
108
107
|
import '@babylonjs/core/Events/pointerEvents.js';
|
|
108
|
+
import '@babylonjs/core/Engines/engineStore.js';
|
|
109
|
+
import '@babylonjs/core/Misc/uniqueIdGenerator.js';
|
|
109
110
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|