babylonjs-inspector 7.53.3 → 7.54.1
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/babylon.inspector.d.ts
CHANGED
|
@@ -3575,6 +3575,7 @@ declare module INSPECTOR {
|
|
|
3575
3575
|
componentWillUnmount(): void;
|
|
3576
3576
|
debugTexture(): void;
|
|
3577
3577
|
onLink(): void;
|
|
3578
|
+
onLinkTexture(texture: BABYLON.BaseTexture): void;
|
|
3578
3579
|
updateTexture(file: File): void;
|
|
3579
3580
|
removeTexture(): void;
|
|
3580
3581
|
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4310,7 +4311,17 @@ declare module INSPECTOR {
|
|
|
4310
4311
|
declare module INSPECTOR.SharedUIComponents {
|
|
4311
4312
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is INSPECTOR.SharedUIComponents.FramePortData;
|
|
4312
4313
|
export const RefreshNode: (node: INSPECTOR.SharedUIComponents.GraphNode, visitedNodes?: Set<INSPECTOR.SharedUIComponents.GraphNode>, visitedLinks?: Set<INSPECTOR.SharedUIComponents.NodeLink>, canvas?: INSPECTOR.SharedUIComponents.GraphCanvasComponent) => void;
|
|
4313
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
4314
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
4315
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
4316
|
+
acceptedConnectionPointTypes: number[];
|
|
4317
|
+
excludedConnectionPointTypes: number[];
|
|
4318
|
+
type: number;
|
|
4319
|
+
}, skips?: number[]): string[];
|
|
4320
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
4321
|
+
acceptedConnectionPointTypes: number[];
|
|
4322
|
+
excludedConnectionPointTypes: number[];
|
|
4323
|
+
type: number;
|
|
4324
|
+
}, skips?: number[]): string;
|
|
4314
4325
|
|
|
4315
4326
|
|
|
4316
4327
|
|
|
@@ -4358,7 +4369,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4358
4369
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
4359
4370
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
4360
4371
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
4361
|
-
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement,
|
|
4372
|
+
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
4362
4373
|
getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
|
|
4363
4374
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
|
|
4364
4375
|
getEditorDataMap: () => {
|
|
@@ -4432,7 +4443,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4432
4443
|
node: INSPECTOR.SharedUIComponents.GraphNode;
|
|
4433
4444
|
protected _element: HTMLDivElement;
|
|
4434
4445
|
protected _portContainer: HTMLElement;
|
|
4435
|
-
protected
|
|
4446
|
+
protected _imgHost: HTMLDivElement;
|
|
4436
4447
|
protected _pip: HTMLDivElement;
|
|
4437
4448
|
protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
|
|
4438
4449
|
protected _portLabelElement: Element;
|
|
@@ -4519,6 +4530,7 @@ declare module INSPECTOR {
|
|
|
4519
4530
|
declare module INSPECTOR.SharedUIComponents {
|
|
4520
4531
|
export class GraphNode {
|
|
4521
4532
|
content: INSPECTOR.SharedUIComponents.INodeData;
|
|
4533
|
+
private static _IdGenerator;
|
|
4522
4534
|
private _visual;
|
|
4523
4535
|
private _headerContainer;
|
|
4524
4536
|
private _headerIcon;
|
|
@@ -5320,6 +5332,33 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
5320
5332
|
|
|
5321
5333
|
|
|
5322
5334
|
|
|
5335
|
+
}
|
|
5336
|
+
declare module INSPECTOR {
|
|
5337
|
+
|
|
5338
|
+
|
|
5339
|
+
}
|
|
5340
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
5341
|
+
interface ITextureButtonLineProps {
|
|
5342
|
+
label: string;
|
|
5343
|
+
scene: BABYLON.Scene;
|
|
5344
|
+
onClick: (file: File) => void;
|
|
5345
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
5346
|
+
accept: string;
|
|
5347
|
+
}
|
|
5348
|
+
interface ITextureButtonLineState {
|
|
5349
|
+
isOpen: boolean;
|
|
5350
|
+
}
|
|
5351
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
5352
|
+
private static _IDGenerator;
|
|
5353
|
+
private _id;
|
|
5354
|
+
private _uploadInputRef;
|
|
5355
|
+
constructor(props: ITextureButtonLineProps);
|
|
5356
|
+
onChange(evt: any): void;
|
|
5357
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
|
|
5361
|
+
|
|
5323
5362
|
}
|
|
5324
5363
|
declare module INSPECTOR {
|
|
5325
5364
|
|
|
@@ -4607,6 +4607,7 @@ export class TextureLinkLineComponent extends React.Component<ITextureLinkLineCo
|
|
|
4607
4607
|
componentWillUnmount(): void;
|
|
4608
4608
|
debugTexture(): void;
|
|
4609
4609
|
onLink(): void;
|
|
4610
|
+
onLinkTexture(texture: BaseTexture): void;
|
|
4610
4611
|
updateTexture(file: File): void;
|
|
4611
4612
|
removeTexture(): void;
|
|
4612
4613
|
|
|
@@ -5306,7 +5307,17 @@ import { NodeLink } from "babylonjs-inspector/nodeGraphSystem/nodeLink";
|
|
|
5306
5307
|
import { FramePortData } from "babylonjs-inspector/nodeGraphSystem/types/framePortData";
|
|
5307
5308
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is FramePortData;
|
|
5308
5309
|
export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>, canvas?: GraphCanvasComponent) => void;
|
|
5309
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
5310
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
5311
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
5312
|
+
acceptedConnectionPointTypes: number[];
|
|
5313
|
+
excludedConnectionPointTypes: number[];
|
|
5314
|
+
type: number;
|
|
5315
|
+
}, skips?: number[]): string[];
|
|
5316
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
5317
|
+
acceptedConnectionPointTypes: number[];
|
|
5318
|
+
excludedConnectionPointTypes: number[];
|
|
5319
|
+
type: number;
|
|
5320
|
+
}, skips?: number[]): string;
|
|
5310
5321
|
|
|
5311
5322
|
}
|
|
5312
5323
|
declare module "babylonjs-inspector/nodeGraphSystem/stateManager" {
|
|
@@ -5361,7 +5372,7 @@ export class StateManager {
|
|
|
5361
5372
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
5362
5373
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
5363
5374
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
5364
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement,
|
|
5375
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
5365
5376
|
getPortColor: (portData: IPortData) => string;
|
|
5366
5377
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
5367
5378
|
getEditorDataMap: () => {
|
|
@@ -5431,7 +5442,7 @@ export class NodePort {
|
|
|
5431
5442
|
node: GraphNode;
|
|
5432
5443
|
protected _element: HTMLDivElement;
|
|
5433
5444
|
protected _portContainer: HTMLElement;
|
|
5434
|
-
protected
|
|
5445
|
+
protected _imgHost: HTMLDivElement;
|
|
5435
5446
|
protected _pip: HTMLDivElement;
|
|
5436
5447
|
protected _stateManager: StateManager;
|
|
5437
5448
|
protected _portLabelElement: Element;
|
|
@@ -5514,6 +5525,7 @@ import { IPortData } from "babylonjs-inspector/nodeGraphSystem/interfaces/portDa
|
|
|
5514
5525
|
import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
5515
5526
|
export class GraphNode {
|
|
5516
5527
|
content: INodeData;
|
|
5528
|
+
private static _IdGenerator;
|
|
5517
5529
|
private _visual;
|
|
5518
5530
|
private _headerContainer;
|
|
5519
5531
|
private _headerIcon;
|
|
@@ -6274,6 +6286,31 @@ interface IUnitButtonProps {
|
|
|
6274
6286
|
|
|
6275
6287
|
export {};
|
|
6276
6288
|
|
|
6289
|
+
}
|
|
6290
|
+
declare module "babylonjs-inspector/lines/textureButtonLineComponent" {
|
|
6291
|
+
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
6292
|
+
import { Scene } from "babylonjs/scene";
|
|
6293
|
+
import * as React from "react";
|
|
6294
|
+
interface ITextureButtonLineProps {
|
|
6295
|
+
label: string;
|
|
6296
|
+
scene: Scene;
|
|
6297
|
+
onClick: (file: File) => void;
|
|
6298
|
+
onLink: (texture: BaseTexture) => void;
|
|
6299
|
+
accept: string;
|
|
6300
|
+
}
|
|
6301
|
+
interface ITextureButtonLineState {
|
|
6302
|
+
isOpen: boolean;
|
|
6303
|
+
}
|
|
6304
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
6305
|
+
private static _IDGenerator;
|
|
6306
|
+
private _id;
|
|
6307
|
+
private _uploadInputRef;
|
|
6308
|
+
constructor(props: ITextureButtonLineProps);
|
|
6309
|
+
onChange(evt: any): void;
|
|
6310
|
+
|
|
6311
|
+
}
|
|
6312
|
+
export {};
|
|
6313
|
+
|
|
6277
6314
|
}
|
|
6278
6315
|
declare module "babylonjs-inspector/lines/textLineComponent" {
|
|
6279
6316
|
import * as React from "react";
|
|
@@ -11727,6 +11764,7 @@ declare module INSPECTOR {
|
|
|
11727
11764
|
componentWillUnmount(): void;
|
|
11728
11765
|
debugTexture(): void;
|
|
11729
11766
|
onLink(): void;
|
|
11767
|
+
onLinkTexture(texture: BABYLON.BaseTexture): void;
|
|
11730
11768
|
updateTexture(file: File): void;
|
|
11731
11769
|
removeTexture(): void;
|
|
11732
11770
|
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -12462,7 +12500,17 @@ declare module INSPECTOR {
|
|
|
12462
12500
|
declare module INSPECTOR.SharedUIComponents {
|
|
12463
12501
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is INSPECTOR.SharedUIComponents.FramePortData;
|
|
12464
12502
|
export const RefreshNode: (node: INSPECTOR.SharedUIComponents.GraphNode, visitedNodes?: Set<INSPECTOR.SharedUIComponents.GraphNode>, visitedLinks?: Set<INSPECTOR.SharedUIComponents.NodeLink>, canvas?: INSPECTOR.SharedUIComponents.GraphCanvasComponent) => void;
|
|
12465
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
12503
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
12504
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
12505
|
+
acceptedConnectionPointTypes: number[];
|
|
12506
|
+
excludedConnectionPointTypes: number[];
|
|
12507
|
+
type: number;
|
|
12508
|
+
}, skips?: number[]): string[];
|
|
12509
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
12510
|
+
acceptedConnectionPointTypes: number[];
|
|
12511
|
+
excludedConnectionPointTypes: number[];
|
|
12512
|
+
type: number;
|
|
12513
|
+
}, skips?: number[]): string;
|
|
12466
12514
|
|
|
12467
12515
|
|
|
12468
12516
|
|
|
@@ -12510,7 +12558,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12510
12558
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
12511
12559
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
12512
12560
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
12513
|
-
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement,
|
|
12561
|
+
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
12514
12562
|
getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
|
|
12515
12563
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
|
|
12516
12564
|
getEditorDataMap: () => {
|
|
@@ -12584,7 +12632,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12584
12632
|
node: INSPECTOR.SharedUIComponents.GraphNode;
|
|
12585
12633
|
protected _element: HTMLDivElement;
|
|
12586
12634
|
protected _portContainer: HTMLElement;
|
|
12587
|
-
protected
|
|
12635
|
+
protected _imgHost: HTMLDivElement;
|
|
12588
12636
|
protected _pip: HTMLDivElement;
|
|
12589
12637
|
protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
|
|
12590
12638
|
protected _portLabelElement: Element;
|
|
@@ -12671,6 +12719,7 @@ declare module INSPECTOR {
|
|
|
12671
12719
|
declare module INSPECTOR.SharedUIComponents {
|
|
12672
12720
|
export class GraphNode {
|
|
12673
12721
|
content: INSPECTOR.SharedUIComponents.INodeData;
|
|
12722
|
+
private static _IdGenerator;
|
|
12674
12723
|
private _visual;
|
|
12675
12724
|
private _headerContainer;
|
|
12676
12725
|
private _headerIcon;
|
|
@@ -13472,6 +13521,33 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
13472
13521
|
|
|
13473
13522
|
|
|
13474
13523
|
|
|
13524
|
+
}
|
|
13525
|
+
declare module INSPECTOR {
|
|
13526
|
+
|
|
13527
|
+
|
|
13528
|
+
}
|
|
13529
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
13530
|
+
interface ITextureButtonLineProps {
|
|
13531
|
+
label: string;
|
|
13532
|
+
scene: BABYLON.Scene;
|
|
13533
|
+
onClick: (file: File) => void;
|
|
13534
|
+
onLink: (texture: BABYLON.BaseTexture) => void;
|
|
13535
|
+
accept: string;
|
|
13536
|
+
}
|
|
13537
|
+
interface ITextureButtonLineState {
|
|
13538
|
+
isOpen: boolean;
|
|
13539
|
+
}
|
|
13540
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
13541
|
+
private static _IDGenerator;
|
|
13542
|
+
private _id;
|
|
13543
|
+
private _uploadInputRef;
|
|
13544
|
+
constructor(props: ITextureButtonLineProps);
|
|
13545
|
+
onChange(evt: any): void;
|
|
13546
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
13547
|
+
}
|
|
13548
|
+
|
|
13549
|
+
|
|
13550
|
+
|
|
13475
13551
|
}
|
|
13476
13552
|
declare module INSPECTOR {
|
|
13477
13553
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-inspector",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.54.1",
|
|
4
4
|
"main": "babylon.inspector.bundle.max.js",
|
|
5
5
|
"types": "babylon.inspector.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.
|
|
18
|
-
"babylonjs-gui": "^7.
|
|
19
|
-
"babylonjs-gui-editor": "^7.
|
|
20
|
-
"babylonjs-loaders": "^7.
|
|
21
|
-
"babylonjs-materials": "^7.
|
|
22
|
-
"babylonjs-serializers": "^7.
|
|
17
|
+
"babylonjs": "^7.54.1",
|
|
18
|
+
"babylonjs-gui": "^7.54.1",
|
|
19
|
+
"babylonjs-gui-editor": "^7.54.1",
|
|
20
|
+
"babylonjs-loaders": "^7.54.1",
|
|
21
|
+
"babylonjs-materials": "^7.54.1",
|
|
22
|
+
"babylonjs-serializers": "^7.54.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|