babylonjs-gui 5.24.0 → 5.26.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.gui.d.ts +273 -520
- package/babylon.gui.js +274 -514
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +547 -1040
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ import { Nullable } from "babylonjs/types";
|
|
|
59
59
|
import { Observable } from "babylonjs/Misc/observable";
|
|
60
60
|
import { Matrix } from "babylonjs/Maths/math.vector";
|
|
61
61
|
import { Vector2, Vector3 } from "babylonjs/Maths/math.vector";
|
|
62
|
+
import { PointerInfoPre } from "babylonjs/Events/pointerEvents";
|
|
62
63
|
import { ClipboardInfo } from "babylonjs/Events/clipboardEvents";
|
|
63
64
|
import { DynamicTexture } from "babylonjs/Materials/Textures/dynamicTexture";
|
|
64
65
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
@@ -90,27 +91,27 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
90
91
|
private _canvasPointerOutObserver;
|
|
91
92
|
private _canvasBlurObserver;
|
|
92
93
|
private _background;
|
|
93
|
-
/** @
|
|
94
|
+
/** @internal */
|
|
94
95
|
_rootContainer: Container;
|
|
95
|
-
/** @
|
|
96
|
+
/** @internal */
|
|
96
97
|
_lastPickedControl: Control;
|
|
97
|
-
/** @
|
|
98
|
+
/** @internal */
|
|
98
99
|
_lastControlOver: {
|
|
99
100
|
[pointerId: number]: Control;
|
|
100
101
|
};
|
|
101
|
-
/** @
|
|
102
|
+
/** @internal */
|
|
102
103
|
_lastControlDown: {
|
|
103
104
|
[pointerId: number]: Control;
|
|
104
105
|
};
|
|
105
|
-
/** @
|
|
106
|
+
/** @internal */
|
|
106
107
|
_capturingControl: {
|
|
107
108
|
[pointerId: number]: Control;
|
|
108
109
|
};
|
|
109
|
-
/** @
|
|
110
|
+
/** @internal */
|
|
110
111
|
_shouldBlockPointer: boolean;
|
|
111
|
-
/** @
|
|
112
|
+
/** @internal */
|
|
112
113
|
_layerToDispose: Nullable<Layer>;
|
|
113
|
-
/** @
|
|
114
|
+
/** @internal */
|
|
114
115
|
_linkedControls: Control[];
|
|
115
116
|
private _isFullscreen;
|
|
116
117
|
private _fullscreenViewport;
|
|
@@ -124,13 +125,13 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
124
125
|
private _rootElement;
|
|
125
126
|
private _cursorChanged;
|
|
126
127
|
private _defaultMousePointerId;
|
|
127
|
-
/** @
|
|
128
|
+
/** @internal */
|
|
128
129
|
_capturedPointerIds: Set<number>;
|
|
129
|
-
/** @
|
|
130
|
+
/** @internal */
|
|
130
131
|
_numLayoutCalls: number;
|
|
131
132
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
132
133
|
get numLayoutCalls(): number;
|
|
133
|
-
/** @
|
|
134
|
+
/** @internal */
|
|
134
135
|
_numRenderCalls: number;
|
|
135
136
|
/** Gets the number of render calls made the last time the ADT has been rendered */
|
|
136
137
|
get numRenderCalls(): number;
|
|
@@ -339,7 +340,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
339
340
|
*/
|
|
340
341
|
dispose(): void;
|
|
341
342
|
private _onResize;
|
|
342
|
-
/** @
|
|
343
|
+
/** @internal */
|
|
343
344
|
_getGlobalViewport(): Viewport;
|
|
344
345
|
/**
|
|
345
346
|
* Get screen coordinates for a vector3
|
|
@@ -359,46 +360,45 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
359
360
|
private _clearMeasure;
|
|
360
361
|
private _render;
|
|
361
362
|
/**
|
|
362
|
-
* @
|
|
363
|
-
* @hidden
|
|
363
|
+
* @internal
|
|
364
364
|
*/
|
|
365
365
|
_changeCursor(cursor: string): void;
|
|
366
366
|
/**
|
|
367
|
-
* @
|
|
368
|
-
* @param pointerId
|
|
369
|
-
* @hidden
|
|
367
|
+
* @internal
|
|
370
368
|
*/
|
|
371
369
|
_registerLastControlDown(control: Control, pointerId: number): void;
|
|
372
370
|
private _doPicking;
|
|
373
371
|
/**
|
|
374
|
-
* @
|
|
375
|
-
* @param control
|
|
376
|
-
* @hidden
|
|
372
|
+
* @internal
|
|
377
373
|
*/
|
|
378
374
|
_cleanControlAfterRemovalFromList(list: {
|
|
379
375
|
[pointerId: number]: Control;
|
|
380
376
|
}, control: Control): void;
|
|
381
377
|
/**
|
|
382
|
-
* @
|
|
383
|
-
* @hidden
|
|
378
|
+
* @internal
|
|
384
379
|
*/
|
|
385
380
|
_cleanControlAfterRemoval(control: Control): void;
|
|
381
|
+
/**
|
|
382
|
+
* This function will run a pointer event on this ADT and will trigger any pointer events on any controls
|
|
383
|
+
* This will work on a fullscreen ADT only. For mesh based ADT, simulate pointer events using the scene directly.
|
|
384
|
+
* @param x pointer X on the canvas for the picking
|
|
385
|
+
* @param y pointer Y on the canvas for the picking
|
|
386
|
+
* @param pi optional pointer information
|
|
387
|
+
*/
|
|
388
|
+
pick(x: number, y: number, pi?: Nullable<PointerInfoPre>): void;
|
|
386
389
|
private _translateToPicking;
|
|
387
390
|
/** Attach to all scene events required to support pointer events */
|
|
388
391
|
attach(): void;
|
|
389
392
|
/**
|
|
390
|
-
* @
|
|
391
|
-
* @hidden
|
|
393
|
+
* @internal
|
|
392
394
|
*/
|
|
393
395
|
private _onClipboardCopy;
|
|
394
396
|
/**
|
|
395
|
-
* @
|
|
396
|
-
* @hidden
|
|
397
|
+
* @internal
|
|
397
398
|
*/
|
|
398
399
|
private _onClipboardCut;
|
|
399
400
|
/**
|
|
400
|
-
* @
|
|
401
|
-
* @hidden
|
|
401
|
+
* @internal
|
|
402
402
|
*/
|
|
403
403
|
private _onClipboardPaste;
|
|
404
404
|
/**
|
|
@@ -594,47 +594,23 @@ export class Button extends Rectangle {
|
|
|
594
594
|
constructor(name?: string | undefined);
|
|
595
595
|
protected _getTypeName(): string;
|
|
596
596
|
/**
|
|
597
|
-
* @
|
|
598
|
-
* @param y
|
|
599
|
-
* @param pi
|
|
600
|
-
* @param type
|
|
601
|
-
* @param pointerId
|
|
602
|
-
* @param buttonIndex
|
|
603
|
-
* @param deltaX
|
|
604
|
-
* @param deltaY
|
|
605
|
-
* @hidden
|
|
597
|
+
* @internal
|
|
606
598
|
*/
|
|
607
599
|
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
608
600
|
/**
|
|
609
|
-
* @
|
|
610
|
-
* @param pi
|
|
611
|
-
* @hidden
|
|
601
|
+
* @internal
|
|
612
602
|
*/
|
|
613
603
|
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
614
604
|
/**
|
|
615
|
-
* @
|
|
616
|
-
* @param pi
|
|
617
|
-
* @param force
|
|
618
|
-
* @hidden
|
|
605
|
+
* @internal
|
|
619
606
|
*/
|
|
620
607
|
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
621
608
|
/**
|
|
622
|
-
* @
|
|
623
|
-
* @param coordinates
|
|
624
|
-
* @param pointerId
|
|
625
|
-
* @param buttonIndex
|
|
626
|
-
* @param pi
|
|
627
|
-
* @hidden
|
|
609
|
+
* @internal
|
|
628
610
|
*/
|
|
629
611
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
630
612
|
/**
|
|
631
|
-
* @
|
|
632
|
-
* @param coordinates
|
|
633
|
-
* @param pointerId
|
|
634
|
-
* @param buttonIndex
|
|
635
|
-
* @param notifyClick
|
|
636
|
-
* @param pi
|
|
637
|
-
* @hidden
|
|
613
|
+
* @internal
|
|
638
614
|
*/
|
|
639
615
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
640
616
|
/**
|
|
@@ -643,9 +619,7 @@ export class Button extends Rectangle {
|
|
|
643
619
|
*/
|
|
644
620
|
serialize(serializationObject: any): void;
|
|
645
621
|
/**
|
|
646
|
-
* @
|
|
647
|
-
* @param host
|
|
648
|
-
* @hidden
|
|
622
|
+
* @internal
|
|
649
623
|
*/
|
|
650
624
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
651
625
|
/**
|
|
@@ -720,17 +694,11 @@ export class Checkbox extends Control {
|
|
|
720
694
|
constructor(name?: string | undefined);
|
|
721
695
|
protected _getTypeName(): string;
|
|
722
696
|
/**
|
|
723
|
-
* @
|
|
724
|
-
* @hidden
|
|
697
|
+
* @internal
|
|
725
698
|
*/
|
|
726
699
|
_draw(context: ICanvasRenderingContext): void;
|
|
727
700
|
/**
|
|
728
|
-
* @
|
|
729
|
-
* @param coordinates
|
|
730
|
-
* @param pointerId
|
|
731
|
-
* @param buttonIndex
|
|
732
|
-
* @param pi
|
|
733
|
-
* @hidden
|
|
701
|
+
* @internal
|
|
734
702
|
*/
|
|
735
703
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
736
704
|
/**
|
|
@@ -798,8 +766,7 @@ export class ColorPicker extends Control {
|
|
|
798
766
|
constructor(name?: string | undefined);
|
|
799
767
|
protected _getTypeName(): string;
|
|
800
768
|
/**
|
|
801
|
-
* @
|
|
802
|
-
* @hidden
|
|
769
|
+
* @internal
|
|
803
770
|
*/
|
|
804
771
|
protected _preMeasure(parentMeasure: Measure): void;
|
|
805
772
|
private _updateSquareProps;
|
|
@@ -807,8 +774,7 @@ export class ColorPicker extends Control {
|
|
|
807
774
|
private _drawCircle;
|
|
808
775
|
private _createColorWheelCanvas;
|
|
809
776
|
/**
|
|
810
|
-
* @
|
|
811
|
-
* @hidden
|
|
777
|
+
* @internal
|
|
812
778
|
*/
|
|
813
779
|
_draw(context: ICanvasRenderingContext): void;
|
|
814
780
|
private _pointerIsDown;
|
|
@@ -863,19 +829,19 @@ import { DynamicTexture } from "babylonjs/Materials/Textures/dynamicTexture";
|
|
|
863
829
|
*/
|
|
864
830
|
export class Container extends Control {
|
|
865
831
|
name?: string | undefined;
|
|
866
|
-
/** @
|
|
832
|
+
/** @internal */
|
|
867
833
|
_children: Control[];
|
|
868
|
-
/** @
|
|
834
|
+
/** @internal */
|
|
869
835
|
protected _measureForChildren: Measure;
|
|
870
|
-
/** @
|
|
836
|
+
/** @internal */
|
|
871
837
|
protected _background: string;
|
|
872
|
-
/** @
|
|
838
|
+
/** @internal */
|
|
873
839
|
protected _adaptWidthToChildren: boolean;
|
|
874
|
-
/** @
|
|
840
|
+
/** @internal */
|
|
875
841
|
protected _adaptHeightToChildren: boolean;
|
|
876
|
-
/** @
|
|
842
|
+
/** @internal */
|
|
877
843
|
protected _renderToIntermediateTexture: boolean;
|
|
878
|
-
/** @
|
|
844
|
+
/** @internal */
|
|
879
845
|
protected _intermediateTexture: Nullable<DynamicTexture>;
|
|
880
846
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
881
847
|
get renderToIntermediateTexture(): boolean;
|
|
@@ -945,70 +911,49 @@ export class Container extends Control {
|
|
|
945
911
|
*/
|
|
946
912
|
removeControl(control: Control): Container;
|
|
947
913
|
/**
|
|
948
|
-
* @
|
|
949
|
-
* @hidden
|
|
914
|
+
* @internal
|
|
950
915
|
*/
|
|
951
916
|
_reOrderControl(control: Control): void;
|
|
952
917
|
/**
|
|
953
|
-
* @
|
|
954
|
-
* @hidden
|
|
918
|
+
* @internal
|
|
955
919
|
*/
|
|
956
920
|
_offsetLeft(offset: number): void;
|
|
957
921
|
/**
|
|
958
|
-
* @
|
|
959
|
-
* @hidden
|
|
922
|
+
* @internal
|
|
960
923
|
*/
|
|
961
924
|
_offsetTop(offset: number): void;
|
|
962
|
-
/** @
|
|
925
|
+
/** @internal */
|
|
963
926
|
_markAllAsDirty(): void;
|
|
964
927
|
/**
|
|
965
|
-
* @
|
|
966
|
-
* @hidden
|
|
928
|
+
* @internal
|
|
967
929
|
*/
|
|
968
930
|
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
969
931
|
/**
|
|
970
|
-
* @
|
|
971
|
-
* @hidden
|
|
932
|
+
* @internal
|
|
972
933
|
*/
|
|
973
934
|
_link(host: AdvancedDynamicTexture): void;
|
|
974
|
-
/** @
|
|
935
|
+
/** @internal */
|
|
975
936
|
protected _beforeLayout(): void;
|
|
976
937
|
/**
|
|
977
|
-
* @
|
|
978
|
-
* @param context
|
|
979
|
-
* @hidden
|
|
938
|
+
* @internal
|
|
980
939
|
*/
|
|
981
940
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
982
941
|
/**
|
|
983
|
-
* @
|
|
984
|
-
* @param context
|
|
985
|
-
* @hidden
|
|
942
|
+
* @internal
|
|
986
943
|
*/
|
|
987
944
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
988
945
|
protected _postMeasure(): void;
|
|
989
946
|
/**
|
|
990
|
-
* @
|
|
991
|
-
* @param invalidatedRectangle
|
|
992
|
-
* @hidden
|
|
947
|
+
* @internal
|
|
993
948
|
*/
|
|
994
949
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
995
950
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
996
951
|
/**
|
|
997
|
-
* @
|
|
998
|
-
* @param y
|
|
999
|
-
* @param pi
|
|
1000
|
-
* @param type
|
|
1001
|
-
* @param pointerId
|
|
1002
|
-
* @param buttonIndex
|
|
1003
|
-
* @param deltaX
|
|
1004
|
-
* @param deltaY
|
|
1005
|
-
* @hidden
|
|
952
|
+
* @internal
|
|
1006
953
|
*/
|
|
1007
954
|
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1008
955
|
/**
|
|
1009
|
-
* @
|
|
1010
|
-
* @param context
|
|
1011
|
-
* @hidden
|
|
956
|
+
* @internal
|
|
1012
957
|
*/
|
|
1013
958
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1014
959
|
/**
|
|
@@ -1019,9 +964,7 @@ export class Container extends Control {
|
|
|
1019
964
|
/** Releases associated resources */
|
|
1020
965
|
dispose(): void;
|
|
1021
966
|
/**
|
|
1022
|
-
* @
|
|
1023
|
-
* @param host
|
|
1024
|
-
* @hidden
|
|
967
|
+
* @internal
|
|
1025
968
|
*/
|
|
1026
969
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
1027
970
|
}
|
|
@@ -1055,24 +998,24 @@ export class Control {
|
|
|
1055
998
|
private _alpha;
|
|
1056
999
|
private _alphaSet;
|
|
1057
1000
|
private _zIndex;
|
|
1058
|
-
/** @
|
|
1001
|
+
/** @internal */
|
|
1059
1002
|
_host: AdvancedDynamicTexture;
|
|
1060
1003
|
/** Gets or sets the control parent */
|
|
1061
1004
|
parent: Nullable<Container>;
|
|
1062
|
-
/** @
|
|
1005
|
+
/** @internal */
|
|
1063
1006
|
_currentMeasure: Measure;
|
|
1064
|
-
/** @
|
|
1007
|
+
/** @internal */
|
|
1065
1008
|
_tempPaddingMeasure: Measure;
|
|
1066
1009
|
private _fontFamily;
|
|
1067
1010
|
private _fontStyle;
|
|
1068
1011
|
private _fontWeight;
|
|
1069
1012
|
private _fontSize;
|
|
1070
1013
|
private _font;
|
|
1071
|
-
/** @
|
|
1014
|
+
/** @internal */
|
|
1072
1015
|
_width: ValueAndUnit;
|
|
1073
|
-
/** @
|
|
1016
|
+
/** @internal */
|
|
1074
1017
|
_height: ValueAndUnit;
|
|
1075
|
-
/** @
|
|
1018
|
+
/** @internal */
|
|
1076
1019
|
protected _fontOffset: {
|
|
1077
1020
|
ascent: number;
|
|
1078
1021
|
height: number;
|
|
@@ -1081,39 +1024,39 @@ export class Control {
|
|
|
1081
1024
|
private _color;
|
|
1082
1025
|
private _style;
|
|
1083
1026
|
private _styleObserver;
|
|
1084
|
-
/** @
|
|
1027
|
+
/** @internal */
|
|
1085
1028
|
protected _horizontalAlignment: number;
|
|
1086
|
-
/** @
|
|
1029
|
+
/** @internal */
|
|
1087
1030
|
protected _verticalAlignment: number;
|
|
1088
|
-
/** @
|
|
1031
|
+
/** @internal */
|
|
1089
1032
|
protected _isDirty: boolean;
|
|
1090
|
-
/** @
|
|
1033
|
+
/** @internal */
|
|
1091
1034
|
protected _wasDirty: boolean;
|
|
1092
|
-
/** @
|
|
1035
|
+
/** @internal */
|
|
1093
1036
|
_tempParentMeasure: Measure;
|
|
1094
|
-
/** @
|
|
1037
|
+
/** @internal */
|
|
1095
1038
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
1096
|
-
/** @
|
|
1039
|
+
/** @internal */
|
|
1097
1040
|
protected _cachedParentMeasure: Measure;
|
|
1098
1041
|
private _descendantsOnlyPadding;
|
|
1099
1042
|
private _paddingLeft;
|
|
1100
1043
|
private _paddingRight;
|
|
1101
1044
|
private _paddingTop;
|
|
1102
1045
|
private _paddingBottom;
|
|
1103
|
-
/** @
|
|
1046
|
+
/** @internal */
|
|
1104
1047
|
_left: ValueAndUnit;
|
|
1105
|
-
/** @
|
|
1048
|
+
/** @internal */
|
|
1106
1049
|
_top: ValueAndUnit;
|
|
1107
1050
|
private _scaleX;
|
|
1108
1051
|
private _scaleY;
|
|
1109
1052
|
private _rotation;
|
|
1110
1053
|
private _transformCenterX;
|
|
1111
1054
|
private _transformCenterY;
|
|
1112
|
-
/** @
|
|
1055
|
+
/** @internal */
|
|
1113
1056
|
_transformMatrix: Matrix2D;
|
|
1114
|
-
/** @
|
|
1057
|
+
/** @internal */
|
|
1115
1058
|
protected _invertTransformMatrix: Matrix2D;
|
|
1116
|
-
/** @
|
|
1059
|
+
/** @internal */
|
|
1117
1060
|
protected _transformedPosition: Vector2;
|
|
1118
1061
|
private _isMatrixDirty;
|
|
1119
1062
|
private _cachedOffsetX;
|
|
@@ -1122,7 +1065,7 @@ export class Control {
|
|
|
1122
1065
|
private _isHighlighted;
|
|
1123
1066
|
private _highlightColor;
|
|
1124
1067
|
protected _highlightLineWidth: number;
|
|
1125
|
-
/** @
|
|
1068
|
+
/** @internal */
|
|
1126
1069
|
_linkedMesh: Nullable<TransformNode>;
|
|
1127
1070
|
private _fontSet;
|
|
1128
1071
|
private _dummyVector2;
|
|
@@ -1136,15 +1079,15 @@ export class Control {
|
|
|
1136
1079
|
protected _disabledColor: string;
|
|
1137
1080
|
protected _disabledColorItem: string;
|
|
1138
1081
|
protected _isReadOnly: boolean;
|
|
1139
|
-
/** @
|
|
1082
|
+
/** @internal */
|
|
1140
1083
|
protected _rebuildLayout: boolean;
|
|
1141
|
-
/** @
|
|
1084
|
+
/** @internal */
|
|
1142
1085
|
_customData: any;
|
|
1143
|
-
/** @
|
|
1086
|
+
/** @internal */
|
|
1144
1087
|
_isClipped: boolean;
|
|
1145
|
-
/** @
|
|
1088
|
+
/** @internal */
|
|
1146
1089
|
_automaticSize: boolean;
|
|
1147
|
-
/** @
|
|
1090
|
+
/** @internal */
|
|
1148
1091
|
_tag: any;
|
|
1149
1092
|
/**
|
|
1150
1093
|
* Gets or sets the unique id of the node. Please note that this number will be updated when the control is added to a container
|
|
@@ -1210,9 +1153,9 @@ export class Control {
|
|
|
1210
1153
|
set shadowColor(value: string);
|
|
1211
1154
|
/** Gets or sets the cursor to use when the control is hovered */
|
|
1212
1155
|
hoverCursor: string;
|
|
1213
|
-
/** @
|
|
1156
|
+
/** @internal */
|
|
1214
1157
|
protected _linkOffsetX: ValueAndUnit;
|
|
1215
|
-
/** @
|
|
1158
|
+
/** @internal */
|
|
1216
1159
|
protected _linkOffsetY: ValueAndUnit;
|
|
1217
1160
|
/** Gets the control type name */
|
|
1218
1161
|
get typeName(): string;
|
|
@@ -1382,7 +1325,7 @@ export class Control {
|
|
|
1382
1325
|
*/
|
|
1383
1326
|
get style(): Nullable<Style>;
|
|
1384
1327
|
set style(value: Nullable<Style>);
|
|
1385
|
-
/** @
|
|
1328
|
+
/** @internal */
|
|
1386
1329
|
get _isFontSizeInPercentage(): boolean;
|
|
1387
1330
|
/** Gets or sets font size in pixels */
|
|
1388
1331
|
get fontSizeInPixels(): number;
|
|
@@ -1426,7 +1369,7 @@ export class Control {
|
|
|
1426
1369
|
*/
|
|
1427
1370
|
get paddingLeftInPixels(): number;
|
|
1428
1371
|
set paddingLeftInPixels(value: number);
|
|
1429
|
-
/** @
|
|
1372
|
+
/** @internal */
|
|
1430
1373
|
get _paddingLeftInPixels(): number;
|
|
1431
1374
|
/**
|
|
1432
1375
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
@@ -1440,7 +1383,7 @@ export class Control {
|
|
|
1440
1383
|
*/
|
|
1441
1384
|
get paddingRightInPixels(): number;
|
|
1442
1385
|
set paddingRightInPixels(value: number);
|
|
1443
|
-
/** @
|
|
1386
|
+
/** @internal */
|
|
1444
1387
|
get _paddingRightInPixels(): number;
|
|
1445
1388
|
/**
|
|
1446
1389
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
@@ -1454,7 +1397,7 @@ export class Control {
|
|
|
1454
1397
|
*/
|
|
1455
1398
|
get paddingTopInPixels(): number;
|
|
1456
1399
|
set paddingTopInPixels(value: number);
|
|
1457
|
-
/** @
|
|
1400
|
+
/** @internal */
|
|
1458
1401
|
get _paddingTopInPixels(): number;
|
|
1459
1402
|
/**
|
|
1460
1403
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
@@ -1468,7 +1411,7 @@ export class Control {
|
|
|
1468
1411
|
*/
|
|
1469
1412
|
get paddingBottomInPixels(): number;
|
|
1470
1413
|
set paddingBottomInPixels(value: number);
|
|
1471
|
-
/** @
|
|
1414
|
+
/** @internal */
|
|
1472
1415
|
get _paddingBottomInPixels(): number;
|
|
1473
1416
|
/**
|
|
1474
1417
|
* Gets or sets a value indicating the left coordinate of the control
|
|
@@ -1549,7 +1492,7 @@ export class Control {
|
|
|
1549
1492
|
constructor(
|
|
1550
1493
|
/** defines the name of the control */
|
|
1551
1494
|
name?: string | undefined);
|
|
1552
|
-
/** @
|
|
1495
|
+
/** @internal */
|
|
1553
1496
|
protected _getTypeName(): string;
|
|
1554
1497
|
/**
|
|
1555
1498
|
* Gets the first ascendant in the hierarchy of the given type
|
|
@@ -1566,7 +1509,7 @@ export class Control {
|
|
|
1566
1509
|
* Mark the element and its children as dirty
|
|
1567
1510
|
*/
|
|
1568
1511
|
markAllAsDirty(): void;
|
|
1569
|
-
/** @
|
|
1512
|
+
/** @internal */
|
|
1570
1513
|
_resetFontCache(): void;
|
|
1571
1514
|
/**
|
|
1572
1515
|
* Determines if a container is an ascendant of the current control
|
|
@@ -1638,119 +1581,93 @@ export class Control {
|
|
|
1638
1581
|
*/
|
|
1639
1582
|
setPaddingInPixels(paddingTop: number, paddingRight?: number, paddingBottom?: number, paddingLeft?: number): void;
|
|
1640
1583
|
/**
|
|
1641
|
-
* @
|
|
1642
|
-
* @hidden
|
|
1584
|
+
* @internal
|
|
1643
1585
|
*/
|
|
1644
1586
|
_moveToProjectedPosition(projectedPosition: Vector3): void;
|
|
1645
1587
|
/**
|
|
1646
|
-
* @
|
|
1647
|
-
* @hidden
|
|
1588
|
+
* @internal
|
|
1648
1589
|
*/
|
|
1649
1590
|
_offsetLeft(offset: number): void;
|
|
1650
1591
|
/**
|
|
1651
|
-
* @
|
|
1652
|
-
* @hidden
|
|
1592
|
+
* @internal
|
|
1653
1593
|
*/
|
|
1654
1594
|
_offsetTop(offset: number): void;
|
|
1655
|
-
/** @
|
|
1595
|
+
/** @internal */
|
|
1656
1596
|
_markMatrixAsDirty(): void;
|
|
1657
|
-
/** @
|
|
1597
|
+
/** @internal */
|
|
1658
1598
|
_flagDescendantsAsMatrixDirty(): void;
|
|
1659
1599
|
/**
|
|
1660
|
-
* @
|
|
1661
|
-
* @param context
|
|
1662
|
-
* @hidden
|
|
1600
|
+
* @internal
|
|
1663
1601
|
*/
|
|
1664
1602
|
_intersectsRect(rect: Measure, context?: ICanvasRenderingContext): boolean;
|
|
1665
|
-
/** @
|
|
1603
|
+
/** @internal */
|
|
1666
1604
|
protected _computeAdditionnalOffsetX(): number;
|
|
1667
|
-
/** @
|
|
1605
|
+
/** @internal */
|
|
1668
1606
|
protected _computeAdditionnalOffsetY(): number;
|
|
1669
|
-
/** @
|
|
1607
|
+
/** @internal */
|
|
1670
1608
|
protected invalidateRect(): void;
|
|
1671
1609
|
/**
|
|
1672
|
-
* @
|
|
1673
|
-
* @hidden
|
|
1610
|
+
* @internal
|
|
1674
1611
|
*/
|
|
1675
1612
|
_markAsDirty(force?: boolean): void;
|
|
1676
|
-
/** @
|
|
1613
|
+
/** @internal */
|
|
1677
1614
|
_markAllAsDirty(): void;
|
|
1678
1615
|
/**
|
|
1679
|
-
* @
|
|
1680
|
-
* @hidden
|
|
1616
|
+
* @internal
|
|
1681
1617
|
*/
|
|
1682
1618
|
_link(host: AdvancedDynamicTexture): void;
|
|
1683
1619
|
/**
|
|
1684
|
-
* @
|
|
1685
|
-
* @hidden
|
|
1620
|
+
* @internal
|
|
1686
1621
|
*/
|
|
1687
1622
|
protected _transform(context?: ICanvasRenderingContext): void;
|
|
1688
1623
|
/**
|
|
1689
|
-
* @
|
|
1690
|
-
* @hidden
|
|
1624
|
+
* @internal
|
|
1691
1625
|
*/
|
|
1692
1626
|
_renderHighlight(context: ICanvasRenderingContext): void;
|
|
1693
1627
|
/**
|
|
1694
|
-
* @
|
|
1695
|
-
* @hidden
|
|
1628
|
+
* @internal
|
|
1696
1629
|
*/
|
|
1697
1630
|
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
1698
1631
|
/**
|
|
1699
|
-
* @
|
|
1700
|
-
* @hidden
|
|
1632
|
+
* @internal
|
|
1701
1633
|
*/
|
|
1702
1634
|
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
1703
1635
|
/**
|
|
1704
|
-
* @
|
|
1705
|
-
* @param context
|
|
1706
|
-
* @hidden
|
|
1636
|
+
* @internal
|
|
1707
1637
|
*/
|
|
1708
1638
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
1709
1639
|
/**
|
|
1710
|
-
* @
|
|
1711
|
-
* @param context
|
|
1712
|
-
* @hidden
|
|
1640
|
+
* @internal
|
|
1713
1641
|
*/
|
|
1714
1642
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1715
1643
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
1716
|
-
/** @
|
|
1644
|
+
/** @internal */
|
|
1717
1645
|
_measure(): void;
|
|
1718
1646
|
/**
|
|
1719
|
-
* @
|
|
1720
|
-
* @param context
|
|
1721
|
-
* @hidden
|
|
1647
|
+
* @internal
|
|
1722
1648
|
*/
|
|
1723
1649
|
protected _computeAlignment(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1724
1650
|
/**
|
|
1725
|
-
* @
|
|
1726
|
-
* @param context
|
|
1727
|
-
* @hidden
|
|
1651
|
+
* @internal
|
|
1728
1652
|
*/
|
|
1729
1653
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1730
1654
|
/**
|
|
1731
|
-
* @
|
|
1732
|
-
* @param context
|
|
1733
|
-
* @hidden
|
|
1655
|
+
* @internal
|
|
1734
1656
|
*/
|
|
1735
1657
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1736
1658
|
/**
|
|
1737
|
-
* @
|
|
1738
|
-
* @hidden
|
|
1659
|
+
* @internal
|
|
1739
1660
|
*/
|
|
1740
1661
|
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
1741
1662
|
private static _ClipMeasure;
|
|
1742
1663
|
private _tmpMeasureA;
|
|
1743
1664
|
private _clip;
|
|
1744
1665
|
/**
|
|
1745
|
-
* @
|
|
1746
|
-
* @param invalidatedRectangle
|
|
1747
|
-
* @hidden
|
|
1666
|
+
* @internal
|
|
1748
1667
|
*/
|
|
1749
1668
|
_render(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): boolean;
|
|
1750
1669
|
/**
|
|
1751
|
-
* @
|
|
1752
|
-
* @param invalidatedRectangle
|
|
1753
|
-
* @hidden
|
|
1670
|
+
* @internal
|
|
1754
1671
|
*/
|
|
1755
1672
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): void;
|
|
1756
1673
|
/**
|
|
@@ -1761,80 +1678,41 @@ export class Control {
|
|
|
1761
1678
|
*/
|
|
1762
1679
|
contains(x: number, y: number): boolean;
|
|
1763
1680
|
/**
|
|
1764
|
-
* @
|
|
1765
|
-
* @param y
|
|
1766
|
-
* @param pi
|
|
1767
|
-
* @param type
|
|
1768
|
-
* @param pointerId
|
|
1769
|
-
* @param buttonIndex
|
|
1770
|
-
* @param deltaX
|
|
1771
|
-
* @param deltaY
|
|
1772
|
-
* @hidden
|
|
1681
|
+
* @internal
|
|
1773
1682
|
*/
|
|
1774
1683
|
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1775
1684
|
/**
|
|
1776
|
-
* @
|
|
1777
|
-
* @param coordinates
|
|
1778
|
-
* @param pointerId
|
|
1779
|
-
* @param pi
|
|
1780
|
-
* @hidden
|
|
1685
|
+
* @internal
|
|
1781
1686
|
*/
|
|
1782
1687
|
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: Nullable<PointerInfoBase>): void;
|
|
1783
1688
|
/**
|
|
1784
|
-
* @
|
|
1785
|
-
* @param pi
|
|
1786
|
-
* @hidden
|
|
1689
|
+
* @internal
|
|
1787
1690
|
*/
|
|
1788
1691
|
_onPointerEnter(target: Control, pi: Nullable<PointerInfoBase>): boolean;
|
|
1789
1692
|
/**
|
|
1790
|
-
* @
|
|
1791
|
-
* @param pi
|
|
1792
|
-
* @param force
|
|
1793
|
-
* @hidden
|
|
1693
|
+
* @internal
|
|
1794
1694
|
*/
|
|
1795
1695
|
_onPointerOut(target: Control, pi: Nullable<PointerInfoBase>, force?: boolean): void;
|
|
1796
1696
|
/**
|
|
1797
|
-
* @
|
|
1798
|
-
* @param coordinates
|
|
1799
|
-
* @param pointerId
|
|
1800
|
-
* @param buttonIndex
|
|
1801
|
-
* @param pi
|
|
1802
|
-
* @hidden
|
|
1697
|
+
* @internal
|
|
1803
1698
|
*/
|
|
1804
1699
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: Nullable<PointerInfoBase>): boolean;
|
|
1805
1700
|
/**
|
|
1806
|
-
* @
|
|
1807
|
-
* @param coordinates
|
|
1808
|
-
* @param pointerId
|
|
1809
|
-
* @param buttonIndex
|
|
1810
|
-
* @param notifyClick
|
|
1811
|
-
* @param pi
|
|
1812
|
-
* @hidden
|
|
1701
|
+
* @internal
|
|
1813
1702
|
*/
|
|
1814
1703
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: Nullable<PointerInfoBase>): void;
|
|
1815
1704
|
/**
|
|
1816
|
-
* @
|
|
1817
|
-
* @hidden
|
|
1705
|
+
* @internal
|
|
1818
1706
|
*/
|
|
1819
1707
|
_forcePointerUp(pointerId?: Nullable<number>): void;
|
|
1820
1708
|
/**
|
|
1821
|
-
* @
|
|
1822
|
-
* @param deltaY
|
|
1823
|
-
* @hidden
|
|
1709
|
+
* @internal
|
|
1824
1710
|
*/
|
|
1825
1711
|
_onWheelScroll(deltaX?: number, deltaY?: number): void;
|
|
1826
|
-
/** @
|
|
1712
|
+
/** @internal */
|
|
1827
1713
|
_onCanvasBlur(): void;
|
|
1828
1714
|
/**
|
|
1829
|
-
* @
|
|
1830
|
-
* @param x
|
|
1831
|
-
* @param y
|
|
1832
|
-
* @param pi
|
|
1833
|
-
* @param pointerId
|
|
1834
|
-
* @param buttonIndex
|
|
1835
|
-
* @param deltaX
|
|
1836
|
-
* @param deltaY
|
|
1837
|
-
* @hidden
|
|
1715
|
+
* @internal
|
|
1838
1716
|
*/
|
|
1839
1717
|
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1840
1718
|
private _prepareFont;
|
|
@@ -1844,9 +1722,7 @@ export class Control {
|
|
|
1844
1722
|
*/
|
|
1845
1723
|
serialize(serializationObject: any): void;
|
|
1846
1724
|
/**
|
|
1847
|
-
* @
|
|
1848
|
-
* @param host
|
|
1849
|
-
* @hidden
|
|
1725
|
+
* @internal
|
|
1850
1726
|
*/
|
|
1851
1727
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
1852
1728
|
/** Releases associated resources */
|
|
@@ -1871,8 +1747,7 @@ export class Control {
|
|
|
1871
1747
|
static get VERTICAL_ALIGNMENT_CENTER(): number;
|
|
1872
1748
|
private static _FontHeightSizes;
|
|
1873
1749
|
/**
|
|
1874
|
-
* @
|
|
1875
|
-
* @hidden
|
|
1750
|
+
* @internal
|
|
1876
1751
|
*/
|
|
1877
1752
|
static _GetFontOffset(font: string): {
|
|
1878
1753
|
ascent: number;
|
|
@@ -1891,12 +1766,7 @@ export class Control {
|
|
|
1891
1766
|
controlFirst: boolean;
|
|
1892
1767
|
}) => any;
|
|
1893
1768
|
/**
|
|
1894
|
-
* @
|
|
1895
|
-
* @param y
|
|
1896
|
-
* @param width
|
|
1897
|
-
* @param height
|
|
1898
|
-
* @param context
|
|
1899
|
-
* @hidden
|
|
1769
|
+
* @internal
|
|
1900
1770
|
*/
|
|
1901
1771
|
protected static drawEllipse(x: number, y: number, width: number, height: number, context: ICanvasRenderingContext): void;
|
|
1902
1772
|
}
|
|
@@ -2008,9 +1878,9 @@ export class FocusableButton extends Button implements IFocusableControl {
|
|
|
2008
1878
|
/** Observable raised when a key event was processed */
|
|
2009
1879
|
onKeyboardEventProcessedObservable: Observable<IKeyboardEvent>;
|
|
2010
1880
|
constructor(name?: string | undefined);
|
|
2011
|
-
/** @
|
|
1881
|
+
/** @internal */
|
|
2012
1882
|
onBlur(): void;
|
|
2013
|
-
/** @
|
|
1883
|
+
/** @internal */
|
|
2014
1884
|
onFocus(): void;
|
|
2015
1885
|
/**
|
|
2016
1886
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
@@ -2031,15 +1901,10 @@ export class FocusableButton extends Button implements IFocusableControl {
|
|
|
2031
1901
|
*/
|
|
2032
1902
|
processKeyboard(evt: IKeyboardEvent): void;
|
|
2033
1903
|
/**
|
|
2034
|
-
* @
|
|
2035
|
-
* @param coordinates
|
|
2036
|
-
* @param pointerId
|
|
2037
|
-
* @param buttonIndex
|
|
2038
|
-
* @param pi
|
|
2039
|
-
* @hidden
|
|
1904
|
+
* @internal
|
|
2040
1905
|
*/
|
|
2041
1906
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
2042
|
-
/** @
|
|
1907
|
+
/** @internal */
|
|
2043
1908
|
displose(): void;
|
|
2044
1909
|
}
|
|
2045
1910
|
|
|
@@ -2215,9 +2080,7 @@ export class Grid extends Container {
|
|
|
2215
2080
|
*/
|
|
2216
2081
|
serialize(serializationObject: any): void;
|
|
2217
2082
|
/**
|
|
2218
|
-
* @
|
|
2219
|
-
* @param host
|
|
2220
|
-
* @hidden
|
|
2083
|
+
* @internal
|
|
2221
2084
|
*/
|
|
2222
2085
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
2223
2086
|
}
|
|
@@ -2348,9 +2211,7 @@ export class Image extends Control {
|
|
|
2348
2211
|
get stretch(): number;
|
|
2349
2212
|
set stretch(value: number);
|
|
2350
2213
|
/**
|
|
2351
|
-
* @
|
|
2352
|
-
* @param preserveProperties
|
|
2353
|
-
* @hidden
|
|
2214
|
+
* @internal
|
|
2354
2215
|
*/
|
|
2355
2216
|
_rotate90(n: number, preserveProperties?: boolean): Image;
|
|
2356
2217
|
private _handleRotationForSVGImage;
|
|
@@ -2533,7 +2394,7 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2533
2394
|
protected _isPointerDown: boolean;
|
|
2534
2395
|
protected _onClipboardObserver: Nullable<Observer<ClipboardInfo>>;
|
|
2535
2396
|
protected _onPointerDblTapObserver: Nullable<Observer<PointerInfo>>;
|
|
2536
|
-
/** @
|
|
2397
|
+
/** @internal */
|
|
2537
2398
|
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
2538
2399
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
2539
2400
|
promptMessage: string;
|
|
@@ -2622,9 +2483,9 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2622
2483
|
* @param text defines the text of the control
|
|
2623
2484
|
*/
|
|
2624
2485
|
constructor(name?: string | undefined, text?: string);
|
|
2625
|
-
/** @
|
|
2486
|
+
/** @internal */
|
|
2626
2487
|
onBlur(): void;
|
|
2627
|
-
/** @
|
|
2488
|
+
/** @internal */
|
|
2628
2489
|
onFocus(): void;
|
|
2629
2490
|
/**
|
|
2630
2491
|
* Function to focus an inputText programmatically
|
|
@@ -2641,23 +2502,18 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2641
2502
|
*/
|
|
2642
2503
|
keepsFocusWith(): Nullable<Control[]>;
|
|
2643
2504
|
/**
|
|
2644
|
-
* @
|
|
2645
|
-
* @param key
|
|
2646
|
-
* @param evt
|
|
2647
|
-
* @hidden
|
|
2505
|
+
* @internal
|
|
2648
2506
|
*/
|
|
2649
2507
|
processKey(keyCode: number, key?: string, evt?: IKeyboardEvent): void;
|
|
2650
2508
|
/**
|
|
2651
|
-
* @
|
|
2652
|
-
* @hidden
|
|
2509
|
+
* @internal
|
|
2653
2510
|
*/
|
|
2654
2511
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
2655
2512
|
/**
|
|
2656
|
-
* @
|
|
2657
|
-
* @hidden
|
|
2513
|
+
* @internal
|
|
2658
2514
|
*/
|
|
2659
2515
|
protected _processDblClick(evt: PointerInfo): void;
|
|
2660
|
-
/** @
|
|
2516
|
+
/** @internal */
|
|
2661
2517
|
protected _selectAllText(): void;
|
|
2662
2518
|
/**
|
|
2663
2519
|
* Handles the keyboard event
|
|
@@ -2665,18 +2521,15 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2665
2521
|
*/
|
|
2666
2522
|
processKeyboard(evt: IKeyboardEvent): void;
|
|
2667
2523
|
/**
|
|
2668
|
-
* @
|
|
2669
|
-
* @hidden
|
|
2524
|
+
* @internal
|
|
2670
2525
|
*/
|
|
2671
2526
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
2672
2527
|
/**
|
|
2673
|
-
* @
|
|
2674
|
-
* @hidden
|
|
2528
|
+
* @internal
|
|
2675
2529
|
*/
|
|
2676
2530
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
2677
2531
|
/**
|
|
2678
|
-
* @
|
|
2679
|
-
* @hidden
|
|
2532
|
+
* @internal
|
|
2680
2533
|
*/
|
|
2681
2534
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
2682
2535
|
_draw(context: ICanvasRenderingContext): void;
|
|
@@ -2719,7 +2572,7 @@ export class InputTextArea extends InputText {
|
|
|
2719
2572
|
* An event triggered after the text was broken up into lines
|
|
2720
2573
|
*/
|
|
2721
2574
|
onLinesReadyObservable: Observable<InputTextArea>;
|
|
2722
|
-
/** @
|
|
2575
|
+
/** @internal */
|
|
2723
2576
|
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
2724
2577
|
private _contextForBreakLines;
|
|
2725
2578
|
private _clickedCoordinateX;
|
|
@@ -2770,7 +2623,7 @@ export class InputTextArea extends InputText {
|
|
|
2770
2623
|
* @param code The ascii input number
|
|
2771
2624
|
* @param key The key string representation
|
|
2772
2625
|
* @param evt The keyboard event emits with input
|
|
2773
|
-
* @
|
|
2626
|
+
* @internal
|
|
2774
2627
|
*/
|
|
2775
2628
|
alternativeProcessKey(code: string, key?: string, evt?: IKeyboardEvent): void;
|
|
2776
2629
|
protected _parseLineWordWrap(line: string | undefined, width: number, context: ICanvasRenderingContext): {
|
|
@@ -2789,7 +2642,7 @@ export class InputTextArea extends InputText {
|
|
|
2789
2642
|
*
|
|
2790
2643
|
* @param parentMeasure The parent measure
|
|
2791
2644
|
* @param context The rendering canvas
|
|
2792
|
-
* @
|
|
2645
|
+
* @internal
|
|
2793
2646
|
*/
|
|
2794
2647
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2795
2648
|
/**
|
|
@@ -2797,7 +2650,7 @@ export class InputTextArea extends InputText {
|
|
|
2797
2650
|
*
|
|
2798
2651
|
* @param parentMeasure The parent measure
|
|
2799
2652
|
* @param context The rendering canvas
|
|
2800
|
-
* @
|
|
2653
|
+
* @internal
|
|
2801
2654
|
*/
|
|
2802
2655
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2803
2656
|
private _drawText;
|
|
@@ -2805,21 +2658,21 @@ export class InputTextArea extends InputText {
|
|
|
2805
2658
|
* Copy the text in the clipboard
|
|
2806
2659
|
*
|
|
2807
2660
|
* @param ev The clipboard event
|
|
2808
|
-
* @
|
|
2661
|
+
* @internal
|
|
2809
2662
|
*/
|
|
2810
2663
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
2811
2664
|
/**
|
|
2812
2665
|
* Cut the text and copy it in the clipboard
|
|
2813
2666
|
*
|
|
2814
2667
|
* @param ev The clipboard event
|
|
2815
|
-
* @
|
|
2668
|
+
* @internal
|
|
2816
2669
|
*/
|
|
2817
2670
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
2818
2671
|
/**
|
|
2819
2672
|
* Paste the copied text from the clipboard
|
|
2820
2673
|
*
|
|
2821
2674
|
* @param ev The clipboard event
|
|
2822
|
-
* @
|
|
2675
|
+
* @internal
|
|
2823
2676
|
*/
|
|
2824
2677
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
2825
2678
|
_draw(context: ICanvasRenderingContext): void;
|
|
@@ -2835,17 +2688,17 @@ export class InputTextArea extends InputText {
|
|
|
2835
2688
|
* Update all values of cursor information based on cursorIndex value
|
|
2836
2689
|
*
|
|
2837
2690
|
* @param offset The index to take care of
|
|
2838
|
-
* @
|
|
2691
|
+
* @internal
|
|
2839
2692
|
*/
|
|
2840
2693
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
2841
2694
|
/**
|
|
2842
2695
|
* Select the word immediatly under the cursor on double click
|
|
2843
2696
|
*
|
|
2844
2697
|
* @param _evt Pointer informations of double click
|
|
2845
|
-
* @
|
|
2698
|
+
* @internal
|
|
2846
2699
|
*/
|
|
2847
2700
|
protected _processDblClick(_evt: PointerInfo): void;
|
|
2848
|
-
/** @
|
|
2701
|
+
/** @internal */
|
|
2849
2702
|
protected _selectAllText(): void;
|
|
2850
2703
|
dipose(): void;
|
|
2851
2704
|
}
|
|
@@ -3071,9 +2924,9 @@ export class Rectangle extends Container {
|
|
|
3071
2924
|
*/
|
|
3072
2925
|
constructor(name?: string | undefined);
|
|
3073
2926
|
protected _getTypeName(): string;
|
|
3074
|
-
/** @
|
|
2927
|
+
/** @internal */
|
|
3075
2928
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
3076
|
-
/** @
|
|
2929
|
+
/** @internal */
|
|
3077
2930
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
3078
2931
|
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
3079
2932
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
@@ -3248,18 +3101,14 @@ export class ScrollViewer extends Rectangle {
|
|
|
3248
3101
|
get verticalBarImage(): Image;
|
|
3249
3102
|
set verticalBarImage(value: Image);
|
|
3250
3103
|
private _setWindowPosition;
|
|
3251
|
-
/** @
|
|
3104
|
+
/** @internal */
|
|
3252
3105
|
private _updateScroller;
|
|
3253
3106
|
_link(host: AdvancedDynamicTexture): void;
|
|
3254
3107
|
/**
|
|
3255
|
-
* @
|
|
3256
|
-
* @param barContainer
|
|
3257
|
-
* @param isVertical
|
|
3258
|
-
* @param rotation
|
|
3259
|
-
* @hidden
|
|
3108
|
+
* @internal
|
|
3260
3109
|
*/
|
|
3261
3110
|
private _addBar;
|
|
3262
|
-
/** @
|
|
3111
|
+
/** @internal */
|
|
3263
3112
|
private _attachWheel;
|
|
3264
3113
|
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
3265
3114
|
/** Releases associated resources */
|
|
@@ -3273,7 +3122,7 @@ import { Container } from "babylonjs-gui/2D/controls/container";
|
|
|
3273
3122
|
import { ICanvasRenderingContext } from "babylonjs/Engines/ICanvas";
|
|
3274
3123
|
/**
|
|
3275
3124
|
* Class used to hold a the container for ScrollViewer
|
|
3276
|
-
* @
|
|
3125
|
+
* @internal
|
|
3277
3126
|
*/
|
|
3278
3127
|
export class _ScrollViewerWindow extends Container {
|
|
3279
3128
|
parentClientWidth: number;
|
|
@@ -3304,23 +3153,17 @@ export class _ScrollViewerWindow extends Container {
|
|
|
3304
3153
|
constructor(name?: string);
|
|
3305
3154
|
protected _getTypeName(): string;
|
|
3306
3155
|
/**
|
|
3307
|
-
* @
|
|
3308
|
-
* @param context
|
|
3309
|
-
* @hidden
|
|
3156
|
+
* @internal
|
|
3310
3157
|
*/
|
|
3311
3158
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3312
3159
|
/**
|
|
3313
|
-
* @
|
|
3314
|
-
* @param context
|
|
3315
|
-
* @hidden
|
|
3160
|
+
* @internal
|
|
3316
3161
|
*/
|
|
3317
3162
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
3318
3163
|
private _scrollChildren;
|
|
3319
3164
|
private _scrollChildrenWithBuckets;
|
|
3320
3165
|
/**
|
|
3321
|
-
* @
|
|
3322
|
-
* @param invalidatedRectangle
|
|
3323
|
-
* @hidden
|
|
3166
|
+
* @internal
|
|
3324
3167
|
*/
|
|
3325
3168
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
3326
3169
|
protected _postMeasure(): void;
|
|
@@ -3354,13 +3197,11 @@ export class SelectorGroup {
|
|
|
3354
3197
|
get header(): string;
|
|
3355
3198
|
set header(label: string);
|
|
3356
3199
|
/**
|
|
3357
|
-
* @
|
|
3358
|
-
* @hidden
|
|
3200
|
+
* @internal
|
|
3359
3201
|
*/
|
|
3360
3202
|
private _addGroupHeader;
|
|
3361
3203
|
/**
|
|
3362
|
-
* @
|
|
3363
|
-
* @hidden
|
|
3204
|
+
* @internal
|
|
3364
3205
|
*/
|
|
3365
3206
|
_getSelector(selectorNb: number): StackPanel | undefined;
|
|
3366
3207
|
/** Removes the selector at the given position
|
|
@@ -3379,27 +3220,19 @@ export class CheckboxGroup extends SelectorGroup {
|
|
|
3379
3220
|
*/
|
|
3380
3221
|
addCheckbox(text: string, func?: (s: boolean) => void, checked?: boolean): void;
|
|
3381
3222
|
/**
|
|
3382
|
-
* @
|
|
3383
|
-
* @param label
|
|
3384
|
-
* @hidden
|
|
3223
|
+
* @internal
|
|
3385
3224
|
*/
|
|
3386
3225
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3387
3226
|
/**
|
|
3388
|
-
* @
|
|
3389
|
-
* @param color
|
|
3390
|
-
* @hidden
|
|
3227
|
+
* @internal
|
|
3391
3228
|
*/
|
|
3392
3229
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3393
3230
|
/**
|
|
3394
|
-
* @
|
|
3395
|
-
* @param color
|
|
3396
|
-
* @hidden
|
|
3231
|
+
* @internal
|
|
3397
3232
|
*/
|
|
3398
3233
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3399
3234
|
/**
|
|
3400
|
-
* @
|
|
3401
|
-
* @param color
|
|
3402
|
-
* @hidden
|
|
3235
|
+
* @internal
|
|
3403
3236
|
*/
|
|
3404
3237
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3405
3238
|
}
|
|
@@ -3415,27 +3248,19 @@ export class RadioGroup extends SelectorGroup {
|
|
|
3415
3248
|
*/
|
|
3416
3249
|
addRadio(label: string, func?: (n: number) => void, checked?: boolean): void;
|
|
3417
3250
|
/**
|
|
3418
|
-
* @
|
|
3419
|
-
* @param label
|
|
3420
|
-
* @hidden
|
|
3251
|
+
* @internal
|
|
3421
3252
|
*/
|
|
3422
3253
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3423
3254
|
/**
|
|
3424
|
-
* @
|
|
3425
|
-
* @param color
|
|
3426
|
-
* @hidden
|
|
3255
|
+
* @internal
|
|
3427
3256
|
*/
|
|
3428
3257
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3429
3258
|
/**
|
|
3430
|
-
* @
|
|
3431
|
-
* @param color
|
|
3432
|
-
* @hidden
|
|
3259
|
+
* @internal
|
|
3433
3260
|
*/
|
|
3434
3261
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3435
3262
|
/**
|
|
3436
|
-
* @
|
|
3437
|
-
* @param color
|
|
3438
|
-
* @hidden
|
|
3263
|
+
* @internal
|
|
3439
3264
|
*/
|
|
3440
3265
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3441
3266
|
}
|
|
@@ -3455,27 +3280,19 @@ export class SliderGroup extends SelectorGroup {
|
|
|
3455
3280
|
*/
|
|
3456
3281
|
addSlider(label: string, func?: (v: number) => void, unit?: string, min?: number, max?: number, value?: number, onValueChange?: (v: number) => number): void;
|
|
3457
3282
|
/**
|
|
3458
|
-
* @
|
|
3459
|
-
* @param label
|
|
3460
|
-
* @hidden
|
|
3283
|
+
* @internal
|
|
3461
3284
|
*/
|
|
3462
3285
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3463
3286
|
/**
|
|
3464
|
-
* @
|
|
3465
|
-
* @param color
|
|
3466
|
-
* @hidden
|
|
3287
|
+
* @internal
|
|
3467
3288
|
*/
|
|
3468
3289
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3469
3290
|
/**
|
|
3470
|
-
* @
|
|
3471
|
-
* @param color
|
|
3472
|
-
* @hidden
|
|
3291
|
+
* @internal
|
|
3473
3292
|
*/
|
|
3474
3293
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3475
3294
|
/**
|
|
3476
|
-
* @
|
|
3477
|
-
* @param color
|
|
3478
|
-
* @hidden
|
|
3295
|
+
* @internal
|
|
3479
3296
|
*/
|
|
3480
3297
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3481
3298
|
}
|
|
@@ -3666,9 +3483,7 @@ export class BaseSlider extends Control {
|
|
|
3666
3483
|
protected _prepareRenderingData(type: string): void;
|
|
3667
3484
|
private _pointerIsDown;
|
|
3668
3485
|
/**
|
|
3669
|
-
* @
|
|
3670
|
-
* @param y
|
|
3671
|
-
* @hidden
|
|
3486
|
+
* @internal
|
|
3672
3487
|
*/
|
|
3673
3488
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3674
3489
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3722,9 +3537,7 @@ export class ImageBasedSlider extends BaseSlider {
|
|
|
3722
3537
|
*/
|
|
3723
3538
|
serialize(serializationObject: any): void;
|
|
3724
3539
|
/**
|
|
3725
|
-
* @
|
|
3726
|
-
* @param host
|
|
3727
|
-
* @hidden
|
|
3540
|
+
* @internal
|
|
3728
3541
|
*/
|
|
3729
3542
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
3730
3543
|
}
|
|
@@ -3793,9 +3606,7 @@ export class ImageScrollBar extends BaseSlider {
|
|
|
3793
3606
|
private _originX;
|
|
3794
3607
|
private _originY;
|
|
3795
3608
|
/**
|
|
3796
|
-
* @
|
|
3797
|
-
* @param y
|
|
3798
|
-
* @hidden
|
|
3609
|
+
* @internal
|
|
3799
3610
|
*/
|
|
3800
3611
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3801
3612
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3838,9 +3649,7 @@ export class ScrollBar extends BaseSlider {
|
|
|
3838
3649
|
private _originX;
|
|
3839
3650
|
private _originY;
|
|
3840
3651
|
/**
|
|
3841
|
-
* @
|
|
3842
|
-
* @param y
|
|
3843
|
-
* @hidden
|
|
3652
|
+
* @internal
|
|
3844
3653
|
*/
|
|
3845
3654
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3846
3655
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3931,9 +3740,7 @@ export class StackPanel extends Container {
|
|
|
3931
3740
|
constructor(name?: string | undefined);
|
|
3932
3741
|
protected _getTypeName(): string;
|
|
3933
3742
|
/**
|
|
3934
|
-
* @
|
|
3935
|
-
* @param context
|
|
3936
|
-
* @hidden
|
|
3743
|
+
* @internal
|
|
3937
3744
|
*/
|
|
3938
3745
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3939
3746
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
@@ -3944,9 +3751,7 @@ export class StackPanel extends Container {
|
|
|
3944
3751
|
*/
|
|
3945
3752
|
serialize(serializationObject: any): void;
|
|
3946
3753
|
/**
|
|
3947
|
-
* @
|
|
3948
|
-
* @param host
|
|
3949
|
-
* @hidden
|
|
3754
|
+
* @internal
|
|
3950
3755
|
*/
|
|
3951
3756
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
3952
3757
|
}
|
|
@@ -3955,7 +3760,7 @@ export class StackPanel extends Container {
|
|
|
3955
3760
|
declare module "babylonjs-gui/2D/controls/statics" {
|
|
3956
3761
|
/**
|
|
3957
3762
|
* Forcing an export so that this code will execute
|
|
3958
|
-
* @
|
|
3763
|
+
* @internal
|
|
3959
3764
|
*/
|
|
3960
3765
|
const name = "Statics";
|
|
3961
3766
|
export { name };
|
|
@@ -4126,8 +3931,7 @@ export class TextBlock extends Control {
|
|
|
4126
3931
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
4127
3932
|
private _drawText;
|
|
4128
3933
|
/**
|
|
4129
|
-
* @
|
|
4130
|
-
* @hidden
|
|
3934
|
+
* @internal
|
|
4131
3935
|
*/
|
|
4132
3936
|
_draw(context: ICanvasRenderingContext): void;
|
|
4133
3937
|
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
@@ -4150,7 +3954,7 @@ export class TextBlock extends Control {
|
|
|
4150
3954
|
|
|
4151
3955
|
}
|
|
4152
3956
|
declare module "babylonjs-gui/2D/controls/textWrapper" {
|
|
4153
|
-
/** @
|
|
3957
|
+
/** @internal */
|
|
4154
3958
|
export class TextWrapper {
|
|
4155
3959
|
private _text;
|
|
4156
3960
|
private _characters;
|
|
@@ -4239,47 +4043,23 @@ export class ToggleButton extends Rectangle {
|
|
|
4239
4043
|
constructor(name?: string | undefined, group?: string);
|
|
4240
4044
|
protected _getTypeName(): string;
|
|
4241
4045
|
/**
|
|
4242
|
-
* @
|
|
4243
|
-
* @param y
|
|
4244
|
-
* @param pi
|
|
4245
|
-
* @param type
|
|
4246
|
-
* @param pointerId
|
|
4247
|
-
* @param buttonIndex
|
|
4248
|
-
* @param deltaX
|
|
4249
|
-
* @param deltaY
|
|
4250
|
-
* @hidden
|
|
4046
|
+
* @internal
|
|
4251
4047
|
*/
|
|
4252
4048
|
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
4253
4049
|
/**
|
|
4254
|
-
* @
|
|
4255
|
-
* @param pi
|
|
4256
|
-
* @hidden
|
|
4050
|
+
* @internal
|
|
4257
4051
|
*/
|
|
4258
4052
|
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
4259
4053
|
/**
|
|
4260
|
-
* @
|
|
4261
|
-
* @param pi
|
|
4262
|
-
* @param force
|
|
4263
|
-
* @hidden
|
|
4054
|
+
* @internal
|
|
4264
4055
|
*/
|
|
4265
4056
|
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
4266
4057
|
/**
|
|
4267
|
-
* @
|
|
4268
|
-
* @param coordinates
|
|
4269
|
-
* @param pointerId
|
|
4270
|
-
* @param buttonIndex
|
|
4271
|
-
* @param pi
|
|
4272
|
-
* @hidden
|
|
4058
|
+
* @internal
|
|
4273
4059
|
*/
|
|
4274
4060
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
4275
4061
|
/**
|
|
4276
|
-
* @
|
|
4277
|
-
* @param coordinates
|
|
4278
|
-
* @param pointerId
|
|
4279
|
-
* @param buttonIndex
|
|
4280
|
-
* @param notifyClick
|
|
4281
|
-
* @param pi
|
|
4282
|
-
* @hidden
|
|
4062
|
+
* @internal
|
|
4283
4063
|
*/
|
|
4284
4064
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
4285
4065
|
}
|
|
@@ -4384,9 +4164,7 @@ export class VirtualKeyboard extends StackPanel {
|
|
|
4384
4164
|
*/
|
|
4385
4165
|
static CreateDefaultLayout(name?: string): VirtualKeyboard;
|
|
4386
4166
|
/**
|
|
4387
|
-
* @
|
|
4388
|
-
* @param host
|
|
4389
|
-
* @hidden
|
|
4167
|
+
* @internal
|
|
4390
4168
|
*/
|
|
4391
4169
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
4392
4170
|
}
|
|
@@ -4622,7 +4400,7 @@ export class MultiLinePoint {
|
|
|
4622
4400
|
private _mesh;
|
|
4623
4401
|
private _controlObserver;
|
|
4624
4402
|
private _meshObserver;
|
|
4625
|
-
/** @
|
|
4403
|
+
/** @internal */
|
|
4626
4404
|
_point: Vector3;
|
|
4627
4405
|
/**
|
|
4628
4406
|
* Creates a new MultiLinePoint
|
|
@@ -4667,9 +4445,9 @@ export class Style implements IDisposable {
|
|
|
4667
4445
|
private _fontFamily;
|
|
4668
4446
|
private _fontStyle;
|
|
4669
4447
|
private _fontWeight;
|
|
4670
|
-
/** @
|
|
4448
|
+
/** @internal */
|
|
4671
4449
|
_host: AdvancedDynamicTexture;
|
|
4672
|
-
/** @
|
|
4450
|
+
/** @internal */
|
|
4673
4451
|
_fontSize: ValueAndUnit;
|
|
4674
4452
|
/**
|
|
4675
4453
|
* Observable raised when the style values are changed
|
|
@@ -4963,7 +4741,7 @@ import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture"
|
|
|
4963
4741
|
* Class used to create a button in 3D
|
|
4964
4742
|
*/
|
|
4965
4743
|
export class Button3D extends AbstractButton3D {
|
|
4966
|
-
/** @
|
|
4744
|
+
/** @internal */
|
|
4967
4745
|
protected _currentMaterial: Material;
|
|
4968
4746
|
/**
|
|
4969
4747
|
* Creates a new button
|
|
@@ -5115,9 +4893,9 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5115
4893
|
private _enterCount;
|
|
5116
4894
|
private _downPointerIds;
|
|
5117
4895
|
protected _isVisible: boolean;
|
|
5118
|
-
/** @
|
|
4896
|
+
/** @internal */
|
|
5119
4897
|
_host: GUI3DManager;
|
|
5120
|
-
/** @
|
|
4898
|
+
/** @internal */
|
|
5121
4899
|
_isScaledByManager: boolean;
|
|
5122
4900
|
/** Gets or sets the control position in world space */
|
|
5123
4901
|
get position(): Vector3;
|
|
@@ -5223,8 +5001,7 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5223
5001
|
*/
|
|
5224
5002
|
linkToTransformNode(node: Nullable<TransformNode>): Control3D;
|
|
5225
5003
|
/**
|
|
5226
|
-
* @
|
|
5227
|
-
* @hidden*
|
|
5004
|
+
* @internal*
|
|
5228
5005
|
*/
|
|
5229
5006
|
_prepareNode(scene: Scene): void;
|
|
5230
5007
|
protected _injectGUI3DReservedDataStore(node: TransformNode): any;
|
|
@@ -5242,53 +5019,34 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5242
5019
|
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5243
5020
|
private _isTouchButton3D;
|
|
5244
5021
|
/**
|
|
5245
|
-
* @
|
|
5246
|
-
* @param coordinates
|
|
5247
|
-
* @hidden
|
|
5022
|
+
* @internal
|
|
5248
5023
|
*/
|
|
5249
5024
|
_onPointerMove(target: Control3D, coordinates: Vector3): void;
|
|
5250
5025
|
/**
|
|
5251
|
-
* @
|
|
5252
|
-
* @hidden
|
|
5026
|
+
* @internal
|
|
5253
5027
|
*/
|
|
5254
5028
|
_onPointerEnter(target: Control3D): boolean;
|
|
5255
5029
|
/**
|
|
5256
|
-
* @
|
|
5257
|
-
* @hidden
|
|
5030
|
+
* @internal
|
|
5258
5031
|
*/
|
|
5259
5032
|
_onPointerOut(target: Control3D): void;
|
|
5260
5033
|
/**
|
|
5261
|
-
* @
|
|
5262
|
-
* @param coordinates
|
|
5263
|
-
* @param pointerId
|
|
5264
|
-
* @param buttonIndex
|
|
5265
|
-
* @hidden
|
|
5034
|
+
* @internal
|
|
5266
5035
|
*/
|
|
5267
5036
|
_onPointerDown(target: Control3D, coordinates: Vector3, pointerId: number, buttonIndex: number): boolean;
|
|
5268
5037
|
/**
|
|
5269
|
-
* @
|
|
5270
|
-
* @param coordinates
|
|
5271
|
-
* @param pointerId
|
|
5272
|
-
* @param buttonIndex
|
|
5273
|
-
* @param notifyClick
|
|
5274
|
-
* @hidden
|
|
5038
|
+
* @internal
|
|
5275
5039
|
*/
|
|
5276
5040
|
_onPointerUp(target: Control3D, coordinates: Vector3, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
5277
5041
|
/**
|
|
5278
|
-
* @
|
|
5279
|
-
* @hidden
|
|
5042
|
+
* @internal
|
|
5280
5043
|
*/
|
|
5281
5044
|
forcePointerUp(pointerId?: Nullable<number>): void;
|
|
5282
5045
|
/**
|
|
5283
|
-
* @
|
|
5284
|
-
* @param pickedPoint
|
|
5285
|
-
* @param originMeshPosition
|
|
5286
|
-
* @param pointerId
|
|
5287
|
-
* @param buttonIndex
|
|
5288
|
-
* @hidden
|
|
5046
|
+
* @internal
|
|
5289
5047
|
*/
|
|
5290
5048
|
_processObservables(type: number, pickedPoint: Vector3, originMeshPosition: Nullable<Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
5291
|
-
/** @
|
|
5049
|
+
/** @internal */
|
|
5292
5050
|
_disposeNode(): void;
|
|
5293
5051
|
/**
|
|
5294
5052
|
* Releases all associated resources
|
|
@@ -5540,13 +5298,13 @@ export class HolographicSlate extends ContentDisplay3D {
|
|
|
5540
5298
|
* Regroups all mesh behaviors for the slate
|
|
5541
5299
|
*/
|
|
5542
5300
|
get defaultBehavior(): DefaultBehavior;
|
|
5543
|
-
/** @
|
|
5301
|
+
/** @internal */
|
|
5544
5302
|
_gizmo: SlateGizmo;
|
|
5545
5303
|
protected _titleBar: Mesh;
|
|
5546
5304
|
protected _titleBarTitle: Mesh;
|
|
5547
5305
|
protected _contentPlate: Mesh;
|
|
5548
5306
|
protected _backPlate: Mesh;
|
|
5549
|
-
/** @
|
|
5307
|
+
/** @internal */
|
|
5550
5308
|
_followButton: TouchHolographicButton;
|
|
5551
5309
|
protected _closeButton: TouchHolographicButton;
|
|
5552
5310
|
protected _contentScaleRatio: number;
|
|
@@ -5592,21 +5350,20 @@ export class HolographicSlate extends ContentDisplay3D {
|
|
|
5592
5350
|
private _addControl;
|
|
5593
5351
|
protected _getTypeName(): string;
|
|
5594
5352
|
/**
|
|
5595
|
-
* @
|
|
5353
|
+
* @internal
|
|
5596
5354
|
*/
|
|
5597
5355
|
_positionElements(): void;
|
|
5598
5356
|
private _applyContentViewport;
|
|
5599
5357
|
private _resetContentPositionAndZoom;
|
|
5600
5358
|
/**
|
|
5601
|
-
* @
|
|
5359
|
+
* @internal
|
|
5602
5360
|
*/
|
|
5603
5361
|
_updatePivot(): void;
|
|
5604
5362
|
protected _createNode(scene: Scene): TransformNode;
|
|
5605
5363
|
private _attachContentPlateBehavior;
|
|
5606
5364
|
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5607
5365
|
/**
|
|
5608
|
-
* @
|
|
5609
|
-
* @hidden*
|
|
5366
|
+
* @internal*
|
|
5610
5367
|
*/
|
|
5611
5368
|
_prepareNode(scene: Scene): void;
|
|
5612
5369
|
/**
|
|
@@ -5655,7 +5412,7 @@ import { Button3D } from "babylonjs-gui/3D/controls/button3D";
|
|
|
5655
5412
|
* Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
|
|
5656
5413
|
*/
|
|
5657
5414
|
export class MeshButton3D extends Button3D {
|
|
5658
|
-
/** @
|
|
5415
|
+
/** @internal */
|
|
5659
5416
|
protected _currentMesh: Mesh;
|
|
5660
5417
|
/**
|
|
5661
5418
|
* Creates a new 3D button based on a mesh
|
|
@@ -5948,10 +5705,7 @@ export class TouchButton3D extends Button3D {
|
|
|
5948
5705
|
getPressDepth(touchPoint: Vector3): number;
|
|
5949
5706
|
protected _getInteractionHeight(interactionPos: Vector3, basePos: Vector3): number;
|
|
5950
5707
|
/**
|
|
5951
|
-
* @
|
|
5952
|
-
* @param nearMeshPosition
|
|
5953
|
-
* @param activeInteractionCount
|
|
5954
|
-
* @hidden
|
|
5708
|
+
* @internal
|
|
5955
5709
|
*/
|
|
5956
5710
|
_generatePointerEventType(providedType: number, nearMeshPosition: Vector3, activeInteractionCount: number): number;
|
|
5957
5711
|
protected _getTypeName(): string;
|
|
@@ -6150,7 +5904,7 @@ import { TouchButton3D } from "babylonjs-gui/3D/controls/touchButton3D";
|
|
|
6150
5904
|
* @since 5.0.0
|
|
6151
5905
|
*/
|
|
6152
5906
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
6153
|
-
/** @
|
|
5907
|
+
/** @internal */
|
|
6154
5908
|
protected _currentMesh: Mesh;
|
|
6155
5909
|
/**
|
|
6156
5910
|
* Creates a new 3D button based on a mesh
|
|
@@ -6255,7 +6009,7 @@ export abstract class GizmoHandle {
|
|
|
6255
6009
|
private _draggingObserver;
|
|
6256
6010
|
private _dragEndObserver;
|
|
6257
6011
|
/**
|
|
6258
|
-
* @
|
|
6012
|
+
* @internal
|
|
6259
6013
|
*/
|
|
6260
6014
|
_dragBehavior: BaseSixDofDragBehavior;
|
|
6261
6015
|
/**
|
|
@@ -6418,13 +6172,13 @@ export class GUI3DManager implements IDisposable {
|
|
|
6418
6172
|
private _pointerObserver;
|
|
6419
6173
|
private _pointerOutObserver;
|
|
6420
6174
|
private _customControlScaling;
|
|
6421
|
-
/** @
|
|
6175
|
+
/** @internal */
|
|
6422
6176
|
_lastPickedControl: Control3D;
|
|
6423
|
-
/** @
|
|
6177
|
+
/** @internal */
|
|
6424
6178
|
_lastControlOver: {
|
|
6425
6179
|
[pointerId: number]: Control3D;
|
|
6426
6180
|
};
|
|
6427
|
-
/** @
|
|
6181
|
+
/** @internal */
|
|
6428
6182
|
_lastControlDown: {
|
|
6429
6183
|
[pointerId: number]: Control3D;
|
|
6430
6184
|
};
|
|
@@ -6437,11 +6191,11 @@ export class GUI3DManager implements IDisposable {
|
|
|
6437
6191
|
* Observable raised when a picking happens
|
|
6438
6192
|
*/
|
|
6439
6193
|
onPickingObservable: Observable<Nullable<AbstractMesh>>;
|
|
6440
|
-
/** @
|
|
6194
|
+
/** @internal */
|
|
6441
6195
|
_sharedMaterials: {
|
|
6442
6196
|
[key: string]: Material;
|
|
6443
6197
|
};
|
|
6444
|
-
/** @
|
|
6198
|
+
/** @internal */
|
|
6445
6199
|
_touchSharedMaterials: {
|
|
6446
6200
|
[key: string]: Material;
|
|
6447
6201
|
};
|
|
@@ -6515,7 +6269,7 @@ import { Scene } from "babylonjs/scene";
|
|
|
6515
6269
|
import { Color3, Color4 } from "babylonjs/Maths/math.color";
|
|
6516
6270
|
import "babylonjs-gui/3D/materials/fluent/shaders/fluent.vertex";
|
|
6517
6271
|
import "babylonjs-gui/3D/materials/fluent/shaders/fluent.fragment";
|
|
6518
|
-
/** @
|
|
6272
|
+
/** @internal */
|
|
6519
6273
|
export class FluentMaterialDefines extends MaterialDefines {
|
|
6520
6274
|
INNERGLOW: boolean;
|
|
6521
6275
|
BORDER: boolean;
|
|
@@ -6600,7 +6354,7 @@ export * from "babylonjs-gui/3D/materials/fluent/fluentMaterial";
|
|
|
6600
6354
|
|
|
6601
6355
|
}
|
|
6602
6356
|
declare module "babylonjs-gui/3D/materials/fluent/shaders/fluent.fragment" {
|
|
6603
|
-
/** @
|
|
6357
|
+
/** @internal */
|
|
6604
6358
|
export const fluentPixelShader: {
|
|
6605
6359
|
name: string;
|
|
6606
6360
|
shader: string;
|
|
@@ -6608,7 +6362,7 @@ export const fluentPixelShader: {
|
|
|
6608
6362
|
|
|
6609
6363
|
}
|
|
6610
6364
|
declare module "babylonjs-gui/3D/materials/fluent/shaders/fluent.vertex" {
|
|
6611
|
-
/** @
|
|
6365
|
+
/** @internal */
|
|
6612
6366
|
export const fluentVertexShader: {
|
|
6613
6367
|
name: string;
|
|
6614
6368
|
shader: string;
|
|
@@ -6656,7 +6410,7 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6656
6410
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
6657
6411
|
*/
|
|
6658
6412
|
absoluteSizes: boolean;
|
|
6659
|
-
/** @
|
|
6413
|
+
/** @internal */
|
|
6660
6414
|
_filterWidth: number;
|
|
6661
6415
|
/**
|
|
6662
6416
|
* Gets or sets the base color of the backplate.
|
|
@@ -6710,7 +6464,7 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6710
6464
|
* Gets or sets the opacity of the fluent hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 0.
|
|
6711
6465
|
*/
|
|
6712
6466
|
blobFade2: number;
|
|
6713
|
-
/** @
|
|
6467
|
+
/** @internal */
|
|
6714
6468
|
_rate: number;
|
|
6715
6469
|
/**
|
|
6716
6470
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -6720,9 +6474,9 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6720
6474
|
* Gets or sets the width of the highlights on the backplate line.
|
|
6721
6475
|
*/
|
|
6722
6476
|
highlightWidth: number;
|
|
6723
|
-
/** @
|
|
6477
|
+
/** @internal */
|
|
6724
6478
|
_highlightTransform: Vector4;
|
|
6725
|
-
/** @
|
|
6479
|
+
/** @internal */
|
|
6726
6480
|
_highlight: number;
|
|
6727
6481
|
/**
|
|
6728
6482
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -6732,17 +6486,17 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6732
6486
|
* Gets or sets the intensity of the iridescence effect on the backplate edges.
|
|
6733
6487
|
*/
|
|
6734
6488
|
iridescenceEdgeIntensity: number;
|
|
6735
|
-
/** @
|
|
6489
|
+
/** @internal */
|
|
6736
6490
|
_angle: number;
|
|
6737
6491
|
/**
|
|
6738
6492
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
6739
6493
|
*/
|
|
6740
6494
|
fadeOut: number;
|
|
6741
|
-
/** @
|
|
6495
|
+
/** @internal */
|
|
6742
6496
|
_reflected: boolean;
|
|
6743
|
-
/** @
|
|
6497
|
+
/** @internal */
|
|
6744
6498
|
_frequency: number;
|
|
6745
|
-
/** @
|
|
6499
|
+
/** @internal */
|
|
6746
6500
|
_verticalOffset: number;
|
|
6747
6501
|
/**
|
|
6748
6502
|
* Gets or sets the world-space position of the tip of the left index finger.
|
|
@@ -6778,7 +6532,7 @@ export * from "babylonjs-gui/3D/materials/fluentBackplate/fluentBackplateMateria
|
|
|
6778
6532
|
|
|
6779
6533
|
}
|
|
6780
6534
|
declare module "babylonjs-gui/3D/materials/fluentBackplate/shaders/fluentBackplate.fragment" {
|
|
6781
|
-
/** @
|
|
6535
|
+
/** @internal */
|
|
6782
6536
|
export const fluentBackplatePixelShader: {
|
|
6783
6537
|
name: string;
|
|
6784
6538
|
shader: string;
|
|
@@ -6786,7 +6540,7 @@ export const fluentBackplatePixelShader: {
|
|
|
6786
6540
|
|
|
6787
6541
|
}
|
|
6788
6542
|
declare module "babylonjs-gui/3D/materials/fluentBackplate/shaders/fluentBackplate.vertex" {
|
|
6789
|
-
/** @
|
|
6543
|
+
/** @internal */
|
|
6790
6544
|
export const fluentBackplateVertexShader: {
|
|
6791
6545
|
name: string;
|
|
6792
6546
|
shader: string;
|
|
@@ -6991,7 +6745,7 @@ export * from "babylonjs-gui/3D/materials/fluentButton/fluentButtonMaterial";
|
|
|
6991
6745
|
|
|
6992
6746
|
}
|
|
6993
6747
|
declare module "babylonjs-gui/3D/materials/fluentButton/shaders/fluentButton.fragment" {
|
|
6994
|
-
/** @
|
|
6748
|
+
/** @internal */
|
|
6995
6749
|
export const fluentButtonPixelShader: {
|
|
6996
6750
|
name: string;
|
|
6997
6751
|
shader: string;
|
|
@@ -6999,7 +6753,7 @@ export const fluentButtonPixelShader: {
|
|
|
6999
6753
|
|
|
7000
6754
|
}
|
|
7001
6755
|
declare module "babylonjs-gui/3D/materials/fluentButton/shaders/fluentButton.vertex" {
|
|
7002
|
-
/** @
|
|
6756
|
+
/** @internal */
|
|
7003
6757
|
export const fluentButtonVertexShader: {
|
|
7004
6758
|
name: string;
|
|
7005
6759
|
shader: string;
|
|
@@ -7067,7 +6821,7 @@ export class HandleMaterial extends ShaderMaterial {
|
|
|
7067
6821
|
*/
|
|
7068
6822
|
dragScale: number;
|
|
7069
6823
|
/**
|
|
7070
|
-
* @
|
|
6824
|
+
* @internal
|
|
7071
6825
|
*/
|
|
7072
6826
|
_positionOffset: Vector3;
|
|
7073
6827
|
/**
|
|
@@ -7089,7 +6843,7 @@ export * from "babylonjs-gui/3D/materials/handle/handleMaterial";
|
|
|
7089
6843
|
|
|
7090
6844
|
}
|
|
7091
6845
|
declare module "babylonjs-gui/3D/materials/handle/shaders/handle.fragment" {
|
|
7092
|
-
/** @
|
|
6846
|
+
/** @internal */
|
|
7093
6847
|
export const handlePixelShader: {
|
|
7094
6848
|
name: string;
|
|
7095
6849
|
shader: string;
|
|
@@ -7097,7 +6851,7 @@ export const handlePixelShader: {
|
|
|
7097
6851
|
|
|
7098
6852
|
}
|
|
7099
6853
|
declare module "babylonjs-gui/3D/materials/handle/shaders/handle.vertex" {
|
|
7100
|
-
/** @
|
|
6854
|
+
/** @internal */
|
|
7101
6855
|
export const handleVertexShader: {
|
|
7102
6856
|
name: string;
|
|
7103
6857
|
shader: string;
|
|
@@ -7154,7 +6908,7 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7154
6908
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
7155
6909
|
*/
|
|
7156
6910
|
absoluteSizes: boolean;
|
|
7157
|
-
/** @
|
|
6911
|
+
/** @internal */
|
|
7158
6912
|
_filterWidth: number;
|
|
7159
6913
|
/**
|
|
7160
6914
|
* Gets or sets the base color of the backplate.
|
|
@@ -7180,7 +6934,7 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7180
6934
|
* Gets or sets the top left Radii Multiplier.
|
|
7181
6935
|
*/
|
|
7182
6936
|
radiusBottomRight: number;
|
|
7183
|
-
/** @
|
|
6937
|
+
/** @internal */
|
|
7184
6938
|
_rate: number;
|
|
7185
6939
|
/**
|
|
7186
6940
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -7190,9 +6944,9 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7190
6944
|
* Gets or sets the width of the highlights on the backplate line.
|
|
7191
6945
|
*/
|
|
7192
6946
|
highlightWidth: number;
|
|
7193
|
-
/** @
|
|
6947
|
+
/** @internal */
|
|
7194
6948
|
_highlightTransform: Vector4;
|
|
7195
|
-
/** @
|
|
6949
|
+
/** @internal */
|
|
7196
6950
|
_highlight: number;
|
|
7197
6951
|
/**
|
|
7198
6952
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -7206,17 +6960,17 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7206
6960
|
* Gets or sets the Tint of the iridescence effect on the backplate.
|
|
7207
6961
|
*/
|
|
7208
6962
|
iridescenceTint: Color4;
|
|
7209
|
-
/** @
|
|
6963
|
+
/** @internal */
|
|
7210
6964
|
_angle: number;
|
|
7211
6965
|
/**
|
|
7212
6966
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
7213
6967
|
*/
|
|
7214
6968
|
fadeOut: number;
|
|
7215
|
-
/** @
|
|
6969
|
+
/** @internal */
|
|
7216
6970
|
_reflected: boolean;
|
|
7217
|
-
/** @
|
|
6971
|
+
/** @internal */
|
|
7218
6972
|
_frequency: number;
|
|
7219
|
-
/** @
|
|
6973
|
+
/** @internal */
|
|
7220
6974
|
_verticalOffset: number;
|
|
7221
6975
|
/**
|
|
7222
6976
|
* Gets or sets the gradient color effect on the backplate.
|
|
@@ -7548,43 +7302,43 @@ export class MRDLSliderBarMaterial extends PushMaterial {
|
|
|
7548
7302
|
*/
|
|
7549
7303
|
iridescenceIntensity: number;
|
|
7550
7304
|
/**
|
|
7551
|
-
* @
|
|
7305
|
+
* @internal
|
|
7552
7306
|
*/
|
|
7553
7307
|
useGlobalLeftIndex: number;
|
|
7554
7308
|
/**
|
|
7555
|
-
* @
|
|
7309
|
+
* @internal
|
|
7556
7310
|
*/
|
|
7557
7311
|
useGlobalRightIndex: number;
|
|
7558
7312
|
/**
|
|
7559
|
-
* @
|
|
7313
|
+
* @internal
|
|
7560
7314
|
*/
|
|
7561
7315
|
globalLeftIndexTipProximity: number;
|
|
7562
7316
|
/**
|
|
7563
|
-
* @
|
|
7317
|
+
* @internal
|
|
7564
7318
|
*/
|
|
7565
7319
|
globalRightIndexTipProximity: number;
|
|
7566
7320
|
/**
|
|
7567
|
-
* @
|
|
7321
|
+
* @internal
|
|
7568
7322
|
*/
|
|
7569
7323
|
globalLeftIndexTipPosition: Vector4;
|
|
7570
7324
|
/**
|
|
7571
|
-
* @
|
|
7325
|
+
* @internal
|
|
7572
7326
|
*/
|
|
7573
7327
|
globaRightIndexTipPosition: Vector4;
|
|
7574
7328
|
/**
|
|
7575
|
-
* @
|
|
7329
|
+
* @internal
|
|
7576
7330
|
*/
|
|
7577
7331
|
globalLeftThumbTipPosition: Vector4;
|
|
7578
7332
|
/**
|
|
7579
|
-
* @
|
|
7333
|
+
* @internal
|
|
7580
7334
|
*/
|
|
7581
7335
|
globalRightThumbTipPosition: Vector4;
|
|
7582
7336
|
/**
|
|
7583
|
-
* @
|
|
7337
|
+
* @internal
|
|
7584
7338
|
*/
|
|
7585
7339
|
globalLeftIndexMiddlePosition: Vector4;
|
|
7586
7340
|
/**
|
|
7587
|
-
* @
|
|
7341
|
+
* @internal
|
|
7588
7342
|
*/
|
|
7589
7343
|
globalRightIndexMiddlePosition: Vector4;
|
|
7590
7344
|
constructor(name: string, scene?: Scene);
|
|
@@ -7885,43 +7639,43 @@ export class MRDLSliderThumbMaterial extends PushMaterial {
|
|
|
7885
7639
|
*/
|
|
7886
7640
|
iridescenceIntensity: number;
|
|
7887
7641
|
/**
|
|
7888
|
-
* @
|
|
7642
|
+
* @internal
|
|
7889
7643
|
*/
|
|
7890
7644
|
useGlobalLeftIndex: number;
|
|
7891
7645
|
/**
|
|
7892
|
-
* @
|
|
7646
|
+
* @internal
|
|
7893
7647
|
*/
|
|
7894
7648
|
useGlobalRightIndex: number;
|
|
7895
7649
|
/**
|
|
7896
|
-
* @
|
|
7650
|
+
* @internal
|
|
7897
7651
|
*/
|
|
7898
7652
|
globalLeftIndexTipProximity: number;
|
|
7899
7653
|
/**
|
|
7900
|
-
* @
|
|
7654
|
+
* @internal
|
|
7901
7655
|
*/
|
|
7902
7656
|
globalRightIndexTipProximity: number;
|
|
7903
7657
|
/**
|
|
7904
|
-
* @
|
|
7658
|
+
* @internal
|
|
7905
7659
|
*/
|
|
7906
7660
|
globalLeftIndexTipPosition: Vector4;
|
|
7907
7661
|
/**
|
|
7908
|
-
* @
|
|
7662
|
+
* @internal
|
|
7909
7663
|
*/
|
|
7910
7664
|
globaRightIndexTipPosition: Vector4;
|
|
7911
7665
|
/**
|
|
7912
|
-
* @
|
|
7666
|
+
* @internal
|
|
7913
7667
|
*/
|
|
7914
7668
|
globalLeftThumbTipPosition: Vector4;
|
|
7915
7669
|
/**
|
|
7916
|
-
* @
|
|
7670
|
+
* @internal
|
|
7917
7671
|
*/
|
|
7918
7672
|
globalRightThumbTipPosition: Vector4;
|
|
7919
7673
|
/**
|
|
7920
|
-
* @
|
|
7674
|
+
* @internal
|
|
7921
7675
|
*/
|
|
7922
7676
|
globalLeftIndexMiddlePosition: Vector4;
|
|
7923
7677
|
/**
|
|
7924
|
-
* @
|
|
7678
|
+
* @internal
|
|
7925
7679
|
*/
|
|
7926
7680
|
globalRightIndexMiddlePosition: Vector4;
|
|
7927
7681
|
constructor(name: string, scene?: Scene);
|
|
@@ -7944,7 +7698,7 @@ export class MRDLSliderThumbMaterial extends PushMaterial {
|
|
|
7944
7698
|
|
|
7945
7699
|
}
|
|
7946
7700
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlBackplate.fragment" {
|
|
7947
|
-
/** @
|
|
7701
|
+
/** @internal */
|
|
7948
7702
|
export const mrdlBackplatePixelShader: {
|
|
7949
7703
|
name: string;
|
|
7950
7704
|
shader: string;
|
|
@@ -7952,7 +7706,7 @@ export const mrdlBackplatePixelShader: {
|
|
|
7952
7706
|
|
|
7953
7707
|
}
|
|
7954
7708
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlBackplate.vertex" {
|
|
7955
|
-
/** @
|
|
7709
|
+
/** @internal */
|
|
7956
7710
|
export const mrdlBackplateVertexShader: {
|
|
7957
7711
|
name: string;
|
|
7958
7712
|
shader: string;
|
|
@@ -7960,7 +7714,7 @@ export const mrdlBackplateVertexShader: {
|
|
|
7960
7714
|
|
|
7961
7715
|
}
|
|
7962
7716
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderBar.fragment" {
|
|
7963
|
-
/** @
|
|
7717
|
+
/** @internal */
|
|
7964
7718
|
export const mrdlSliderBarPixelShader: {
|
|
7965
7719
|
name: string;
|
|
7966
7720
|
shader: string;
|
|
@@ -7968,7 +7722,7 @@ export const mrdlSliderBarPixelShader: {
|
|
|
7968
7722
|
|
|
7969
7723
|
}
|
|
7970
7724
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderBar.vertex" {
|
|
7971
|
-
/** @
|
|
7725
|
+
/** @internal */
|
|
7972
7726
|
export const mrdlSliderBarVertexShader: {
|
|
7973
7727
|
name: string;
|
|
7974
7728
|
shader: string;
|
|
@@ -7976,7 +7730,7 @@ export const mrdlSliderBarVertexShader: {
|
|
|
7976
7730
|
|
|
7977
7731
|
}
|
|
7978
7732
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderThumb.fragment" {
|
|
7979
|
-
/** @
|
|
7733
|
+
/** @internal */
|
|
7980
7734
|
export const mrdlSliderThumbPixelShader: {
|
|
7981
7735
|
name: string;
|
|
7982
7736
|
shader: string;
|
|
@@ -7984,7 +7738,7 @@ export const mrdlSliderThumbPixelShader: {
|
|
|
7984
7738
|
|
|
7985
7739
|
}
|
|
7986
7740
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderThumb.vertex" {
|
|
7987
|
-
/** @
|
|
7741
|
+
/** @internal */
|
|
7988
7742
|
export const mrdlSliderThumbVertexShader: {
|
|
7989
7743
|
name: string;
|
|
7990
7744
|
shader: string;
|
|
@@ -8098,27 +7852,27 @@ declare module BABYLON.GUI {
|
|
|
8098
7852
|
private _canvasPointerOutObserver;
|
|
8099
7853
|
private _canvasBlurObserver;
|
|
8100
7854
|
private _background;
|
|
8101
|
-
/** @
|
|
7855
|
+
/** @internal */
|
|
8102
7856
|
_rootContainer: Container;
|
|
8103
|
-
/** @
|
|
7857
|
+
/** @internal */
|
|
8104
7858
|
_lastPickedControl: Control;
|
|
8105
|
-
/** @
|
|
7859
|
+
/** @internal */
|
|
8106
7860
|
_lastControlOver: {
|
|
8107
7861
|
[pointerId: number]: Control;
|
|
8108
7862
|
};
|
|
8109
|
-
/** @
|
|
7863
|
+
/** @internal */
|
|
8110
7864
|
_lastControlDown: {
|
|
8111
7865
|
[pointerId: number]: Control;
|
|
8112
7866
|
};
|
|
8113
|
-
/** @
|
|
7867
|
+
/** @internal */
|
|
8114
7868
|
_capturingControl: {
|
|
8115
7869
|
[pointerId: number]: Control;
|
|
8116
7870
|
};
|
|
8117
|
-
/** @
|
|
7871
|
+
/** @internal */
|
|
8118
7872
|
_shouldBlockPointer: boolean;
|
|
8119
|
-
/** @
|
|
7873
|
+
/** @internal */
|
|
8120
7874
|
_layerToDispose: BABYLON.Nullable<BABYLON.Layer>;
|
|
8121
|
-
/** @
|
|
7875
|
+
/** @internal */
|
|
8122
7876
|
_linkedControls: Control[];
|
|
8123
7877
|
private _isFullscreen;
|
|
8124
7878
|
private _fullscreenViewport;
|
|
@@ -8132,13 +7886,13 @@ declare module BABYLON.GUI {
|
|
|
8132
7886
|
private _rootElement;
|
|
8133
7887
|
private _cursorChanged;
|
|
8134
7888
|
private _defaultMousePointerId;
|
|
8135
|
-
/** @
|
|
7889
|
+
/** @internal */
|
|
8136
7890
|
_capturedPointerIds: Set<number>;
|
|
8137
|
-
/** @
|
|
7891
|
+
/** @internal */
|
|
8138
7892
|
_numLayoutCalls: number;
|
|
8139
7893
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
8140
7894
|
get numLayoutCalls(): number;
|
|
8141
|
-
/** @
|
|
7895
|
+
/** @internal */
|
|
8142
7896
|
_numRenderCalls: number;
|
|
8143
7897
|
/** Gets the number of render calls made the last time the ADT has been rendered */
|
|
8144
7898
|
get numRenderCalls(): number;
|
|
@@ -8347,7 +8101,7 @@ declare module BABYLON.GUI {
|
|
|
8347
8101
|
*/
|
|
8348
8102
|
dispose(): void;
|
|
8349
8103
|
private _onResize;
|
|
8350
|
-
/** @
|
|
8104
|
+
/** @internal */
|
|
8351
8105
|
_getGlobalViewport(): BABYLON.Viewport;
|
|
8352
8106
|
/**
|
|
8353
8107
|
* Get screen coordinates for a vector3
|
|
@@ -8367,46 +8121,45 @@ declare module BABYLON.GUI {
|
|
|
8367
8121
|
private _clearMeasure;
|
|
8368
8122
|
private _render;
|
|
8369
8123
|
/**
|
|
8370
|
-
* @
|
|
8371
|
-
* @hidden
|
|
8124
|
+
* @internal
|
|
8372
8125
|
*/
|
|
8373
8126
|
_changeCursor(cursor: string): void;
|
|
8374
8127
|
/**
|
|
8375
|
-
* @
|
|
8376
|
-
* @param pointerId
|
|
8377
|
-
* @hidden
|
|
8128
|
+
* @internal
|
|
8378
8129
|
*/
|
|
8379
8130
|
_registerLastControlDown(control: Control, pointerId: number): void;
|
|
8380
8131
|
private _doPicking;
|
|
8381
8132
|
/**
|
|
8382
|
-
* @
|
|
8383
|
-
* @param control
|
|
8384
|
-
* @hidden
|
|
8133
|
+
* @internal
|
|
8385
8134
|
*/
|
|
8386
8135
|
_cleanControlAfterRemovalFromList(list: {
|
|
8387
8136
|
[pointerId: number]: Control;
|
|
8388
8137
|
}, control: Control): void;
|
|
8389
8138
|
/**
|
|
8390
|
-
* @
|
|
8391
|
-
* @hidden
|
|
8139
|
+
* @internal
|
|
8392
8140
|
*/
|
|
8393
8141
|
_cleanControlAfterRemoval(control: Control): void;
|
|
8142
|
+
/**
|
|
8143
|
+
* This function will run a pointer event on this ADT and will trigger any pointer events on any controls
|
|
8144
|
+
* This will work on a fullscreen ADT only. For mesh based ADT, simulate pointer events using the scene directly.
|
|
8145
|
+
* @param x pointer X on the canvas for the picking
|
|
8146
|
+
* @param y pointer Y on the canvas for the picking
|
|
8147
|
+
* @param pi optional pointer information
|
|
8148
|
+
*/
|
|
8149
|
+
pick(x: number, y: number, pi?: BABYLON.Nullable<BABYLON.PointerInfoPre>): void;
|
|
8394
8150
|
private _translateToPicking;
|
|
8395
8151
|
/** Attach to all scene events required to support pointer events */
|
|
8396
8152
|
attach(): void;
|
|
8397
8153
|
/**
|
|
8398
|
-
* @
|
|
8399
|
-
* @hidden
|
|
8154
|
+
* @internal
|
|
8400
8155
|
*/
|
|
8401
8156
|
private _onClipboardCopy;
|
|
8402
8157
|
/**
|
|
8403
|
-
* @
|
|
8404
|
-
* @hidden
|
|
8158
|
+
* @internal
|
|
8405
8159
|
*/
|
|
8406
8160
|
private _onClipboardCut;
|
|
8407
8161
|
/**
|
|
8408
|
-
* @
|
|
8409
|
-
* @hidden
|
|
8162
|
+
* @internal
|
|
8410
8163
|
*/
|
|
8411
8164
|
private _onClipboardPaste;
|
|
8412
8165
|
/**
|
|
@@ -8593,47 +8346,23 @@ declare module BABYLON.GUI {
|
|
|
8593
8346
|
constructor(name?: string | undefined);
|
|
8594
8347
|
protected _getTypeName(): string;
|
|
8595
8348
|
/**
|
|
8596
|
-
* @
|
|
8597
|
-
* @param y
|
|
8598
|
-
* @param pi
|
|
8599
|
-
* @param type
|
|
8600
|
-
* @param pointerId
|
|
8601
|
-
* @param buttonIndex
|
|
8602
|
-
* @param deltaX
|
|
8603
|
-
* @param deltaY
|
|
8604
|
-
* @hidden
|
|
8349
|
+
* @internal
|
|
8605
8350
|
*/
|
|
8606
8351
|
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8607
8352
|
/**
|
|
8608
|
-
* @
|
|
8609
|
-
* @param pi
|
|
8610
|
-
* @hidden
|
|
8353
|
+
* @internal
|
|
8611
8354
|
*/
|
|
8612
8355
|
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
8613
8356
|
/**
|
|
8614
|
-
* @
|
|
8615
|
-
* @param pi
|
|
8616
|
-
* @param force
|
|
8617
|
-
* @hidden
|
|
8357
|
+
* @internal
|
|
8618
8358
|
*/
|
|
8619
8359
|
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
8620
8360
|
/**
|
|
8621
|
-
* @
|
|
8622
|
-
* @param coordinates
|
|
8623
|
-
* @param pointerId
|
|
8624
|
-
* @param buttonIndex
|
|
8625
|
-
* @param pi
|
|
8626
|
-
* @hidden
|
|
8361
|
+
* @internal
|
|
8627
8362
|
*/
|
|
8628
8363
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8629
8364
|
/**
|
|
8630
|
-
* @
|
|
8631
|
-
* @param coordinates
|
|
8632
|
-
* @param pointerId
|
|
8633
|
-
* @param buttonIndex
|
|
8634
|
-
* @param notifyClick
|
|
8635
|
-
* @param pi
|
|
8636
|
-
* @hidden
|
|
8365
|
+
* @internal
|
|
8637
8366
|
*/
|
|
8638
8367
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
8639
8368
|
/**
|
|
@@ -8642,9 +8371,7 @@ declare module BABYLON.GUI {
|
|
|
8642
8371
|
*/
|
|
8643
8372
|
serialize(serializationObject: any): void;
|
|
8644
8373
|
/**
|
|
8645
|
-
* @
|
|
8646
|
-
* @param host
|
|
8647
|
-
* @hidden
|
|
8374
|
+
* @internal
|
|
8648
8375
|
*/
|
|
8649
8376
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
8650
8377
|
/**
|
|
@@ -8712,17 +8439,11 @@ declare module BABYLON.GUI {
|
|
|
8712
8439
|
constructor(name?: string | undefined);
|
|
8713
8440
|
protected _getTypeName(): string;
|
|
8714
8441
|
/**
|
|
8715
|
-
* @
|
|
8716
|
-
* @hidden
|
|
8442
|
+
* @internal
|
|
8717
8443
|
*/
|
|
8718
8444
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8719
8445
|
/**
|
|
8720
|
-
* @
|
|
8721
|
-
* @param coordinates
|
|
8722
|
-
* @param pointerId
|
|
8723
|
-
* @param buttonIndex
|
|
8724
|
-
* @param pi
|
|
8725
|
-
* @hidden
|
|
8446
|
+
* @internal
|
|
8726
8447
|
*/
|
|
8727
8448
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8728
8449
|
/**
|
|
@@ -8781,8 +8502,7 @@ declare module BABYLON.GUI {
|
|
|
8781
8502
|
constructor(name?: string | undefined);
|
|
8782
8503
|
protected _getTypeName(): string;
|
|
8783
8504
|
/**
|
|
8784
|
-
* @
|
|
8785
|
-
* @hidden
|
|
8505
|
+
* @internal
|
|
8786
8506
|
*/
|
|
8787
8507
|
protected _preMeasure(parentMeasure: Measure): void;
|
|
8788
8508
|
private _updateSquareProps;
|
|
@@ -8790,8 +8510,7 @@ declare module BABYLON.GUI {
|
|
|
8790
8510
|
private _drawCircle;
|
|
8791
8511
|
private _createColorWheelCanvas;
|
|
8792
8512
|
/**
|
|
8793
|
-
* @
|
|
8794
|
-
* @hidden
|
|
8513
|
+
* @internal
|
|
8795
8514
|
*/
|
|
8796
8515
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8797
8516
|
private _pointerIsDown;
|
|
@@ -8838,19 +8557,19 @@ declare module BABYLON.GUI {
|
|
|
8838
8557
|
*/
|
|
8839
8558
|
export class Container extends Control {
|
|
8840
8559
|
name?: string | undefined;
|
|
8841
|
-
/** @
|
|
8560
|
+
/** @internal */
|
|
8842
8561
|
_children: Control[];
|
|
8843
|
-
/** @
|
|
8562
|
+
/** @internal */
|
|
8844
8563
|
protected _measureForChildren: Measure;
|
|
8845
|
-
/** @
|
|
8564
|
+
/** @internal */
|
|
8846
8565
|
protected _background: string;
|
|
8847
|
-
/** @
|
|
8566
|
+
/** @internal */
|
|
8848
8567
|
protected _adaptWidthToChildren: boolean;
|
|
8849
|
-
/** @
|
|
8568
|
+
/** @internal */
|
|
8850
8569
|
protected _adaptHeightToChildren: boolean;
|
|
8851
|
-
/** @
|
|
8570
|
+
/** @internal */
|
|
8852
8571
|
protected _renderToIntermediateTexture: boolean;
|
|
8853
|
-
/** @
|
|
8572
|
+
/** @internal */
|
|
8854
8573
|
protected _intermediateTexture: BABYLON.Nullable<BABYLON.DynamicTexture>;
|
|
8855
8574
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
8856
8575
|
get renderToIntermediateTexture(): boolean;
|
|
@@ -8920,70 +8639,49 @@ declare module BABYLON.GUI {
|
|
|
8920
8639
|
*/
|
|
8921
8640
|
removeControl(control: Control): Container;
|
|
8922
8641
|
/**
|
|
8923
|
-
* @
|
|
8924
|
-
* @hidden
|
|
8642
|
+
* @internal
|
|
8925
8643
|
*/
|
|
8926
8644
|
_reOrderControl(control: Control): void;
|
|
8927
8645
|
/**
|
|
8928
|
-
* @
|
|
8929
|
-
* @hidden
|
|
8646
|
+
* @internal
|
|
8930
8647
|
*/
|
|
8931
8648
|
_offsetLeft(offset: number): void;
|
|
8932
8649
|
/**
|
|
8933
|
-
* @
|
|
8934
|
-
* @hidden
|
|
8650
|
+
* @internal
|
|
8935
8651
|
*/
|
|
8936
8652
|
_offsetTop(offset: number): void;
|
|
8937
|
-
/** @
|
|
8653
|
+
/** @internal */
|
|
8938
8654
|
_markAllAsDirty(): void;
|
|
8939
8655
|
/**
|
|
8940
|
-
* @
|
|
8941
|
-
* @hidden
|
|
8656
|
+
* @internal
|
|
8942
8657
|
*/
|
|
8943
8658
|
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8944
8659
|
/**
|
|
8945
|
-
* @
|
|
8946
|
-
* @hidden
|
|
8660
|
+
* @internal
|
|
8947
8661
|
*/
|
|
8948
8662
|
_link(host: AdvancedDynamicTexture): void;
|
|
8949
|
-
/** @
|
|
8663
|
+
/** @internal */
|
|
8950
8664
|
protected _beforeLayout(): void;
|
|
8951
8665
|
/**
|
|
8952
|
-
* @
|
|
8953
|
-
* @param context
|
|
8954
|
-
* @hidden
|
|
8666
|
+
* @internal
|
|
8955
8667
|
*/
|
|
8956
8668
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8957
8669
|
/**
|
|
8958
|
-
* @
|
|
8959
|
-
* @param context
|
|
8960
|
-
* @hidden
|
|
8670
|
+
* @internal
|
|
8961
8671
|
*/
|
|
8962
8672
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
8963
8673
|
protected _postMeasure(): void;
|
|
8964
8674
|
/**
|
|
8965
|
-
* @
|
|
8966
|
-
* @param invalidatedRectangle
|
|
8967
|
-
* @hidden
|
|
8675
|
+
* @internal
|
|
8968
8676
|
*/
|
|
8969
8677
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
8970
8678
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
8971
8679
|
/**
|
|
8972
|
-
* @
|
|
8973
|
-
* @param y
|
|
8974
|
-
* @param pi
|
|
8975
|
-
* @param type
|
|
8976
|
-
* @param pointerId
|
|
8977
|
-
* @param buttonIndex
|
|
8978
|
-
* @param deltaX
|
|
8979
|
-
* @param deltaY
|
|
8980
|
-
* @hidden
|
|
8680
|
+
* @internal
|
|
8981
8681
|
*/
|
|
8982
8682
|
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8983
8683
|
/**
|
|
8984
|
-
* @
|
|
8985
|
-
* @param context
|
|
8986
|
-
* @hidden
|
|
8684
|
+
* @internal
|
|
8987
8685
|
*/
|
|
8988
8686
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8989
8687
|
/**
|
|
@@ -8994,9 +8692,7 @@ declare module BABYLON.GUI {
|
|
|
8994
8692
|
/** Releases associated resources */
|
|
8995
8693
|
dispose(): void;
|
|
8996
8694
|
/**
|
|
8997
|
-
* @
|
|
8998
|
-
* @param host
|
|
8999
|
-
* @hidden
|
|
8695
|
+
* @internal
|
|
9000
8696
|
*/
|
|
9001
8697
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
9002
8698
|
}
|
|
@@ -9016,24 +8712,24 @@ declare module BABYLON.GUI {
|
|
|
9016
8712
|
private _alpha;
|
|
9017
8713
|
private _alphaSet;
|
|
9018
8714
|
private _zIndex;
|
|
9019
|
-
/** @
|
|
8715
|
+
/** @internal */
|
|
9020
8716
|
_host: AdvancedDynamicTexture;
|
|
9021
8717
|
/** Gets or sets the control parent */
|
|
9022
8718
|
parent: BABYLON.Nullable<Container>;
|
|
9023
|
-
/** @
|
|
8719
|
+
/** @internal */
|
|
9024
8720
|
_currentMeasure: Measure;
|
|
9025
|
-
/** @
|
|
8721
|
+
/** @internal */
|
|
9026
8722
|
_tempPaddingMeasure: Measure;
|
|
9027
8723
|
private _fontFamily;
|
|
9028
8724
|
private _fontStyle;
|
|
9029
8725
|
private _fontWeight;
|
|
9030
8726
|
private _fontSize;
|
|
9031
8727
|
private _font;
|
|
9032
|
-
/** @
|
|
8728
|
+
/** @internal */
|
|
9033
8729
|
_width: ValueAndUnit;
|
|
9034
|
-
/** @
|
|
8730
|
+
/** @internal */
|
|
9035
8731
|
_height: ValueAndUnit;
|
|
9036
|
-
/** @
|
|
8732
|
+
/** @internal */
|
|
9037
8733
|
protected _fontOffset: {
|
|
9038
8734
|
ascent: number;
|
|
9039
8735
|
height: number;
|
|
@@ -9042,39 +8738,39 @@ declare module BABYLON.GUI {
|
|
|
9042
8738
|
private _color;
|
|
9043
8739
|
private _style;
|
|
9044
8740
|
private _styleObserver;
|
|
9045
|
-
/** @
|
|
8741
|
+
/** @internal */
|
|
9046
8742
|
protected _horizontalAlignment: number;
|
|
9047
|
-
/** @
|
|
8743
|
+
/** @internal */
|
|
9048
8744
|
protected _verticalAlignment: number;
|
|
9049
|
-
/** @
|
|
8745
|
+
/** @internal */
|
|
9050
8746
|
protected _isDirty: boolean;
|
|
9051
|
-
/** @
|
|
8747
|
+
/** @internal */
|
|
9052
8748
|
protected _wasDirty: boolean;
|
|
9053
|
-
/** @
|
|
8749
|
+
/** @internal */
|
|
9054
8750
|
_tempParentMeasure: Measure;
|
|
9055
|
-
/** @
|
|
8751
|
+
/** @internal */
|
|
9056
8752
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
9057
|
-
/** @
|
|
8753
|
+
/** @internal */
|
|
9058
8754
|
protected _cachedParentMeasure: Measure;
|
|
9059
8755
|
private _descendantsOnlyPadding;
|
|
9060
8756
|
private _paddingLeft;
|
|
9061
8757
|
private _paddingRight;
|
|
9062
8758
|
private _paddingTop;
|
|
9063
8759
|
private _paddingBottom;
|
|
9064
|
-
/** @
|
|
8760
|
+
/** @internal */
|
|
9065
8761
|
_left: ValueAndUnit;
|
|
9066
|
-
/** @
|
|
8762
|
+
/** @internal */
|
|
9067
8763
|
_top: ValueAndUnit;
|
|
9068
8764
|
private _scaleX;
|
|
9069
8765
|
private _scaleY;
|
|
9070
8766
|
private _rotation;
|
|
9071
8767
|
private _transformCenterX;
|
|
9072
8768
|
private _transformCenterY;
|
|
9073
|
-
/** @
|
|
8769
|
+
/** @internal */
|
|
9074
8770
|
_transformMatrix: Matrix2D;
|
|
9075
|
-
/** @
|
|
8771
|
+
/** @internal */
|
|
9076
8772
|
protected _invertTransformMatrix: Matrix2D;
|
|
9077
|
-
/** @
|
|
8773
|
+
/** @internal */
|
|
9078
8774
|
protected _transformedPosition: BABYLON.Vector2;
|
|
9079
8775
|
private _isMatrixDirty;
|
|
9080
8776
|
private _cachedOffsetX;
|
|
@@ -9083,7 +8779,7 @@ declare module BABYLON.GUI {
|
|
|
9083
8779
|
private _isHighlighted;
|
|
9084
8780
|
private _highlightColor;
|
|
9085
8781
|
protected _highlightLineWidth: number;
|
|
9086
|
-
/** @
|
|
8782
|
+
/** @internal */
|
|
9087
8783
|
_linkedMesh: BABYLON.Nullable<BABYLON.TransformNode>;
|
|
9088
8784
|
private _fontSet;
|
|
9089
8785
|
private _dummyVector2;
|
|
@@ -9097,15 +8793,15 @@ declare module BABYLON.GUI {
|
|
|
9097
8793
|
protected _disabledColor: string;
|
|
9098
8794
|
protected _disabledColorItem: string;
|
|
9099
8795
|
protected _isReadOnly: boolean;
|
|
9100
|
-
/** @
|
|
8796
|
+
/** @internal */
|
|
9101
8797
|
protected _rebuildLayout: boolean;
|
|
9102
|
-
/** @
|
|
8798
|
+
/** @internal */
|
|
9103
8799
|
_customData: any;
|
|
9104
|
-
/** @
|
|
8800
|
+
/** @internal */
|
|
9105
8801
|
_isClipped: boolean;
|
|
9106
|
-
/** @
|
|
8802
|
+
/** @internal */
|
|
9107
8803
|
_automaticSize: boolean;
|
|
9108
|
-
/** @
|
|
8804
|
+
/** @internal */
|
|
9109
8805
|
_tag: any;
|
|
9110
8806
|
/**
|
|
9111
8807
|
* Gets or sets the unique id of the node. Please note that this number will be updated when the control is added to a container
|
|
@@ -9171,9 +8867,9 @@ declare module BABYLON.GUI {
|
|
|
9171
8867
|
set shadowColor(value: string);
|
|
9172
8868
|
/** Gets or sets the cursor to use when the control is hovered */
|
|
9173
8869
|
hoverCursor: string;
|
|
9174
|
-
/** @
|
|
8870
|
+
/** @internal */
|
|
9175
8871
|
protected _linkOffsetX: ValueAndUnit;
|
|
9176
|
-
/** @
|
|
8872
|
+
/** @internal */
|
|
9177
8873
|
protected _linkOffsetY: ValueAndUnit;
|
|
9178
8874
|
/** Gets the control type name */
|
|
9179
8875
|
get typeName(): string;
|
|
@@ -9343,7 +9039,7 @@ declare module BABYLON.GUI {
|
|
|
9343
9039
|
*/
|
|
9344
9040
|
get style(): BABYLON.Nullable<Style>;
|
|
9345
9041
|
set style(value: BABYLON.Nullable<Style>);
|
|
9346
|
-
/** @
|
|
9042
|
+
/** @internal */
|
|
9347
9043
|
get _isFontSizeInPercentage(): boolean;
|
|
9348
9044
|
/** Gets or sets font size in pixels */
|
|
9349
9045
|
get fontSizeInPixels(): number;
|
|
@@ -9387,7 +9083,7 @@ declare module BABYLON.GUI {
|
|
|
9387
9083
|
*/
|
|
9388
9084
|
get paddingLeftInPixels(): number;
|
|
9389
9085
|
set paddingLeftInPixels(value: number);
|
|
9390
|
-
/** @
|
|
9086
|
+
/** @internal */
|
|
9391
9087
|
get _paddingLeftInPixels(): number;
|
|
9392
9088
|
/**
|
|
9393
9089
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
@@ -9401,7 +9097,7 @@ declare module BABYLON.GUI {
|
|
|
9401
9097
|
*/
|
|
9402
9098
|
get paddingRightInPixels(): number;
|
|
9403
9099
|
set paddingRightInPixels(value: number);
|
|
9404
|
-
/** @
|
|
9100
|
+
/** @internal */
|
|
9405
9101
|
get _paddingRightInPixels(): number;
|
|
9406
9102
|
/**
|
|
9407
9103
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
@@ -9415,7 +9111,7 @@ declare module BABYLON.GUI {
|
|
|
9415
9111
|
*/
|
|
9416
9112
|
get paddingTopInPixels(): number;
|
|
9417
9113
|
set paddingTopInPixels(value: number);
|
|
9418
|
-
/** @
|
|
9114
|
+
/** @internal */
|
|
9419
9115
|
get _paddingTopInPixels(): number;
|
|
9420
9116
|
/**
|
|
9421
9117
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
@@ -9429,7 +9125,7 @@ declare module BABYLON.GUI {
|
|
|
9429
9125
|
*/
|
|
9430
9126
|
get paddingBottomInPixels(): number;
|
|
9431
9127
|
set paddingBottomInPixels(value: number);
|
|
9432
|
-
/** @
|
|
9128
|
+
/** @internal */
|
|
9433
9129
|
get _paddingBottomInPixels(): number;
|
|
9434
9130
|
/**
|
|
9435
9131
|
* Gets or sets a value indicating the left coordinate of the control
|
|
@@ -9510,7 +9206,7 @@ declare module BABYLON.GUI {
|
|
|
9510
9206
|
constructor(
|
|
9511
9207
|
/** defines the name of the control */
|
|
9512
9208
|
name?: string | undefined);
|
|
9513
|
-
/** @
|
|
9209
|
+
/** @internal */
|
|
9514
9210
|
protected _getTypeName(): string;
|
|
9515
9211
|
/**
|
|
9516
9212
|
* Gets the first ascendant in the hierarchy of the given type
|
|
@@ -9527,7 +9223,7 @@ declare module BABYLON.GUI {
|
|
|
9527
9223
|
* Mark the element and its children as dirty
|
|
9528
9224
|
*/
|
|
9529
9225
|
markAllAsDirty(): void;
|
|
9530
|
-
/** @
|
|
9226
|
+
/** @internal */
|
|
9531
9227
|
_resetFontCache(): void;
|
|
9532
9228
|
/**
|
|
9533
9229
|
* Determines if a container is an ascendant of the current control
|
|
@@ -9599,119 +9295,93 @@ declare module BABYLON.GUI {
|
|
|
9599
9295
|
*/
|
|
9600
9296
|
setPaddingInPixels(paddingTop: number, paddingRight?: number, paddingBottom?: number, paddingLeft?: number): void;
|
|
9601
9297
|
/**
|
|
9602
|
-
* @
|
|
9603
|
-
* @hidden
|
|
9298
|
+
* @internal
|
|
9604
9299
|
*/
|
|
9605
9300
|
_moveToProjectedPosition(projectedPosition: BABYLON.Vector3): void;
|
|
9606
9301
|
/**
|
|
9607
|
-
* @
|
|
9608
|
-
* @hidden
|
|
9302
|
+
* @internal
|
|
9609
9303
|
*/
|
|
9610
9304
|
_offsetLeft(offset: number): void;
|
|
9611
9305
|
/**
|
|
9612
|
-
* @
|
|
9613
|
-
* @hidden
|
|
9306
|
+
* @internal
|
|
9614
9307
|
*/
|
|
9615
9308
|
_offsetTop(offset: number): void;
|
|
9616
|
-
/** @
|
|
9309
|
+
/** @internal */
|
|
9617
9310
|
_markMatrixAsDirty(): void;
|
|
9618
|
-
/** @
|
|
9311
|
+
/** @internal */
|
|
9619
9312
|
_flagDescendantsAsMatrixDirty(): void;
|
|
9620
9313
|
/**
|
|
9621
|
-
* @
|
|
9622
|
-
* @param context
|
|
9623
|
-
* @hidden
|
|
9314
|
+
* @internal
|
|
9624
9315
|
*/
|
|
9625
9316
|
_intersectsRect(rect: Measure, context?: BABYLON.ICanvasRenderingContext): boolean;
|
|
9626
|
-
/** @
|
|
9317
|
+
/** @internal */
|
|
9627
9318
|
protected _computeAdditionnalOffsetX(): number;
|
|
9628
|
-
/** @
|
|
9319
|
+
/** @internal */
|
|
9629
9320
|
protected _computeAdditionnalOffsetY(): number;
|
|
9630
|
-
/** @
|
|
9321
|
+
/** @internal */
|
|
9631
9322
|
protected invalidateRect(): void;
|
|
9632
9323
|
/**
|
|
9633
|
-
* @
|
|
9634
|
-
* @hidden
|
|
9324
|
+
* @internal
|
|
9635
9325
|
*/
|
|
9636
9326
|
_markAsDirty(force?: boolean): void;
|
|
9637
|
-
/** @
|
|
9327
|
+
/** @internal */
|
|
9638
9328
|
_markAllAsDirty(): void;
|
|
9639
9329
|
/**
|
|
9640
|
-
* @
|
|
9641
|
-
* @hidden
|
|
9330
|
+
* @internal
|
|
9642
9331
|
*/
|
|
9643
9332
|
_link(host: AdvancedDynamicTexture): void;
|
|
9644
9333
|
/**
|
|
9645
|
-
* @
|
|
9646
|
-
* @hidden
|
|
9334
|
+
* @internal
|
|
9647
9335
|
*/
|
|
9648
9336
|
protected _transform(context?: BABYLON.ICanvasRenderingContext): void;
|
|
9649
9337
|
/**
|
|
9650
|
-
* @
|
|
9651
|
-
* @hidden
|
|
9338
|
+
* @internal
|
|
9652
9339
|
*/
|
|
9653
9340
|
_renderHighlight(context: BABYLON.ICanvasRenderingContext): void;
|
|
9654
9341
|
/**
|
|
9655
|
-
* @
|
|
9656
|
-
* @hidden
|
|
9342
|
+
* @internal
|
|
9657
9343
|
*/
|
|
9658
9344
|
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
9659
9345
|
/**
|
|
9660
|
-
* @
|
|
9661
|
-
* @hidden
|
|
9346
|
+
* @internal
|
|
9662
9347
|
*/
|
|
9663
9348
|
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
9664
9349
|
/**
|
|
9665
|
-
* @
|
|
9666
|
-
* @param context
|
|
9667
|
-
* @hidden
|
|
9350
|
+
* @internal
|
|
9668
9351
|
*/
|
|
9669
9352
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
9670
9353
|
/**
|
|
9671
|
-
* @
|
|
9672
|
-
* @param context
|
|
9673
|
-
* @hidden
|
|
9354
|
+
* @internal
|
|
9674
9355
|
*/
|
|
9675
9356
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9676
9357
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
9677
|
-
/** @
|
|
9358
|
+
/** @internal */
|
|
9678
9359
|
_measure(): void;
|
|
9679
9360
|
/**
|
|
9680
|
-
* @
|
|
9681
|
-
* @param context
|
|
9682
|
-
* @hidden
|
|
9361
|
+
* @internal
|
|
9683
9362
|
*/
|
|
9684
9363
|
protected _computeAlignment(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9685
9364
|
/**
|
|
9686
|
-
* @
|
|
9687
|
-
* @param context
|
|
9688
|
-
* @hidden
|
|
9365
|
+
* @internal
|
|
9689
9366
|
*/
|
|
9690
9367
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9691
9368
|
/**
|
|
9692
|
-
* @
|
|
9693
|
-
* @param context
|
|
9694
|
-
* @hidden
|
|
9369
|
+
* @internal
|
|
9695
9370
|
*/
|
|
9696
9371
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9697
9372
|
/**
|
|
9698
|
-
* @
|
|
9699
|
-
* @hidden
|
|
9373
|
+
* @internal
|
|
9700
9374
|
*/
|
|
9701
9375
|
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
9702
9376
|
private static _ClipMeasure;
|
|
9703
9377
|
private _tmpMeasureA;
|
|
9704
9378
|
private _clip;
|
|
9705
9379
|
/**
|
|
9706
|
-
* @
|
|
9707
|
-
* @param invalidatedRectangle
|
|
9708
|
-
* @hidden
|
|
9380
|
+
* @internal
|
|
9709
9381
|
*/
|
|
9710
9382
|
_render(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): boolean;
|
|
9711
9383
|
/**
|
|
9712
|
-
* @
|
|
9713
|
-
* @param invalidatedRectangle
|
|
9714
|
-
* @hidden
|
|
9384
|
+
* @internal
|
|
9715
9385
|
*/
|
|
9716
9386
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): void;
|
|
9717
9387
|
/**
|
|
@@ -9722,80 +9392,41 @@ declare module BABYLON.GUI {
|
|
|
9722
9392
|
*/
|
|
9723
9393
|
contains(x: number, y: number): boolean;
|
|
9724
9394
|
/**
|
|
9725
|
-
* @
|
|
9726
|
-
* @param y
|
|
9727
|
-
* @param pi
|
|
9728
|
-
* @param type
|
|
9729
|
-
* @param pointerId
|
|
9730
|
-
* @param buttonIndex
|
|
9731
|
-
* @param deltaX
|
|
9732
|
-
* @param deltaY
|
|
9733
|
-
* @hidden
|
|
9395
|
+
* @internal
|
|
9734
9396
|
*/
|
|
9735
9397
|
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9736
9398
|
/**
|
|
9737
|
-
* @
|
|
9738
|
-
* @param coordinates
|
|
9739
|
-
* @param pointerId
|
|
9740
|
-
* @param pi
|
|
9741
|
-
* @hidden
|
|
9399
|
+
* @internal
|
|
9742
9400
|
*/
|
|
9743
9401
|
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9744
9402
|
/**
|
|
9745
|
-
* @
|
|
9746
|
-
* @param pi
|
|
9747
|
-
* @hidden
|
|
9403
|
+
* @internal
|
|
9748
9404
|
*/
|
|
9749
9405
|
_onPointerEnter(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9750
9406
|
/**
|
|
9751
|
-
* @
|
|
9752
|
-
* @param pi
|
|
9753
|
-
* @param force
|
|
9754
|
-
* @hidden
|
|
9407
|
+
* @internal
|
|
9755
9408
|
*/
|
|
9756
9409
|
_onPointerOut(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, force?: boolean): void;
|
|
9757
9410
|
/**
|
|
9758
|
-
* @
|
|
9759
|
-
* @param coordinates
|
|
9760
|
-
* @param pointerId
|
|
9761
|
-
* @param buttonIndex
|
|
9762
|
-
* @param pi
|
|
9763
|
-
* @hidden
|
|
9411
|
+
* @internal
|
|
9764
9412
|
*/
|
|
9765
9413
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9766
9414
|
/**
|
|
9767
|
-
* @
|
|
9768
|
-
* @param coordinates
|
|
9769
|
-
* @param pointerId
|
|
9770
|
-
* @param buttonIndex
|
|
9771
|
-
* @param notifyClick
|
|
9772
|
-
* @param pi
|
|
9773
|
-
* @hidden
|
|
9415
|
+
* @internal
|
|
9774
9416
|
*/
|
|
9775
9417
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9776
9418
|
/**
|
|
9777
|
-
* @
|
|
9778
|
-
* @hidden
|
|
9419
|
+
* @internal
|
|
9779
9420
|
*/
|
|
9780
9421
|
_forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
9781
9422
|
/**
|
|
9782
|
-
* @
|
|
9783
|
-
* @param deltaY
|
|
9784
|
-
* @hidden
|
|
9423
|
+
* @internal
|
|
9785
9424
|
*/
|
|
9786
9425
|
_onWheelScroll(deltaX?: number, deltaY?: number): void;
|
|
9787
|
-
/** @
|
|
9426
|
+
/** @internal */
|
|
9788
9427
|
_onCanvasBlur(): void;
|
|
9789
9428
|
/**
|
|
9790
|
-
* @
|
|
9791
|
-
* @param x
|
|
9792
|
-
* @param y
|
|
9793
|
-
* @param pi
|
|
9794
|
-
* @param pointerId
|
|
9795
|
-
* @param buttonIndex
|
|
9796
|
-
* @param deltaX
|
|
9797
|
-
* @param deltaY
|
|
9798
|
-
* @hidden
|
|
9429
|
+
* @internal
|
|
9799
9430
|
*/
|
|
9800
9431
|
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9801
9432
|
private _prepareFont;
|
|
@@ -9805,9 +9436,7 @@ declare module BABYLON.GUI {
|
|
|
9805
9436
|
*/
|
|
9806
9437
|
serialize(serializationObject: any): void;
|
|
9807
9438
|
/**
|
|
9808
|
-
* @
|
|
9809
|
-
* @param host
|
|
9810
|
-
* @hidden
|
|
9439
|
+
* @internal
|
|
9811
9440
|
*/
|
|
9812
9441
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
9813
9442
|
/** Releases associated resources */
|
|
@@ -9832,8 +9461,7 @@ declare module BABYLON.GUI {
|
|
|
9832
9461
|
static get VERTICAL_ALIGNMENT_CENTER(): number;
|
|
9833
9462
|
private static _FontHeightSizes;
|
|
9834
9463
|
/**
|
|
9835
|
-
* @
|
|
9836
|
-
* @hidden
|
|
9464
|
+
* @internal
|
|
9837
9465
|
*/
|
|
9838
9466
|
static _GetFontOffset(font: string): {
|
|
9839
9467
|
ascent: number;
|
|
@@ -9852,12 +9480,7 @@ declare module BABYLON.GUI {
|
|
|
9852
9480
|
controlFirst: boolean;
|
|
9853
9481
|
}) => any;
|
|
9854
9482
|
/**
|
|
9855
|
-
* @
|
|
9856
|
-
* @param y
|
|
9857
|
-
* @param width
|
|
9858
|
-
* @param height
|
|
9859
|
-
* @param context
|
|
9860
|
-
* @hidden
|
|
9483
|
+
* @internal
|
|
9861
9484
|
*/
|
|
9862
9485
|
protected static drawEllipse(x: number, y: number, width: number, height: number, context: BABYLON.ICanvasRenderingContext): void;
|
|
9863
9486
|
}
|
|
@@ -9953,9 +9576,9 @@ declare module BABYLON.GUI {
|
|
|
9953
9576
|
/** BABYLON.Observable raised when a key event was processed */
|
|
9954
9577
|
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
9955
9578
|
constructor(name?: string | undefined);
|
|
9956
|
-
/** @
|
|
9579
|
+
/** @internal */
|
|
9957
9580
|
onBlur(): void;
|
|
9958
|
-
/** @
|
|
9581
|
+
/** @internal */
|
|
9959
9582
|
onFocus(): void;
|
|
9960
9583
|
/**
|
|
9961
9584
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
@@ -9976,15 +9599,10 @@ declare module BABYLON.GUI {
|
|
|
9976
9599
|
*/
|
|
9977
9600
|
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
9978
9601
|
/**
|
|
9979
|
-
* @
|
|
9980
|
-
* @param coordinates
|
|
9981
|
-
* @param pointerId
|
|
9982
|
-
* @param buttonIndex
|
|
9983
|
-
* @param pi
|
|
9984
|
-
* @hidden
|
|
9602
|
+
* @internal
|
|
9985
9603
|
*/
|
|
9986
9604
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
9987
|
-
/** @
|
|
9605
|
+
/** @internal */
|
|
9988
9606
|
displose(): void;
|
|
9989
9607
|
}
|
|
9990
9608
|
|
|
@@ -10148,9 +9766,7 @@ declare module BABYLON.GUI {
|
|
|
10148
9766
|
*/
|
|
10149
9767
|
serialize(serializationObject: any): void;
|
|
10150
9768
|
/**
|
|
10151
|
-
* @
|
|
10152
|
-
* @param host
|
|
10153
|
-
* @hidden
|
|
9769
|
+
* @internal
|
|
10154
9770
|
*/
|
|
10155
9771
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
10156
9772
|
}
|
|
@@ -10275,9 +9891,7 @@ declare module BABYLON.GUI {
|
|
|
10275
9891
|
get stretch(): number;
|
|
10276
9892
|
set stretch(value: number);
|
|
10277
9893
|
/**
|
|
10278
|
-
* @
|
|
10279
|
-
* @param preserveProperties
|
|
10280
|
-
* @hidden
|
|
9894
|
+
* @internal
|
|
10281
9895
|
*/
|
|
10282
9896
|
_rotate90(n: number, preserveProperties?: boolean): Image;
|
|
10283
9897
|
private _handleRotationForSVGImage;
|
|
@@ -10411,7 +10025,7 @@ declare module BABYLON.GUI {
|
|
|
10411
10025
|
protected _isPointerDown: boolean;
|
|
10412
10026
|
protected _onClipboardObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.ClipboardInfo>>;
|
|
10413
10027
|
protected _onPointerDblTapObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.PointerInfo>>;
|
|
10414
|
-
/** @
|
|
10028
|
+
/** @internal */
|
|
10415
10029
|
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
10416
10030
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
10417
10031
|
promptMessage: string;
|
|
@@ -10500,9 +10114,9 @@ declare module BABYLON.GUI {
|
|
|
10500
10114
|
* @param text defines the text of the control
|
|
10501
10115
|
*/
|
|
10502
10116
|
constructor(name?: string | undefined, text?: string);
|
|
10503
|
-
/** @
|
|
10117
|
+
/** @internal */
|
|
10504
10118
|
onBlur(): void;
|
|
10505
|
-
/** @
|
|
10119
|
+
/** @internal */
|
|
10506
10120
|
onFocus(): void;
|
|
10507
10121
|
/**
|
|
10508
10122
|
* Function to focus an inputText programmatically
|
|
@@ -10519,23 +10133,18 @@ declare module BABYLON.GUI {
|
|
|
10519
10133
|
*/
|
|
10520
10134
|
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
10521
10135
|
/**
|
|
10522
|
-
* @
|
|
10523
|
-
* @param key
|
|
10524
|
-
* @param evt
|
|
10525
|
-
* @hidden
|
|
10136
|
+
* @internal
|
|
10526
10137
|
*/
|
|
10527
10138
|
processKey(keyCode: number, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
10528
10139
|
/**
|
|
10529
|
-
* @
|
|
10530
|
-
* @hidden
|
|
10140
|
+
* @internal
|
|
10531
10141
|
*/
|
|
10532
10142
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
10533
10143
|
/**
|
|
10534
|
-
* @
|
|
10535
|
-
* @hidden
|
|
10144
|
+
* @internal
|
|
10536
10145
|
*/
|
|
10537
10146
|
protected _processDblClick(evt: BABYLON.PointerInfo): void;
|
|
10538
|
-
/** @
|
|
10147
|
+
/** @internal */
|
|
10539
10148
|
protected _selectAllText(): void;
|
|
10540
10149
|
/**
|
|
10541
10150
|
* Handles the keyboard event
|
|
@@ -10543,18 +10152,15 @@ declare module BABYLON.GUI {
|
|
|
10543
10152
|
*/
|
|
10544
10153
|
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
10545
10154
|
/**
|
|
10546
|
-
* @
|
|
10547
|
-
* @hidden
|
|
10155
|
+
* @internal
|
|
10548
10156
|
*/
|
|
10549
10157
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
10550
10158
|
/**
|
|
10551
|
-
* @
|
|
10552
|
-
* @hidden
|
|
10159
|
+
* @internal
|
|
10553
10160
|
*/
|
|
10554
10161
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
10555
10162
|
/**
|
|
10556
|
-
* @
|
|
10557
|
-
* @hidden
|
|
10163
|
+
* @internal
|
|
10558
10164
|
*/
|
|
10559
10165
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
10560
10166
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -10586,7 +10192,7 @@ declare module BABYLON.GUI {
|
|
|
10586
10192
|
* An event triggered after the text was broken up into lines
|
|
10587
10193
|
*/
|
|
10588
10194
|
onLinesReadyObservable: BABYLON.Observable<InputTextArea>;
|
|
10589
|
-
/** @
|
|
10195
|
+
/** @internal */
|
|
10590
10196
|
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
10591
10197
|
private _contextForBreakLines;
|
|
10592
10198
|
private _clickedCoordinateX;
|
|
@@ -10637,7 +10243,7 @@ declare module BABYLON.GUI {
|
|
|
10637
10243
|
* @param code The ascii input number
|
|
10638
10244
|
* @param key The key string representation
|
|
10639
10245
|
* @param evt The keyboard event emits with input
|
|
10640
|
-
* @
|
|
10246
|
+
* @internal
|
|
10641
10247
|
*/
|
|
10642
10248
|
alternativeProcessKey(code: string, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
10643
10249
|
protected _parseLineWordWrap(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): {
|
|
@@ -10656,7 +10262,7 @@ declare module BABYLON.GUI {
|
|
|
10656
10262
|
*
|
|
10657
10263
|
* @param parentMeasure The parent measure
|
|
10658
10264
|
* @param context The rendering canvas
|
|
10659
|
-
* @
|
|
10265
|
+
* @internal
|
|
10660
10266
|
*/
|
|
10661
10267
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10662
10268
|
/**
|
|
@@ -10664,7 +10270,7 @@ declare module BABYLON.GUI {
|
|
|
10664
10270
|
*
|
|
10665
10271
|
* @param parentMeasure The parent measure
|
|
10666
10272
|
* @param context The rendering canvas
|
|
10667
|
-
* @
|
|
10273
|
+
* @internal
|
|
10668
10274
|
*/
|
|
10669
10275
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10670
10276
|
private _drawText;
|
|
@@ -10672,21 +10278,21 @@ declare module BABYLON.GUI {
|
|
|
10672
10278
|
* Copy the text in the clipboard
|
|
10673
10279
|
*
|
|
10674
10280
|
* @param ev The clipboard event
|
|
10675
|
-
* @
|
|
10281
|
+
* @internal
|
|
10676
10282
|
*/
|
|
10677
10283
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
10678
10284
|
/**
|
|
10679
10285
|
* Cut the text and copy it in the clipboard
|
|
10680
10286
|
*
|
|
10681
10287
|
* @param ev The clipboard event
|
|
10682
|
-
* @
|
|
10288
|
+
* @internal
|
|
10683
10289
|
*/
|
|
10684
10290
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
10685
10291
|
/**
|
|
10686
10292
|
* Paste the copied text from the clipboard
|
|
10687
10293
|
*
|
|
10688
10294
|
* @param ev The clipboard event
|
|
10689
|
-
* @
|
|
10295
|
+
* @internal
|
|
10690
10296
|
*/
|
|
10691
10297
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
10692
10298
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -10702,17 +10308,17 @@ declare module BABYLON.GUI {
|
|
|
10702
10308
|
* Update all values of cursor information based on cursorIndex value
|
|
10703
10309
|
*
|
|
10704
10310
|
* @param offset The index to take care of
|
|
10705
|
-
* @
|
|
10311
|
+
* @internal
|
|
10706
10312
|
*/
|
|
10707
10313
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
10708
10314
|
/**
|
|
10709
10315
|
* Select the word immediatly under the cursor on double click
|
|
10710
10316
|
*
|
|
10711
10317
|
* @param _evt Pointer informations of double click
|
|
10712
|
-
* @
|
|
10318
|
+
* @internal
|
|
10713
10319
|
*/
|
|
10714
10320
|
protected _processDblClick(_evt: BABYLON.PointerInfo): void;
|
|
10715
|
-
/** @
|
|
10321
|
+
/** @internal */
|
|
10716
10322
|
protected _selectAllText(): void;
|
|
10717
10323
|
dipose(): void;
|
|
10718
10324
|
}
|
|
@@ -10916,9 +10522,9 @@ declare module BABYLON.GUI {
|
|
|
10916
10522
|
*/
|
|
10917
10523
|
constructor(name?: string | undefined);
|
|
10918
10524
|
protected _getTypeName(): string;
|
|
10919
|
-
/** @
|
|
10525
|
+
/** @internal */
|
|
10920
10526
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
10921
|
-
/** @
|
|
10527
|
+
/** @internal */
|
|
10922
10528
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
10923
10529
|
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10924
10530
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11082,18 +10688,14 @@ declare module BABYLON.GUI {
|
|
|
11082
10688
|
get verticalBarImage(): Image;
|
|
11083
10689
|
set verticalBarImage(value: Image);
|
|
11084
10690
|
private _setWindowPosition;
|
|
11085
|
-
/** @
|
|
10691
|
+
/** @internal */
|
|
11086
10692
|
private _updateScroller;
|
|
11087
10693
|
_link(host: AdvancedDynamicTexture): void;
|
|
11088
10694
|
/**
|
|
11089
|
-
* @
|
|
11090
|
-
* @param barContainer
|
|
11091
|
-
* @param isVertical
|
|
11092
|
-
* @param rotation
|
|
11093
|
-
* @hidden
|
|
10695
|
+
* @internal
|
|
11094
10696
|
*/
|
|
11095
10697
|
private _addBar;
|
|
11096
|
-
/** @
|
|
10698
|
+
/** @internal */
|
|
11097
10699
|
private _attachWheel;
|
|
11098
10700
|
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
11099
10701
|
/** Releases associated resources */
|
|
@@ -11103,7 +10705,7 @@ declare module BABYLON.GUI {
|
|
|
11103
10705
|
|
|
11104
10706
|
/**
|
|
11105
10707
|
* Class used to hold a the container for ScrollViewer
|
|
11106
|
-
* @
|
|
10708
|
+
* @internal
|
|
11107
10709
|
*/
|
|
11108
10710
|
export class _ScrollViewerWindow extends Container {
|
|
11109
10711
|
parentClientWidth: number;
|
|
@@ -11134,23 +10736,17 @@ declare module BABYLON.GUI {
|
|
|
11134
10736
|
constructor(name?: string);
|
|
11135
10737
|
protected _getTypeName(): string;
|
|
11136
10738
|
/**
|
|
11137
|
-
* @
|
|
11138
|
-
* @param context
|
|
11139
|
-
* @hidden
|
|
10739
|
+
* @internal
|
|
11140
10740
|
*/
|
|
11141
10741
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11142
10742
|
/**
|
|
11143
|
-
* @
|
|
11144
|
-
* @param context
|
|
11145
|
-
* @hidden
|
|
10743
|
+
* @internal
|
|
11146
10744
|
*/
|
|
11147
10745
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
11148
10746
|
private _scrollChildren;
|
|
11149
10747
|
private _scrollChildrenWithBuckets;
|
|
11150
10748
|
/**
|
|
11151
|
-
* @
|
|
11152
|
-
* @param invalidatedRectangle
|
|
11153
|
-
* @hidden
|
|
10749
|
+
* @internal
|
|
11154
10750
|
*/
|
|
11155
10751
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
11156
10752
|
protected _postMeasure(): void;
|
|
@@ -11181,13 +10777,11 @@ declare module BABYLON.GUI {
|
|
|
11181
10777
|
get header(): string;
|
|
11182
10778
|
set header(label: string);
|
|
11183
10779
|
/**
|
|
11184
|
-
* @
|
|
11185
|
-
* @hidden
|
|
10780
|
+
* @internal
|
|
11186
10781
|
*/
|
|
11187
10782
|
private _addGroupHeader;
|
|
11188
10783
|
/**
|
|
11189
|
-
* @
|
|
11190
|
-
* @hidden
|
|
10784
|
+
* @internal
|
|
11191
10785
|
*/
|
|
11192
10786
|
_getSelector(selectorNb: number): StackPanel | undefined;
|
|
11193
10787
|
/** Removes the selector at the given position
|
|
@@ -11206,27 +10800,19 @@ declare module BABYLON.GUI {
|
|
|
11206
10800
|
*/
|
|
11207
10801
|
addCheckbox(text: string, func?: (s: boolean) => void, checked?: boolean): void;
|
|
11208
10802
|
/**
|
|
11209
|
-
* @
|
|
11210
|
-
* @param label
|
|
11211
|
-
* @hidden
|
|
10803
|
+
* @internal
|
|
11212
10804
|
*/
|
|
11213
10805
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11214
10806
|
/**
|
|
11215
|
-
* @
|
|
11216
|
-
* @param color
|
|
11217
|
-
* @hidden
|
|
10807
|
+
* @internal
|
|
11218
10808
|
*/
|
|
11219
10809
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11220
10810
|
/**
|
|
11221
|
-
* @
|
|
11222
|
-
* @param color
|
|
11223
|
-
* @hidden
|
|
10811
|
+
* @internal
|
|
11224
10812
|
*/
|
|
11225
10813
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11226
10814
|
/**
|
|
11227
|
-
* @
|
|
11228
|
-
* @param color
|
|
11229
|
-
* @hidden
|
|
10815
|
+
* @internal
|
|
11230
10816
|
*/
|
|
11231
10817
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11232
10818
|
}
|
|
@@ -11242,27 +10828,19 @@ declare module BABYLON.GUI {
|
|
|
11242
10828
|
*/
|
|
11243
10829
|
addRadio(label: string, func?: (n: number) => void, checked?: boolean): void;
|
|
11244
10830
|
/**
|
|
11245
|
-
* @
|
|
11246
|
-
* @param label
|
|
11247
|
-
* @hidden
|
|
10831
|
+
* @internal
|
|
11248
10832
|
*/
|
|
11249
10833
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11250
10834
|
/**
|
|
11251
|
-
* @
|
|
11252
|
-
* @param color
|
|
11253
|
-
* @hidden
|
|
10835
|
+
* @internal
|
|
11254
10836
|
*/
|
|
11255
10837
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11256
10838
|
/**
|
|
11257
|
-
* @
|
|
11258
|
-
* @param color
|
|
11259
|
-
* @hidden
|
|
10839
|
+
* @internal
|
|
11260
10840
|
*/
|
|
11261
10841
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11262
10842
|
/**
|
|
11263
|
-
* @
|
|
11264
|
-
* @param color
|
|
11265
|
-
* @hidden
|
|
10843
|
+
* @internal
|
|
11266
10844
|
*/
|
|
11267
10845
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11268
10846
|
}
|
|
@@ -11282,27 +10860,19 @@ declare module BABYLON.GUI {
|
|
|
11282
10860
|
*/
|
|
11283
10861
|
addSlider(label: string, func?: (v: number) => void, unit?: string, min?: number, max?: number, value?: number, onValueChange?: (v: number) => number): void;
|
|
11284
10862
|
/**
|
|
11285
|
-
* @
|
|
11286
|
-
* @param label
|
|
11287
|
-
* @hidden
|
|
10863
|
+
* @internal
|
|
11288
10864
|
*/
|
|
11289
10865
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11290
10866
|
/**
|
|
11291
|
-
* @
|
|
11292
|
-
* @param color
|
|
11293
|
-
* @hidden
|
|
10867
|
+
* @internal
|
|
11294
10868
|
*/
|
|
11295
10869
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11296
10870
|
/**
|
|
11297
|
-
* @
|
|
11298
|
-
* @param color
|
|
11299
|
-
* @hidden
|
|
10871
|
+
* @internal
|
|
11300
10872
|
*/
|
|
11301
10873
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11302
10874
|
/**
|
|
11303
|
-
* @
|
|
11304
|
-
* @param color
|
|
11305
|
-
* @hidden
|
|
10875
|
+
* @internal
|
|
11306
10876
|
*/
|
|
11307
10877
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11308
10878
|
}
|
|
@@ -11487,9 +11057,7 @@ declare module BABYLON.GUI {
|
|
|
11487
11057
|
protected _prepareRenderingData(type: string): void;
|
|
11488
11058
|
private _pointerIsDown;
|
|
11489
11059
|
/**
|
|
11490
|
-
* @
|
|
11491
|
-
* @param y
|
|
11492
|
-
* @hidden
|
|
11060
|
+
* @internal
|
|
11493
11061
|
*/
|
|
11494
11062
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11495
11063
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11538,9 +11106,7 @@ declare module BABYLON.GUI {
|
|
|
11538
11106
|
*/
|
|
11539
11107
|
serialize(serializationObject: any): void;
|
|
11540
11108
|
/**
|
|
11541
|
-
* @
|
|
11542
|
-
* @param host
|
|
11543
|
-
* @hidden
|
|
11109
|
+
* @internal
|
|
11544
11110
|
*/
|
|
11545
11111
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
11546
11112
|
}
|
|
@@ -11602,9 +11168,7 @@ declare module BABYLON.GUI {
|
|
|
11602
11168
|
private _originX;
|
|
11603
11169
|
private _originY;
|
|
11604
11170
|
/**
|
|
11605
|
-
* @
|
|
11606
|
-
* @param y
|
|
11607
|
-
* @hidden
|
|
11171
|
+
* @internal
|
|
11608
11172
|
*/
|
|
11609
11173
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11610
11174
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11641,9 +11205,7 @@ declare module BABYLON.GUI {
|
|
|
11641
11205
|
private _originX;
|
|
11642
11206
|
private _originY;
|
|
11643
11207
|
/**
|
|
11644
|
-
* @
|
|
11645
|
-
* @param y
|
|
11646
|
-
* @hidden
|
|
11208
|
+
* @internal
|
|
11647
11209
|
*/
|
|
11648
11210
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11649
11211
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11726,9 +11288,7 @@ declare module BABYLON.GUI {
|
|
|
11726
11288
|
constructor(name?: string | undefined);
|
|
11727
11289
|
protected _getTypeName(): string;
|
|
11728
11290
|
/**
|
|
11729
|
-
* @
|
|
11730
|
-
* @param context
|
|
11731
|
-
* @hidden
|
|
11291
|
+
* @internal
|
|
11732
11292
|
*/
|
|
11733
11293
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11734
11294
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11739,9 +11299,7 @@ declare module BABYLON.GUI {
|
|
|
11739
11299
|
*/
|
|
11740
11300
|
serialize(serializationObject: any): void;
|
|
11741
11301
|
/**
|
|
11742
|
-
* @
|
|
11743
|
-
* @param host
|
|
11744
|
-
* @hidden
|
|
11302
|
+
* @internal
|
|
11745
11303
|
*/
|
|
11746
11304
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
11747
11305
|
}
|
|
@@ -11749,7 +11307,7 @@ declare module BABYLON.GUI {
|
|
|
11749
11307
|
|
|
11750
11308
|
/**
|
|
11751
11309
|
* Forcing an export so that this code will execute
|
|
11752
|
-
* @
|
|
11310
|
+
* @internal
|
|
11753
11311
|
*/
|
|
11754
11312
|
const name = "Statics";
|
|
11755
11313
|
|
|
@@ -11913,8 +11471,7 @@ declare module BABYLON.GUI {
|
|
|
11913
11471
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11914
11472
|
private _drawText;
|
|
11915
11473
|
/**
|
|
11916
|
-
* @
|
|
11917
|
-
* @hidden
|
|
11474
|
+
* @internal
|
|
11918
11475
|
*/
|
|
11919
11476
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11920
11477
|
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11936,7 +11493,7 @@ declare module BABYLON.GUI {
|
|
|
11936
11493
|
}
|
|
11937
11494
|
|
|
11938
11495
|
|
|
11939
|
-
/** @
|
|
11496
|
+
/** @internal */
|
|
11940
11497
|
export class TextWrapper {
|
|
11941
11498
|
private _text;
|
|
11942
11499
|
private _characters;
|
|
@@ -12019,47 +11576,23 @@ declare module BABYLON.GUI {
|
|
|
12019
11576
|
constructor(name?: string | undefined, group?: string);
|
|
12020
11577
|
protected _getTypeName(): string;
|
|
12021
11578
|
/**
|
|
12022
|
-
* @
|
|
12023
|
-
* @param y
|
|
12024
|
-
* @param pi
|
|
12025
|
-
* @param type
|
|
12026
|
-
* @param pointerId
|
|
12027
|
-
* @param buttonIndex
|
|
12028
|
-
* @param deltaX
|
|
12029
|
-
* @param deltaY
|
|
12030
|
-
* @hidden
|
|
11579
|
+
* @internal
|
|
12031
11580
|
*/
|
|
12032
11581
|
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
12033
11582
|
/**
|
|
12034
|
-
* @
|
|
12035
|
-
* @param pi
|
|
12036
|
-
* @hidden
|
|
11583
|
+
* @internal
|
|
12037
11584
|
*/
|
|
12038
11585
|
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
12039
11586
|
/**
|
|
12040
|
-
* @
|
|
12041
|
-
* @param pi
|
|
12042
|
-
* @param force
|
|
12043
|
-
* @hidden
|
|
11587
|
+
* @internal
|
|
12044
11588
|
*/
|
|
12045
11589
|
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
12046
11590
|
/**
|
|
12047
|
-
* @
|
|
12048
|
-
* @param coordinates
|
|
12049
|
-
* @param pointerId
|
|
12050
|
-
* @param buttonIndex
|
|
12051
|
-
* @param pi
|
|
12052
|
-
* @hidden
|
|
11591
|
+
* @internal
|
|
12053
11592
|
*/
|
|
12054
11593
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
12055
11594
|
/**
|
|
12056
|
-
* @
|
|
12057
|
-
* @param coordinates
|
|
12058
|
-
* @param pointerId
|
|
12059
|
-
* @param buttonIndex
|
|
12060
|
-
* @param notifyClick
|
|
12061
|
-
* @param pi
|
|
12062
|
-
* @hidden
|
|
11595
|
+
* @internal
|
|
12063
11596
|
*/
|
|
12064
11597
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
12065
11598
|
}
|
|
@@ -12157,9 +11690,7 @@ declare module BABYLON.GUI {
|
|
|
12157
11690
|
*/
|
|
12158
11691
|
static CreateDefaultLayout(name?: string): VirtualKeyboard;
|
|
12159
11692
|
/**
|
|
12160
|
-
* @
|
|
12161
|
-
* @param host
|
|
12162
|
-
* @hidden
|
|
11693
|
+
* @internal
|
|
12163
11694
|
*/
|
|
12164
11695
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
12165
11696
|
}
|
|
@@ -12374,7 +11905,7 @@ declare module BABYLON.GUI {
|
|
|
12374
11905
|
private _mesh;
|
|
12375
11906
|
private _controlObserver;
|
|
12376
11907
|
private _meshObserver;
|
|
12377
|
-
/** @
|
|
11908
|
+
/** @internal */
|
|
12378
11909
|
_point: BABYLON.Vector3;
|
|
12379
11910
|
/**
|
|
12380
11911
|
* Creates a new MultiLinePoint
|
|
@@ -12414,9 +11945,9 @@ declare module BABYLON.GUI {
|
|
|
12414
11945
|
private _fontFamily;
|
|
12415
11946
|
private _fontStyle;
|
|
12416
11947
|
private _fontWeight;
|
|
12417
|
-
/** @
|
|
11948
|
+
/** @internal */
|
|
12418
11949
|
_host: AdvancedDynamicTexture;
|
|
12419
|
-
/** @
|
|
11950
|
+
/** @internal */
|
|
12420
11951
|
_fontSize: ValueAndUnit;
|
|
12421
11952
|
/**
|
|
12422
11953
|
* BABYLON.Observable raised when the style values are changed
|
|
@@ -12686,7 +12217,7 @@ declare module BABYLON.GUI {
|
|
|
12686
12217
|
* Class used to create a button in 3D
|
|
12687
12218
|
*/
|
|
12688
12219
|
export class Button3D extends AbstractButton3D {
|
|
12689
|
-
/** @
|
|
12220
|
+
/** @internal */
|
|
12690
12221
|
protected _currentMaterial: BABYLON.Material;
|
|
12691
12222
|
/**
|
|
12692
12223
|
* Creates a new button
|
|
@@ -12818,9 +12349,9 @@ declare module BABYLON.GUI {
|
|
|
12818
12349
|
private _enterCount;
|
|
12819
12350
|
private _downPointerIds;
|
|
12820
12351
|
protected _isVisible: boolean;
|
|
12821
|
-
/** @
|
|
12352
|
+
/** @internal */
|
|
12822
12353
|
_host: GUI3DManager;
|
|
12823
|
-
/** @
|
|
12354
|
+
/** @internal */
|
|
12824
12355
|
_isScaledByManager: boolean;
|
|
12825
12356
|
/** Gets or sets the control position in world space */
|
|
12826
12357
|
get position(): BABYLON.Vector3;
|
|
@@ -12926,8 +12457,7 @@ declare module BABYLON.GUI {
|
|
|
12926
12457
|
*/
|
|
12927
12458
|
linkToTransformNode(node: BABYLON.Nullable<BABYLON.TransformNode>): Control3D;
|
|
12928
12459
|
/**
|
|
12929
|
-
* @
|
|
12930
|
-
* @hidden*
|
|
12460
|
+
* @internal*
|
|
12931
12461
|
*/
|
|
12932
12462
|
_prepareNode(scene: BABYLON.Scene): void;
|
|
12933
12463
|
protected _injectGUI3DReservedDataStore(node: BABYLON.TransformNode): any;
|
|
@@ -12945,53 +12475,34 @@ declare module BABYLON.GUI {
|
|
|
12945
12475
|
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12946
12476
|
private _isTouchButton3D;
|
|
12947
12477
|
/**
|
|
12948
|
-
* @
|
|
12949
|
-
* @param coordinates
|
|
12950
|
-
* @hidden
|
|
12478
|
+
* @internal
|
|
12951
12479
|
*/
|
|
12952
12480
|
_onPointerMove(target: Control3D, coordinates: BABYLON.Vector3): void;
|
|
12953
12481
|
/**
|
|
12954
|
-
* @
|
|
12955
|
-
* @hidden
|
|
12482
|
+
* @internal
|
|
12956
12483
|
*/
|
|
12957
12484
|
_onPointerEnter(target: Control3D): boolean;
|
|
12958
12485
|
/**
|
|
12959
|
-
* @
|
|
12960
|
-
* @hidden
|
|
12486
|
+
* @internal
|
|
12961
12487
|
*/
|
|
12962
12488
|
_onPointerOut(target: Control3D): void;
|
|
12963
12489
|
/**
|
|
12964
|
-
* @
|
|
12965
|
-
* @param coordinates
|
|
12966
|
-
* @param pointerId
|
|
12967
|
-
* @param buttonIndex
|
|
12968
|
-
* @hidden
|
|
12490
|
+
* @internal
|
|
12969
12491
|
*/
|
|
12970
12492
|
_onPointerDown(target: Control3D, coordinates: BABYLON.Vector3, pointerId: number, buttonIndex: number): boolean;
|
|
12971
12493
|
/**
|
|
12972
|
-
* @
|
|
12973
|
-
* @param coordinates
|
|
12974
|
-
* @param pointerId
|
|
12975
|
-
* @param buttonIndex
|
|
12976
|
-
* @param notifyClick
|
|
12977
|
-
* @hidden
|
|
12494
|
+
* @internal
|
|
12978
12495
|
*/
|
|
12979
12496
|
_onPointerUp(target: Control3D, coordinates: BABYLON.Vector3, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
12980
12497
|
/**
|
|
12981
|
-
* @
|
|
12982
|
-
* @hidden
|
|
12498
|
+
* @internal
|
|
12983
12499
|
*/
|
|
12984
12500
|
forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
12985
12501
|
/**
|
|
12986
|
-
* @
|
|
12987
|
-
* @param pickedPoint
|
|
12988
|
-
* @param originMeshPosition
|
|
12989
|
-
* @param pointerId
|
|
12990
|
-
* @param buttonIndex
|
|
12991
|
-
* @hidden
|
|
12502
|
+
* @internal
|
|
12992
12503
|
*/
|
|
12993
12504
|
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: BABYLON.Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
12994
|
-
/** @
|
|
12505
|
+
/** @internal */
|
|
12995
12506
|
_disposeNode(): void;
|
|
12996
12507
|
/**
|
|
12997
12508
|
* Releases all associated resources
|
|
@@ -13205,13 +12716,13 @@ declare module BABYLON.GUI {
|
|
|
13205
12716
|
* Regroups all mesh behaviors for the slate
|
|
13206
12717
|
*/
|
|
13207
12718
|
get defaultBehavior(): DefaultBehavior;
|
|
13208
|
-
/** @
|
|
12719
|
+
/** @internal */
|
|
13209
12720
|
_gizmo: SlateGizmo;
|
|
13210
12721
|
protected _titleBar: BABYLON.Mesh;
|
|
13211
12722
|
protected _titleBarTitle: BABYLON.Mesh;
|
|
13212
12723
|
protected _contentPlate: BABYLON.Mesh;
|
|
13213
12724
|
protected _backPlate: BABYLON.Mesh;
|
|
13214
|
-
/** @
|
|
12725
|
+
/** @internal */
|
|
13215
12726
|
_followButton: TouchHolographicButton;
|
|
13216
12727
|
protected _closeButton: TouchHolographicButton;
|
|
13217
12728
|
protected _contentScaleRatio: number;
|
|
@@ -13257,21 +12768,20 @@ declare module BABYLON.GUI {
|
|
|
13257
12768
|
private _addControl;
|
|
13258
12769
|
protected _getTypeName(): string;
|
|
13259
12770
|
/**
|
|
13260
|
-
* @
|
|
12771
|
+
* @internal
|
|
13261
12772
|
*/
|
|
13262
12773
|
_positionElements(): void;
|
|
13263
12774
|
private _applyContentViewport;
|
|
13264
12775
|
private _resetContentPositionAndZoom;
|
|
13265
12776
|
/**
|
|
13266
|
-
* @
|
|
12777
|
+
* @internal
|
|
13267
12778
|
*/
|
|
13268
12779
|
_updatePivot(): void;
|
|
13269
12780
|
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
13270
12781
|
private _attachContentPlateBehavior;
|
|
13271
12782
|
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
13272
12783
|
/**
|
|
13273
|
-
* @
|
|
13274
|
-
* @hidden*
|
|
12784
|
+
* @internal*
|
|
13275
12785
|
*/
|
|
13276
12786
|
_prepareNode(scene: BABYLON.Scene): void;
|
|
13277
12787
|
/**
|
|
@@ -13292,7 +12802,7 @@ declare module BABYLON.GUI {
|
|
|
13292
12802
|
* Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
|
|
13293
12803
|
*/
|
|
13294
12804
|
export class MeshButton3D extends Button3D {
|
|
13295
|
-
/** @
|
|
12805
|
+
/** @internal */
|
|
13296
12806
|
protected _currentMesh: BABYLON.Mesh;
|
|
13297
12807
|
/**
|
|
13298
12808
|
* Creates a new 3D button based on a mesh
|
|
@@ -13546,10 +13056,7 @@ declare module BABYLON.GUI {
|
|
|
13546
13056
|
getPressDepth(touchPoint: BABYLON.Vector3): number;
|
|
13547
13057
|
protected _getInteractionHeight(interactionPos: BABYLON.Vector3, basePos: BABYLON.Vector3): number;
|
|
13548
13058
|
/**
|
|
13549
|
-
* @
|
|
13550
|
-
* @param nearMeshPosition
|
|
13551
|
-
* @param activeInteractionCount
|
|
13552
|
-
* @hidden
|
|
13059
|
+
* @internal
|
|
13553
13060
|
*/
|
|
13554
13061
|
_generatePointerEventType(providedType: number, nearMeshPosition: BABYLON.Vector3, activeInteractionCount: number): number;
|
|
13555
13062
|
protected _getTypeName(): string;
|
|
@@ -13721,7 +13228,7 @@ declare module BABYLON.GUI {
|
|
|
13721
13228
|
* @since 5.0.0
|
|
13722
13229
|
*/
|
|
13723
13230
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
13724
|
-
/** @
|
|
13231
|
+
/** @internal */
|
|
13725
13232
|
protected _currentMesh: BABYLON.Mesh;
|
|
13726
13233
|
/**
|
|
13727
13234
|
* Creates a new 3D button based on a mesh
|
|
@@ -13814,7 +13321,7 @@ declare module BABYLON.GUI {
|
|
|
13814
13321
|
private _draggingObserver;
|
|
13815
13322
|
private _dragEndObserver;
|
|
13816
13323
|
/**
|
|
13817
|
-
* @
|
|
13324
|
+
* @internal
|
|
13818
13325
|
*/
|
|
13819
13326
|
_dragBehavior: BABYLON.BaseSixDofDragBehavior;
|
|
13820
13327
|
/**
|
|
@@ -13958,13 +13465,13 @@ declare module BABYLON.GUI {
|
|
|
13958
13465
|
private _pointerObserver;
|
|
13959
13466
|
private _pointerOutObserver;
|
|
13960
13467
|
private _customControlScaling;
|
|
13961
|
-
/** @
|
|
13468
|
+
/** @internal */
|
|
13962
13469
|
_lastPickedControl: Control3D;
|
|
13963
|
-
/** @
|
|
13470
|
+
/** @internal */
|
|
13964
13471
|
_lastControlOver: {
|
|
13965
13472
|
[pointerId: number]: Control3D;
|
|
13966
13473
|
};
|
|
13967
|
-
/** @
|
|
13474
|
+
/** @internal */
|
|
13968
13475
|
_lastControlDown: {
|
|
13969
13476
|
[pointerId: number]: Control3D;
|
|
13970
13477
|
};
|
|
@@ -13977,11 +13484,11 @@ declare module BABYLON.GUI {
|
|
|
13977
13484
|
* BABYLON.Observable raised when a picking happens
|
|
13978
13485
|
*/
|
|
13979
13486
|
onPickingObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.AbstractMesh>>;
|
|
13980
|
-
/** @
|
|
13487
|
+
/** @internal */
|
|
13981
13488
|
_sharedMaterials: {
|
|
13982
13489
|
[key: string]: BABYLON.Material;
|
|
13983
13490
|
};
|
|
13984
|
-
/** @
|
|
13491
|
+
/** @internal */
|
|
13985
13492
|
_touchSharedMaterials: {
|
|
13986
13493
|
[key: string]: BABYLON.Material;
|
|
13987
13494
|
};
|
|
@@ -14035,7 +13542,7 @@ declare module BABYLON.GUI {
|
|
|
14035
13542
|
|
|
14036
13543
|
|
|
14037
13544
|
|
|
14038
|
-
/** @
|
|
13545
|
+
/** @internal */
|
|
14039
13546
|
export class FluentMaterialDefines extends BABYLON.MaterialDefines {
|
|
14040
13547
|
INNERGLOW: boolean;
|
|
14041
13548
|
BORDER: boolean;
|
|
@@ -14117,14 +13624,14 @@ declare module BABYLON.GUI {
|
|
|
14117
13624
|
|
|
14118
13625
|
|
|
14119
13626
|
|
|
14120
|
-
/** @
|
|
13627
|
+
/** @internal */
|
|
14121
13628
|
export var fluentPixelShader: {
|
|
14122
13629
|
name: string;
|
|
14123
13630
|
shader: string;
|
|
14124
13631
|
};
|
|
14125
13632
|
|
|
14126
13633
|
|
|
14127
|
-
/** @
|
|
13634
|
+
/** @internal */
|
|
14128
13635
|
export var fluentVertexShader: {
|
|
14129
13636
|
name: string;
|
|
14130
13637
|
shader: string;
|
|
@@ -14158,7 +13665,7 @@ declare module BABYLON.GUI {
|
|
|
14158
13665
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
14159
13666
|
*/
|
|
14160
13667
|
absoluteSizes: boolean;
|
|
14161
|
-
/** @
|
|
13668
|
+
/** @internal */
|
|
14162
13669
|
_filterWidth: number;
|
|
14163
13670
|
/**
|
|
14164
13671
|
* Gets or sets the base color of the backplate.
|
|
@@ -14212,7 +13719,7 @@ declare module BABYLON.GUI {
|
|
|
14212
13719
|
* Gets or sets the opacity of the fluent hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 0.
|
|
14213
13720
|
*/
|
|
14214
13721
|
blobFade2: number;
|
|
14215
|
-
/** @
|
|
13722
|
+
/** @internal */
|
|
14216
13723
|
_rate: number;
|
|
14217
13724
|
/**
|
|
14218
13725
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -14222,9 +13729,9 @@ declare module BABYLON.GUI {
|
|
|
14222
13729
|
* Gets or sets the width of the highlights on the backplate line.
|
|
14223
13730
|
*/
|
|
14224
13731
|
highlightWidth: number;
|
|
14225
|
-
/** @
|
|
13732
|
+
/** @internal */
|
|
14226
13733
|
_highlightTransform: BABYLON.Vector4;
|
|
14227
|
-
/** @
|
|
13734
|
+
/** @internal */
|
|
14228
13735
|
_highlight: number;
|
|
14229
13736
|
/**
|
|
14230
13737
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -14234,17 +13741,17 @@ declare module BABYLON.GUI {
|
|
|
14234
13741
|
* Gets or sets the intensity of the iridescence effect on the backplate edges.
|
|
14235
13742
|
*/
|
|
14236
13743
|
iridescenceEdgeIntensity: number;
|
|
14237
|
-
/** @
|
|
13744
|
+
/** @internal */
|
|
14238
13745
|
_angle: number;
|
|
14239
13746
|
/**
|
|
14240
13747
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
14241
13748
|
*/
|
|
14242
13749
|
fadeOut: number;
|
|
14243
|
-
/** @
|
|
13750
|
+
/** @internal */
|
|
14244
13751
|
_reflected: boolean;
|
|
14245
|
-
/** @
|
|
13752
|
+
/** @internal */
|
|
14246
13753
|
_frequency: number;
|
|
14247
|
-
/** @
|
|
13754
|
+
/** @internal */
|
|
14248
13755
|
_verticalOffset: number;
|
|
14249
13756
|
/**
|
|
14250
13757
|
* Gets or sets the world-space position of the tip of the left index finger.
|
|
@@ -14277,14 +13784,14 @@ declare module BABYLON.GUI {
|
|
|
14277
13784
|
|
|
14278
13785
|
|
|
14279
13786
|
|
|
14280
|
-
/** @
|
|
13787
|
+
/** @internal */
|
|
14281
13788
|
export var fluentBackplatePixelShader: {
|
|
14282
13789
|
name: string;
|
|
14283
13790
|
shader: string;
|
|
14284
13791
|
};
|
|
14285
13792
|
|
|
14286
13793
|
|
|
14287
|
-
/** @
|
|
13794
|
+
/** @internal */
|
|
14288
13795
|
export var fluentBackplateVertexShader: {
|
|
14289
13796
|
name: string;
|
|
14290
13797
|
shader: string;
|
|
@@ -14472,14 +13979,14 @@ declare module BABYLON.GUI {
|
|
|
14472
13979
|
|
|
14473
13980
|
|
|
14474
13981
|
|
|
14475
|
-
/** @
|
|
13982
|
+
/** @internal */
|
|
14476
13983
|
export var fluentButtonPixelShader: {
|
|
14477
13984
|
name: string;
|
|
14478
13985
|
shader: string;
|
|
14479
13986
|
};
|
|
14480
13987
|
|
|
14481
13988
|
|
|
14482
|
-
/** @
|
|
13989
|
+
/** @internal */
|
|
14483
13990
|
export var fluentButtonVertexShader: {
|
|
14484
13991
|
name: string;
|
|
14485
13992
|
shader: string;
|
|
@@ -14538,7 +14045,7 @@ declare module BABYLON.GUI {
|
|
|
14538
14045
|
*/
|
|
14539
14046
|
dragScale: number;
|
|
14540
14047
|
/**
|
|
14541
|
-
* @
|
|
14048
|
+
* @internal
|
|
14542
14049
|
*/
|
|
14543
14050
|
_positionOffset: BABYLON.Vector3;
|
|
14544
14051
|
/**
|
|
@@ -14557,14 +14064,14 @@ declare module BABYLON.GUI {
|
|
|
14557
14064
|
|
|
14558
14065
|
|
|
14559
14066
|
|
|
14560
|
-
/** @
|
|
14067
|
+
/** @internal */
|
|
14561
14068
|
export var handlePixelShader: {
|
|
14562
14069
|
name: string;
|
|
14563
14070
|
shader: string;
|
|
14564
14071
|
};
|
|
14565
14072
|
|
|
14566
14073
|
|
|
14567
|
-
/** @
|
|
14074
|
+
/** @internal */
|
|
14568
14075
|
export var handleVertexShader: {
|
|
14569
14076
|
name: string;
|
|
14570
14077
|
shader: string;
|
|
@@ -14597,7 +14104,7 @@ declare module BABYLON.GUI {
|
|
|
14597
14104
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
14598
14105
|
*/
|
|
14599
14106
|
absoluteSizes: boolean;
|
|
14600
|
-
/** @
|
|
14107
|
+
/** @internal */
|
|
14601
14108
|
_filterWidth: number;
|
|
14602
14109
|
/**
|
|
14603
14110
|
* Gets or sets the base color of the backplate.
|
|
@@ -14623,7 +14130,7 @@ declare module BABYLON.GUI {
|
|
|
14623
14130
|
* Gets or sets the top left Radii Multiplier.
|
|
14624
14131
|
*/
|
|
14625
14132
|
radiusBottomRight: number;
|
|
14626
|
-
/** @
|
|
14133
|
+
/** @internal */
|
|
14627
14134
|
_rate: number;
|
|
14628
14135
|
/**
|
|
14629
14136
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -14633,9 +14140,9 @@ declare module BABYLON.GUI {
|
|
|
14633
14140
|
* Gets or sets the width of the highlights on the backplate line.
|
|
14634
14141
|
*/
|
|
14635
14142
|
highlightWidth: number;
|
|
14636
|
-
/** @
|
|
14143
|
+
/** @internal */
|
|
14637
14144
|
_highlightTransform: BABYLON.Vector4;
|
|
14638
|
-
/** @
|
|
14145
|
+
/** @internal */
|
|
14639
14146
|
_highlight: number;
|
|
14640
14147
|
/**
|
|
14641
14148
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -14649,17 +14156,17 @@ declare module BABYLON.GUI {
|
|
|
14649
14156
|
* Gets or sets the Tint of the iridescence effect on the backplate.
|
|
14650
14157
|
*/
|
|
14651
14158
|
iridescenceTint: BABYLON.Color4;
|
|
14652
|
-
/** @
|
|
14159
|
+
/** @internal */
|
|
14653
14160
|
_angle: number;
|
|
14654
14161
|
/**
|
|
14655
14162
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
14656
14163
|
*/
|
|
14657
14164
|
fadeOut: number;
|
|
14658
|
-
/** @
|
|
14165
|
+
/** @internal */
|
|
14659
14166
|
_reflected: boolean;
|
|
14660
|
-
/** @
|
|
14167
|
+
/** @internal */
|
|
14661
14168
|
_frequency: number;
|
|
14662
|
-
/** @
|
|
14169
|
+
/** @internal */
|
|
14663
14170
|
_verticalOffset: number;
|
|
14664
14171
|
/**
|
|
14665
14172
|
* Gets or sets the gradient color effect on the backplate.
|
|
@@ -14976,43 +14483,43 @@ declare module BABYLON.GUI {
|
|
|
14976
14483
|
*/
|
|
14977
14484
|
iridescenceIntensity: number;
|
|
14978
14485
|
/**
|
|
14979
|
-
* @
|
|
14486
|
+
* @internal
|
|
14980
14487
|
*/
|
|
14981
14488
|
useGlobalLeftIndex: number;
|
|
14982
14489
|
/**
|
|
14983
|
-
* @
|
|
14490
|
+
* @internal
|
|
14984
14491
|
*/
|
|
14985
14492
|
useGlobalRightIndex: number;
|
|
14986
14493
|
/**
|
|
14987
|
-
* @
|
|
14494
|
+
* @internal
|
|
14988
14495
|
*/
|
|
14989
14496
|
globalLeftIndexTipProximity: number;
|
|
14990
14497
|
/**
|
|
14991
|
-
* @
|
|
14498
|
+
* @internal
|
|
14992
14499
|
*/
|
|
14993
14500
|
globalRightIndexTipProximity: number;
|
|
14994
14501
|
/**
|
|
14995
|
-
* @
|
|
14502
|
+
* @internal
|
|
14996
14503
|
*/
|
|
14997
14504
|
globalLeftIndexTipPosition: BABYLON.Vector4;
|
|
14998
14505
|
/**
|
|
14999
|
-
* @
|
|
14506
|
+
* @internal
|
|
15000
14507
|
*/
|
|
15001
14508
|
globaRightIndexTipPosition: BABYLON.Vector4;
|
|
15002
14509
|
/**
|
|
15003
|
-
* @
|
|
14510
|
+
* @internal
|
|
15004
14511
|
*/
|
|
15005
14512
|
globalLeftThumbTipPosition: BABYLON.Vector4;
|
|
15006
14513
|
/**
|
|
15007
|
-
* @
|
|
14514
|
+
* @internal
|
|
15008
14515
|
*/
|
|
15009
14516
|
globalRightThumbTipPosition: BABYLON.Vector4;
|
|
15010
14517
|
/**
|
|
15011
|
-
* @
|
|
14518
|
+
* @internal
|
|
15012
14519
|
*/
|
|
15013
14520
|
globalLeftIndexMiddlePosition: BABYLON.Vector4;
|
|
15014
14521
|
/**
|
|
15015
|
-
* @
|
|
14522
|
+
* @internal
|
|
15016
14523
|
*/
|
|
15017
14524
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
15018
14525
|
constructor(name: string, scene?: BABYLON.Scene);
|
|
@@ -15298,43 +14805,43 @@ declare module BABYLON.GUI {
|
|
|
15298
14805
|
*/
|
|
15299
14806
|
iridescenceIntensity: number;
|
|
15300
14807
|
/**
|
|
15301
|
-
* @
|
|
14808
|
+
* @internal
|
|
15302
14809
|
*/
|
|
15303
14810
|
useGlobalLeftIndex: number;
|
|
15304
14811
|
/**
|
|
15305
|
-
* @
|
|
14812
|
+
* @internal
|
|
15306
14813
|
*/
|
|
15307
14814
|
useGlobalRightIndex: number;
|
|
15308
14815
|
/**
|
|
15309
|
-
* @
|
|
14816
|
+
* @internal
|
|
15310
14817
|
*/
|
|
15311
14818
|
globalLeftIndexTipProximity: number;
|
|
15312
14819
|
/**
|
|
15313
|
-
* @
|
|
14820
|
+
* @internal
|
|
15314
14821
|
*/
|
|
15315
14822
|
globalRightIndexTipProximity: number;
|
|
15316
14823
|
/**
|
|
15317
|
-
* @
|
|
14824
|
+
* @internal
|
|
15318
14825
|
*/
|
|
15319
14826
|
globalLeftIndexTipPosition: BABYLON.Vector4;
|
|
15320
14827
|
/**
|
|
15321
|
-
* @
|
|
14828
|
+
* @internal
|
|
15322
14829
|
*/
|
|
15323
14830
|
globaRightIndexTipPosition: BABYLON.Vector4;
|
|
15324
14831
|
/**
|
|
15325
|
-
* @
|
|
14832
|
+
* @internal
|
|
15326
14833
|
*/
|
|
15327
14834
|
globalLeftThumbTipPosition: BABYLON.Vector4;
|
|
15328
14835
|
/**
|
|
15329
|
-
* @
|
|
14836
|
+
* @internal
|
|
15330
14837
|
*/
|
|
15331
14838
|
globalRightThumbTipPosition: BABYLON.Vector4;
|
|
15332
14839
|
/**
|
|
15333
|
-
* @
|
|
14840
|
+
* @internal
|
|
15334
14841
|
*/
|
|
15335
14842
|
globalLeftIndexMiddlePosition: BABYLON.Vector4;
|
|
15336
14843
|
/**
|
|
15337
|
-
* @
|
|
14844
|
+
* @internal
|
|
15338
14845
|
*/
|
|
15339
14846
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
15340
14847
|
constructor(name: string, scene?: BABYLON.Scene);
|
|
@@ -15356,42 +14863,42 @@ declare module BABYLON.GUI {
|
|
|
15356
14863
|
}
|
|
15357
14864
|
|
|
15358
14865
|
|
|
15359
|
-
/** @
|
|
14866
|
+
/** @internal */
|
|
15360
14867
|
export var mrdlBackplatePixelShader: {
|
|
15361
14868
|
name: string;
|
|
15362
14869
|
shader: string;
|
|
15363
14870
|
};
|
|
15364
14871
|
|
|
15365
14872
|
|
|
15366
|
-
/** @
|
|
14873
|
+
/** @internal */
|
|
15367
14874
|
export var mrdlBackplateVertexShader: {
|
|
15368
14875
|
name: string;
|
|
15369
14876
|
shader: string;
|
|
15370
14877
|
};
|
|
15371
14878
|
|
|
15372
14879
|
|
|
15373
|
-
/** @
|
|
14880
|
+
/** @internal */
|
|
15374
14881
|
export var mrdlSliderBarPixelShader: {
|
|
15375
14882
|
name: string;
|
|
15376
14883
|
shader: string;
|
|
15377
14884
|
};
|
|
15378
14885
|
|
|
15379
14886
|
|
|
15380
|
-
/** @
|
|
14887
|
+
/** @internal */
|
|
15381
14888
|
export var mrdlSliderBarVertexShader: {
|
|
15382
14889
|
name: string;
|
|
15383
14890
|
shader: string;
|
|
15384
14891
|
};
|
|
15385
14892
|
|
|
15386
14893
|
|
|
15387
|
-
/** @
|
|
14894
|
+
/** @internal */
|
|
15388
14895
|
export var mrdlSliderThumbPixelShader: {
|
|
15389
14896
|
name: string;
|
|
15390
14897
|
shader: string;
|
|
15391
14898
|
};
|
|
15392
14899
|
|
|
15393
14900
|
|
|
15394
|
-
/** @
|
|
14901
|
+
/** @internal */
|
|
15395
14902
|
export var mrdlSliderThumbVertexShader: {
|
|
15396
14903
|
name: string;
|
|
15397
14904
|
shader: string;
|