babylonjs-gui-editor 5.19.0 → 5.20.0
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.guiEditor.d.ts
CHANGED
|
@@ -747,6 +747,8 @@ declare module BABYLON {
|
|
|
747
747
|
private _pointerTravelDistance;
|
|
748
748
|
private _processSelectionOnUp;
|
|
749
749
|
private _visibleRegionContainer;
|
|
750
|
+
private _currLeft;
|
|
751
|
+
private _currTop;
|
|
750
752
|
get visibleRegionContainer(): BABYLON.GUI.Container;
|
|
751
753
|
private _panAndZoomContainer;
|
|
752
754
|
get panAndZoomContainer(): BABYLON.GUI.Container;
|
|
@@ -806,7 +808,7 @@ declare module BABYLON {
|
|
|
806
808
|
processSelection(): void;
|
|
807
809
|
onDown(evt: React.PointerEvent<HTMLElement>): void;
|
|
808
810
|
onUp(evt: React.PointerEvent): void;
|
|
809
|
-
createGUICanvas(): void;
|
|
811
|
+
createGUICanvas(embed?: boolean): void;
|
|
810
812
|
synchronizeLiveGUI(): void;
|
|
811
813
|
addControls(scene: Scene): void;
|
|
812
814
|
panning(): void;
|
|
@@ -852,6 +854,7 @@ declare module BABYLON {
|
|
|
852
854
|
private _backgroundColor;
|
|
853
855
|
private _outlines;
|
|
854
856
|
keys: KeyboardManager;
|
|
857
|
+
private _fromPG;
|
|
855
858
|
/** DO NOT USE: in the process of removing */
|
|
856
859
|
blockKeyboardEvents: boolean;
|
|
857
860
|
onOutlineChangedObservable: Observable<void>;
|
|
@@ -903,6 +906,8 @@ declare module BABYLON {
|
|
|
903
906
|
/** adds copy, cut and paste listeners to the host window */
|
|
904
907
|
registerEventListeners(): void;
|
|
905
908
|
get backgroundColor(): Color3;
|
|
909
|
+
get fromPG(): boolean;
|
|
910
|
+
set fromPG(value: boolean);
|
|
906
911
|
set backgroundColor(value: Color3);
|
|
907
912
|
get outlines(): boolean;
|
|
908
913
|
set outlines(value: boolean);
|
|
@@ -940,8 +945,9 @@ declare module BABYLON {
|
|
|
940
945
|
/**
|
|
941
946
|
* Show the gui editor
|
|
942
947
|
* @param options defines the options to use to configure the gui editor
|
|
948
|
+
* @param embed defines whether editor is being opened from the Playground
|
|
943
949
|
*/
|
|
944
|
-
static Show(options: IGUIEditorOptions): Promise<void>;
|
|
950
|
+
static Show(options: IGUIEditorOptions, embed?: boolean): Promise<void>;
|
|
945
951
|
}
|
|
946
952
|
|
|
947
953
|
|