|
@@ -6,39 +6,37 @@ declare module 'babylonjs-inspector' {
|
|
|
export * from "babylonjs-inspector/inspector";
|
|
|
}
|
|
|
|
|
|
-declare module 'babylonjs-inspector/inspector' {
|
|
|
- import { Scene, Observable } from "babylonjs";
|
|
|
- import { PropertyChangedEvent } from "babylonjs-inspector/components/propertyChangedEvent";
|
|
|
- export interface IExtensibilityOption {
|
|
|
- label: string;
|
|
|
- action: (entity: any) => void;
|
|
|
- }
|
|
|
- export interface IExtensibilityGroup {
|
|
|
- predicate: (entity: any) => boolean;
|
|
|
- entries: IExtensibilityOption[];
|
|
|
- }
|
|
|
- export interface IInspectorOptions {
|
|
|
- overlay?: boolean;
|
|
|
- sceneExplorerRoot?: HTMLElement;
|
|
|
- actionTabsRoot?: HTMLElement;
|
|
|
- embedHostRoot?: HTMLElement;
|
|
|
- showExplorer?: boolean;
|
|
|
- showInspector?: boolean;
|
|
|
- explorerWidth?: string;
|
|
|
- inspectorWidth?: string;
|
|
|
- embedHostWidth?: string;
|
|
|
- embedMode?: boolean;
|
|
|
- handleResize?: boolean;
|
|
|
- enablePopup?: boolean;
|
|
|
- explorerExtensibility?: IExtensibilityGroup[];
|
|
|
- }
|
|
|
- export class Inspector {
|
|
|
- static OnSelectionChangeObservable: Observable<string>;
|
|
|
- static OnPropertyChangedObservable: Observable<PropertyChangedEvent>;
|
|
|
- static readonly IsVisible: boolean;
|
|
|
- static Show(scene: Scene, userOptions: Partial<IInspectorOptions>): void;
|
|
|
- static Hide(): void;
|
|
|
- }
|
|
|
+import { Scene, Observable } from "babylonjs";
|
|
|
+import { PropertyChangedEvent } from "babylonjs-inspector/components/propertyChangedEvent";
|
|
|
+export interface IExtensibilityOption {
|
|
|
+ label: string;
|
|
|
+ action: (entity: any) => void;
|
|
|
+}
|
|
|
+export interface IExtensibilityGroup {
|
|
|
+ predicate: (entity: any) => boolean;
|
|
|
+ entries: IExtensibilityOption[];
|
|
|
+}
|
|
|
+export interface IInspectorOptions {
|
|
|
+ overlay?: boolean;
|
|
|
+ sceneExplorerRoot?: HTMLElement;
|
|
|
+ actionTabsRoot?: HTMLElement;
|
|
|
+ embedHostRoot?: HTMLElement;
|
|
|
+ showExplorer?: boolean;
|
|
|
+ showInspector?: boolean;
|
|
|
+ explorerWidth?: string;
|
|
|
+ inspectorWidth?: string;
|
|
|
+ embedHostWidth?: string;
|
|
|
+ embedMode?: boolean;
|
|
|
+ handleResize?: boolean;
|
|
|
+ enablePopup?: boolean;
|
|
|
+ explorerExtensibility?: IExtensibilityGroup[];
|
|
|
+}
|
|
|
+export declare class Inspector {
|
|
|
+ static OnSelectionChangeObservable: Observable<string>;
|
|
|
+ static OnPropertyChangedObservable: Observable<PropertyChangedEvent>;
|
|
|
+ static readonly IsVisible: boolean;
|
|
|
+ static Show(scene: Scene, userOptions: Partial<IInspectorOptions>): void;
|
|
|
+ static Hide(): void;
|
|
|
}
|
|
|
|
|
|
declare module 'babylonjs-inspector/components/propertyChangedEvent' {
|
|
@@ -56,37 +54,35 @@ declare module 'babylonjs-inspector/components/propertyChangedEvent' {
|
|
|
// ../../../../Tools/Gulp/babylonjs
|
|
|
declare module INSPECTOR {
|
|
|
}
|
|
|
-declare module INSPECTOR {
|
|
|
- export interface IExtensibilityOption {
|
|
|
- label: string;
|
|
|
- action: (entity: any) => void;
|
|
|
- }
|
|
|
- export interface IExtensibilityGroup {
|
|
|
- predicate: (entity: any) => boolean;
|
|
|
- entries: IExtensibilityOption[];
|
|
|
- }
|
|
|
- export interface IInspectorOptions {
|
|
|
- overlay?: boolean;
|
|
|
- sceneExplorerRoot?: HTMLElement;
|
|
|
- actionTabsRoot?: HTMLElement;
|
|
|
- embedHostRoot?: HTMLElement;
|
|
|
- showExplorer?: boolean;
|
|
|
- showInspector?: boolean;
|
|
|
- explorerWidth?: string;
|
|
|
- inspectorWidth?: string;
|
|
|
- embedHostWidth?: string;
|
|
|
- embedMode?: boolean;
|
|
|
- handleResize?: boolean;
|
|
|
- enablePopup?: boolean;
|
|
|
- explorerExtensibility?: IExtensibilityGroup[];
|
|
|
- }
|
|
|
- export class Inspector {
|
|
|
- static OnSelectionChangeObservable: BABYLON.Observable<string>;
|
|
|
- static OnPropertyChangedObservable: BABYLON.Observable<PropertyChangedEvent>;
|
|
|
- static readonly IsVisible: boolean;
|
|
|
- static Show(scene: BABYLON.Scene, userOptions: Partial<IInspectorOptions>): void;
|
|
|
- static Hide(): void;
|
|
|
- }
|
|
|
+export interface IExtensibilityOption {
|
|
|
+ label: string;
|
|
|
+ action: (entity: any) => void;
|
|
|
+}
|
|
|
+export interface IExtensibilityGroup {
|
|
|
+ predicate: (entity: any) => boolean;
|
|
|
+ entries: IExtensibilityOption[];
|
|
|
+}
|
|
|
+export interface IInspectorOptions {
|
|
|
+ overlay?: boolean;
|
|
|
+ sceneExplorerRoot?: HTMLElement;
|
|
|
+ actionTabsRoot?: HTMLElement;
|
|
|
+ embedHostRoot?: HTMLElement;
|
|
|
+ showExplorer?: boolean;
|
|
|
+ showInspector?: boolean;
|
|
|
+ explorerWidth?: string;
|
|
|
+ inspectorWidth?: string;
|
|
|
+ embedHostWidth?: string;
|
|
|
+ embedMode?: boolean;
|
|
|
+ handleResize?: boolean;
|
|
|
+ enablePopup?: boolean;
|
|
|
+ explorerExtensibility?: IExtensibilityGroup[];
|
|
|
+}
|
|
|
+export declare class Inspector {
|
|
|
+ static OnSelectionChangeObservable: BABYLON.Observable<string>;
|
|
|
+ static OnPropertyChangedObservable: BABYLON.Observable<PropertyChangedEvent>;
|
|
|
+ static readonly IsVisible: boolean;
|
|
|
+ static Show(scene: BABYLON.Scene, userOptions: Partial<IInspectorOptions>): void;
|
|
|
+ static Hide(): void;
|
|
|
}
|
|
|
declare module INSPECTOR {
|
|
|
export class PropertyChangedEvent {
|