1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /*Babylon.js Inspector*/
- // Dependencies for this module:
- // ../../../../Tools/Gulp/babylonjs
- 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;
- }
- }
- declare module 'babylonjs-inspector/components/propertyChangedEvent' {
- export class PropertyChangedEvent {
- object: any;
- property: string;
- value: any;
- initialValue: any;
- }
- }
- /*Babylon.js Inspector*/
- // Dependencies for this module:
- // ../../../../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;
- }
- }
- declare module INSPECTOR {
- export class PropertyChangedEvent {
- object: any;
- property: string;
- value: any;
- initialValue: any;
- }
- }
|