babylonjs-gui 5.24.0 → 5.25.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 +265 -520
- package/babylon.gui.js +251 -506
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +530 -1040
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -90,27 +90,27 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
90
90
|
private _canvasPointerOutObserver;
|
|
91
91
|
private _canvasBlurObserver;
|
|
92
92
|
private _background;
|
|
93
|
-
/** @
|
|
93
|
+
/** @internal */
|
|
94
94
|
_rootContainer: Container;
|
|
95
|
-
/** @
|
|
95
|
+
/** @internal */
|
|
96
96
|
_lastPickedControl: Control;
|
|
97
|
-
/** @
|
|
97
|
+
/** @internal */
|
|
98
98
|
_lastControlOver: {
|
|
99
99
|
[pointerId: number]: Control;
|
|
100
100
|
};
|
|
101
|
-
/** @
|
|
101
|
+
/** @internal */
|
|
102
102
|
_lastControlDown: {
|
|
103
103
|
[pointerId: number]: Control;
|
|
104
104
|
};
|
|
105
|
-
/** @
|
|
105
|
+
/** @internal */
|
|
106
106
|
_capturingControl: {
|
|
107
107
|
[pointerId: number]: Control;
|
|
108
108
|
};
|
|
109
|
-
/** @
|
|
109
|
+
/** @internal */
|
|
110
110
|
_shouldBlockPointer: boolean;
|
|
111
|
-
/** @
|
|
111
|
+
/** @internal */
|
|
112
112
|
_layerToDispose: Nullable<Layer>;
|
|
113
|
-
/** @
|
|
113
|
+
/** @internal */
|
|
114
114
|
_linkedControls: Control[];
|
|
115
115
|
private _isFullscreen;
|
|
116
116
|
private _fullscreenViewport;
|
|
@@ -124,13 +124,13 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
124
124
|
private _rootElement;
|
|
125
125
|
private _cursorChanged;
|
|
126
126
|
private _defaultMousePointerId;
|
|
127
|
-
/** @
|
|
127
|
+
/** @internal */
|
|
128
128
|
_capturedPointerIds: Set<number>;
|
|
129
|
-
/** @
|
|
129
|
+
/** @internal */
|
|
130
130
|
_numLayoutCalls: number;
|
|
131
131
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
132
132
|
get numLayoutCalls(): number;
|
|
133
|
-
/** @
|
|
133
|
+
/** @internal */
|
|
134
134
|
_numRenderCalls: number;
|
|
135
135
|
/** Gets the number of render calls made the last time the ADT has been rendered */
|
|
136
136
|
get numRenderCalls(): number;
|
|
@@ -339,7 +339,7 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
339
339
|
*/
|
|
340
340
|
dispose(): void;
|
|
341
341
|
private _onResize;
|
|
342
|
-
/** @
|
|
342
|
+
/** @internal */
|
|
343
343
|
_getGlobalViewport(): Viewport;
|
|
344
344
|
/**
|
|
345
345
|
* Get screen coordinates for a vector3
|
|
@@ -359,46 +359,37 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
|
359
359
|
private _clearMeasure;
|
|
360
360
|
private _render;
|
|
361
361
|
/**
|
|
362
|
-
* @
|
|
363
|
-
* @hidden
|
|
362
|
+
* @internal
|
|
364
363
|
*/
|
|
365
364
|
_changeCursor(cursor: string): void;
|
|
366
365
|
/**
|
|
367
|
-
* @
|
|
368
|
-
* @param pointerId
|
|
369
|
-
* @hidden
|
|
366
|
+
* @internal
|
|
370
367
|
*/
|
|
371
368
|
_registerLastControlDown(control: Control, pointerId: number): void;
|
|
372
369
|
private _doPicking;
|
|
373
370
|
/**
|
|
374
|
-
* @
|
|
375
|
-
* @param control
|
|
376
|
-
* @hidden
|
|
371
|
+
* @internal
|
|
377
372
|
*/
|
|
378
373
|
_cleanControlAfterRemovalFromList(list: {
|
|
379
374
|
[pointerId: number]: Control;
|
|
380
375
|
}, control: Control): void;
|
|
381
376
|
/**
|
|
382
|
-
* @
|
|
383
|
-
* @hidden
|
|
377
|
+
* @internal
|
|
384
378
|
*/
|
|
385
379
|
_cleanControlAfterRemoval(control: Control): void;
|
|
386
380
|
private _translateToPicking;
|
|
387
381
|
/** Attach to all scene events required to support pointer events */
|
|
388
382
|
attach(): void;
|
|
389
383
|
/**
|
|
390
|
-
* @
|
|
391
|
-
* @hidden
|
|
384
|
+
* @internal
|
|
392
385
|
*/
|
|
393
386
|
private _onClipboardCopy;
|
|
394
387
|
/**
|
|
395
|
-
* @
|
|
396
|
-
* @hidden
|
|
388
|
+
* @internal
|
|
397
389
|
*/
|
|
398
390
|
private _onClipboardCut;
|
|
399
391
|
/**
|
|
400
|
-
* @
|
|
401
|
-
* @hidden
|
|
392
|
+
* @internal
|
|
402
393
|
*/
|
|
403
394
|
private _onClipboardPaste;
|
|
404
395
|
/**
|
|
@@ -594,47 +585,23 @@ export class Button extends Rectangle {
|
|
|
594
585
|
constructor(name?: string | undefined);
|
|
595
586
|
protected _getTypeName(): string;
|
|
596
587
|
/**
|
|
597
|
-
* @
|
|
598
|
-
* @param y
|
|
599
|
-
* @param pi
|
|
600
|
-
* @param type
|
|
601
|
-
* @param pointerId
|
|
602
|
-
* @param buttonIndex
|
|
603
|
-
* @param deltaX
|
|
604
|
-
* @param deltaY
|
|
605
|
-
* @hidden
|
|
588
|
+
* @internal
|
|
606
589
|
*/
|
|
607
590
|
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
608
591
|
/**
|
|
609
|
-
* @
|
|
610
|
-
* @param pi
|
|
611
|
-
* @hidden
|
|
592
|
+
* @internal
|
|
612
593
|
*/
|
|
613
594
|
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
614
595
|
/**
|
|
615
|
-
* @
|
|
616
|
-
* @param pi
|
|
617
|
-
* @param force
|
|
618
|
-
* @hidden
|
|
596
|
+
* @internal
|
|
619
597
|
*/
|
|
620
598
|
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
621
599
|
/**
|
|
622
|
-
* @
|
|
623
|
-
* @param coordinates
|
|
624
|
-
* @param pointerId
|
|
625
|
-
* @param buttonIndex
|
|
626
|
-
* @param pi
|
|
627
|
-
* @hidden
|
|
600
|
+
* @internal
|
|
628
601
|
*/
|
|
629
602
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
630
603
|
/**
|
|
631
|
-
* @
|
|
632
|
-
* @param coordinates
|
|
633
|
-
* @param pointerId
|
|
634
|
-
* @param buttonIndex
|
|
635
|
-
* @param notifyClick
|
|
636
|
-
* @param pi
|
|
637
|
-
* @hidden
|
|
604
|
+
* @internal
|
|
638
605
|
*/
|
|
639
606
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
640
607
|
/**
|
|
@@ -643,9 +610,7 @@ export class Button extends Rectangle {
|
|
|
643
610
|
*/
|
|
644
611
|
serialize(serializationObject: any): void;
|
|
645
612
|
/**
|
|
646
|
-
* @
|
|
647
|
-
* @param host
|
|
648
|
-
* @hidden
|
|
613
|
+
* @internal
|
|
649
614
|
*/
|
|
650
615
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
651
616
|
/**
|
|
@@ -720,17 +685,11 @@ export class Checkbox extends Control {
|
|
|
720
685
|
constructor(name?: string | undefined);
|
|
721
686
|
protected _getTypeName(): string;
|
|
722
687
|
/**
|
|
723
|
-
* @
|
|
724
|
-
* @hidden
|
|
688
|
+
* @internal
|
|
725
689
|
*/
|
|
726
690
|
_draw(context: ICanvasRenderingContext): void;
|
|
727
691
|
/**
|
|
728
|
-
* @
|
|
729
|
-
* @param coordinates
|
|
730
|
-
* @param pointerId
|
|
731
|
-
* @param buttonIndex
|
|
732
|
-
* @param pi
|
|
733
|
-
* @hidden
|
|
692
|
+
* @internal
|
|
734
693
|
*/
|
|
735
694
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
736
695
|
/**
|
|
@@ -798,8 +757,7 @@ export class ColorPicker extends Control {
|
|
|
798
757
|
constructor(name?: string | undefined);
|
|
799
758
|
protected _getTypeName(): string;
|
|
800
759
|
/**
|
|
801
|
-
* @
|
|
802
|
-
* @hidden
|
|
760
|
+
* @internal
|
|
803
761
|
*/
|
|
804
762
|
protected _preMeasure(parentMeasure: Measure): void;
|
|
805
763
|
private _updateSquareProps;
|
|
@@ -807,8 +765,7 @@ export class ColorPicker extends Control {
|
|
|
807
765
|
private _drawCircle;
|
|
808
766
|
private _createColorWheelCanvas;
|
|
809
767
|
/**
|
|
810
|
-
* @
|
|
811
|
-
* @hidden
|
|
768
|
+
* @internal
|
|
812
769
|
*/
|
|
813
770
|
_draw(context: ICanvasRenderingContext): void;
|
|
814
771
|
private _pointerIsDown;
|
|
@@ -863,19 +820,19 @@ import { DynamicTexture } from "babylonjs/Materials/Textures/dynamicTexture";
|
|
|
863
820
|
*/
|
|
864
821
|
export class Container extends Control {
|
|
865
822
|
name?: string | undefined;
|
|
866
|
-
/** @
|
|
823
|
+
/** @internal */
|
|
867
824
|
_children: Control[];
|
|
868
|
-
/** @
|
|
825
|
+
/** @internal */
|
|
869
826
|
protected _measureForChildren: Measure;
|
|
870
|
-
/** @
|
|
827
|
+
/** @internal */
|
|
871
828
|
protected _background: string;
|
|
872
|
-
/** @
|
|
829
|
+
/** @internal */
|
|
873
830
|
protected _adaptWidthToChildren: boolean;
|
|
874
|
-
/** @
|
|
831
|
+
/** @internal */
|
|
875
832
|
protected _adaptHeightToChildren: boolean;
|
|
876
|
-
/** @
|
|
833
|
+
/** @internal */
|
|
877
834
|
protected _renderToIntermediateTexture: boolean;
|
|
878
|
-
/** @
|
|
835
|
+
/** @internal */
|
|
879
836
|
protected _intermediateTexture: Nullable<DynamicTexture>;
|
|
880
837
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
881
838
|
get renderToIntermediateTexture(): boolean;
|
|
@@ -945,70 +902,49 @@ export class Container extends Control {
|
|
|
945
902
|
*/
|
|
946
903
|
removeControl(control: Control): Container;
|
|
947
904
|
/**
|
|
948
|
-
* @
|
|
949
|
-
* @hidden
|
|
905
|
+
* @internal
|
|
950
906
|
*/
|
|
951
907
|
_reOrderControl(control: Control): void;
|
|
952
908
|
/**
|
|
953
|
-
* @
|
|
954
|
-
* @hidden
|
|
909
|
+
* @internal
|
|
955
910
|
*/
|
|
956
911
|
_offsetLeft(offset: number): void;
|
|
957
912
|
/**
|
|
958
|
-
* @
|
|
959
|
-
* @hidden
|
|
913
|
+
* @internal
|
|
960
914
|
*/
|
|
961
915
|
_offsetTop(offset: number): void;
|
|
962
|
-
/** @
|
|
916
|
+
/** @internal */
|
|
963
917
|
_markAllAsDirty(): void;
|
|
964
918
|
/**
|
|
965
|
-
* @
|
|
966
|
-
* @hidden
|
|
919
|
+
* @internal
|
|
967
920
|
*/
|
|
968
921
|
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
969
922
|
/**
|
|
970
|
-
* @
|
|
971
|
-
* @hidden
|
|
923
|
+
* @internal
|
|
972
924
|
*/
|
|
973
925
|
_link(host: AdvancedDynamicTexture): void;
|
|
974
|
-
/** @
|
|
926
|
+
/** @internal */
|
|
975
927
|
protected _beforeLayout(): void;
|
|
976
928
|
/**
|
|
977
|
-
* @
|
|
978
|
-
* @param context
|
|
979
|
-
* @hidden
|
|
929
|
+
* @internal
|
|
980
930
|
*/
|
|
981
931
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
982
932
|
/**
|
|
983
|
-
* @
|
|
984
|
-
* @param context
|
|
985
|
-
* @hidden
|
|
933
|
+
* @internal
|
|
986
934
|
*/
|
|
987
935
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
988
936
|
protected _postMeasure(): void;
|
|
989
937
|
/**
|
|
990
|
-
* @
|
|
991
|
-
* @param invalidatedRectangle
|
|
992
|
-
* @hidden
|
|
938
|
+
* @internal
|
|
993
939
|
*/
|
|
994
940
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
995
941
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
996
942
|
/**
|
|
997
|
-
* @
|
|
998
|
-
* @param y
|
|
999
|
-
* @param pi
|
|
1000
|
-
* @param type
|
|
1001
|
-
* @param pointerId
|
|
1002
|
-
* @param buttonIndex
|
|
1003
|
-
* @param deltaX
|
|
1004
|
-
* @param deltaY
|
|
1005
|
-
* @hidden
|
|
943
|
+
* @internal
|
|
1006
944
|
*/
|
|
1007
945
|
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1008
946
|
/**
|
|
1009
|
-
* @
|
|
1010
|
-
* @param context
|
|
1011
|
-
* @hidden
|
|
947
|
+
* @internal
|
|
1012
948
|
*/
|
|
1013
949
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1014
950
|
/**
|
|
@@ -1019,9 +955,7 @@ export class Container extends Control {
|
|
|
1019
955
|
/** Releases associated resources */
|
|
1020
956
|
dispose(): void;
|
|
1021
957
|
/**
|
|
1022
|
-
* @
|
|
1023
|
-
* @param host
|
|
1024
|
-
* @hidden
|
|
958
|
+
* @internal
|
|
1025
959
|
*/
|
|
1026
960
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
1027
961
|
}
|
|
@@ -1055,24 +989,24 @@ export class Control {
|
|
|
1055
989
|
private _alpha;
|
|
1056
990
|
private _alphaSet;
|
|
1057
991
|
private _zIndex;
|
|
1058
|
-
/** @
|
|
992
|
+
/** @internal */
|
|
1059
993
|
_host: AdvancedDynamicTexture;
|
|
1060
994
|
/** Gets or sets the control parent */
|
|
1061
995
|
parent: Nullable<Container>;
|
|
1062
|
-
/** @
|
|
996
|
+
/** @internal */
|
|
1063
997
|
_currentMeasure: Measure;
|
|
1064
|
-
/** @
|
|
998
|
+
/** @internal */
|
|
1065
999
|
_tempPaddingMeasure: Measure;
|
|
1066
1000
|
private _fontFamily;
|
|
1067
1001
|
private _fontStyle;
|
|
1068
1002
|
private _fontWeight;
|
|
1069
1003
|
private _fontSize;
|
|
1070
1004
|
private _font;
|
|
1071
|
-
/** @
|
|
1005
|
+
/** @internal */
|
|
1072
1006
|
_width: ValueAndUnit;
|
|
1073
|
-
/** @
|
|
1007
|
+
/** @internal */
|
|
1074
1008
|
_height: ValueAndUnit;
|
|
1075
|
-
/** @
|
|
1009
|
+
/** @internal */
|
|
1076
1010
|
protected _fontOffset: {
|
|
1077
1011
|
ascent: number;
|
|
1078
1012
|
height: number;
|
|
@@ -1081,39 +1015,39 @@ export class Control {
|
|
|
1081
1015
|
private _color;
|
|
1082
1016
|
private _style;
|
|
1083
1017
|
private _styleObserver;
|
|
1084
|
-
/** @
|
|
1018
|
+
/** @internal */
|
|
1085
1019
|
protected _horizontalAlignment: number;
|
|
1086
|
-
/** @
|
|
1020
|
+
/** @internal */
|
|
1087
1021
|
protected _verticalAlignment: number;
|
|
1088
|
-
/** @
|
|
1022
|
+
/** @internal */
|
|
1089
1023
|
protected _isDirty: boolean;
|
|
1090
|
-
/** @
|
|
1024
|
+
/** @internal */
|
|
1091
1025
|
protected _wasDirty: boolean;
|
|
1092
|
-
/** @
|
|
1026
|
+
/** @internal */
|
|
1093
1027
|
_tempParentMeasure: Measure;
|
|
1094
|
-
/** @
|
|
1028
|
+
/** @internal */
|
|
1095
1029
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
1096
|
-
/** @
|
|
1030
|
+
/** @internal */
|
|
1097
1031
|
protected _cachedParentMeasure: Measure;
|
|
1098
1032
|
private _descendantsOnlyPadding;
|
|
1099
1033
|
private _paddingLeft;
|
|
1100
1034
|
private _paddingRight;
|
|
1101
1035
|
private _paddingTop;
|
|
1102
1036
|
private _paddingBottom;
|
|
1103
|
-
/** @
|
|
1037
|
+
/** @internal */
|
|
1104
1038
|
_left: ValueAndUnit;
|
|
1105
|
-
/** @
|
|
1039
|
+
/** @internal */
|
|
1106
1040
|
_top: ValueAndUnit;
|
|
1107
1041
|
private _scaleX;
|
|
1108
1042
|
private _scaleY;
|
|
1109
1043
|
private _rotation;
|
|
1110
1044
|
private _transformCenterX;
|
|
1111
1045
|
private _transformCenterY;
|
|
1112
|
-
/** @
|
|
1046
|
+
/** @internal */
|
|
1113
1047
|
_transformMatrix: Matrix2D;
|
|
1114
|
-
/** @
|
|
1048
|
+
/** @internal */
|
|
1115
1049
|
protected _invertTransformMatrix: Matrix2D;
|
|
1116
|
-
/** @
|
|
1050
|
+
/** @internal */
|
|
1117
1051
|
protected _transformedPosition: Vector2;
|
|
1118
1052
|
private _isMatrixDirty;
|
|
1119
1053
|
private _cachedOffsetX;
|
|
@@ -1122,7 +1056,7 @@ export class Control {
|
|
|
1122
1056
|
private _isHighlighted;
|
|
1123
1057
|
private _highlightColor;
|
|
1124
1058
|
protected _highlightLineWidth: number;
|
|
1125
|
-
/** @
|
|
1059
|
+
/** @internal */
|
|
1126
1060
|
_linkedMesh: Nullable<TransformNode>;
|
|
1127
1061
|
private _fontSet;
|
|
1128
1062
|
private _dummyVector2;
|
|
@@ -1136,15 +1070,15 @@ export class Control {
|
|
|
1136
1070
|
protected _disabledColor: string;
|
|
1137
1071
|
protected _disabledColorItem: string;
|
|
1138
1072
|
protected _isReadOnly: boolean;
|
|
1139
|
-
/** @
|
|
1073
|
+
/** @internal */
|
|
1140
1074
|
protected _rebuildLayout: boolean;
|
|
1141
|
-
/** @
|
|
1075
|
+
/** @internal */
|
|
1142
1076
|
_customData: any;
|
|
1143
|
-
/** @
|
|
1077
|
+
/** @internal */
|
|
1144
1078
|
_isClipped: boolean;
|
|
1145
|
-
/** @
|
|
1079
|
+
/** @internal */
|
|
1146
1080
|
_automaticSize: boolean;
|
|
1147
|
-
/** @
|
|
1081
|
+
/** @internal */
|
|
1148
1082
|
_tag: any;
|
|
1149
1083
|
/**
|
|
1150
1084
|
* 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 +1144,9 @@ export class Control {
|
|
|
1210
1144
|
set shadowColor(value: string);
|
|
1211
1145
|
/** Gets or sets the cursor to use when the control is hovered */
|
|
1212
1146
|
hoverCursor: string;
|
|
1213
|
-
/** @
|
|
1147
|
+
/** @internal */
|
|
1214
1148
|
protected _linkOffsetX: ValueAndUnit;
|
|
1215
|
-
/** @
|
|
1149
|
+
/** @internal */
|
|
1216
1150
|
protected _linkOffsetY: ValueAndUnit;
|
|
1217
1151
|
/** Gets the control type name */
|
|
1218
1152
|
get typeName(): string;
|
|
@@ -1382,7 +1316,7 @@ export class Control {
|
|
|
1382
1316
|
*/
|
|
1383
1317
|
get style(): Nullable<Style>;
|
|
1384
1318
|
set style(value: Nullable<Style>);
|
|
1385
|
-
/** @
|
|
1319
|
+
/** @internal */
|
|
1386
1320
|
get _isFontSizeInPercentage(): boolean;
|
|
1387
1321
|
/** Gets or sets font size in pixels */
|
|
1388
1322
|
get fontSizeInPixels(): number;
|
|
@@ -1426,7 +1360,7 @@ export class Control {
|
|
|
1426
1360
|
*/
|
|
1427
1361
|
get paddingLeftInPixels(): number;
|
|
1428
1362
|
set paddingLeftInPixels(value: number);
|
|
1429
|
-
/** @
|
|
1363
|
+
/** @internal */
|
|
1430
1364
|
get _paddingLeftInPixels(): number;
|
|
1431
1365
|
/**
|
|
1432
1366
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
@@ -1440,7 +1374,7 @@ export class Control {
|
|
|
1440
1374
|
*/
|
|
1441
1375
|
get paddingRightInPixels(): number;
|
|
1442
1376
|
set paddingRightInPixels(value: number);
|
|
1443
|
-
/** @
|
|
1377
|
+
/** @internal */
|
|
1444
1378
|
get _paddingRightInPixels(): number;
|
|
1445
1379
|
/**
|
|
1446
1380
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
@@ -1454,7 +1388,7 @@ export class Control {
|
|
|
1454
1388
|
*/
|
|
1455
1389
|
get paddingTopInPixels(): number;
|
|
1456
1390
|
set paddingTopInPixels(value: number);
|
|
1457
|
-
/** @
|
|
1391
|
+
/** @internal */
|
|
1458
1392
|
get _paddingTopInPixels(): number;
|
|
1459
1393
|
/**
|
|
1460
1394
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
@@ -1468,7 +1402,7 @@ export class Control {
|
|
|
1468
1402
|
*/
|
|
1469
1403
|
get paddingBottomInPixels(): number;
|
|
1470
1404
|
set paddingBottomInPixels(value: number);
|
|
1471
|
-
/** @
|
|
1405
|
+
/** @internal */
|
|
1472
1406
|
get _paddingBottomInPixels(): number;
|
|
1473
1407
|
/**
|
|
1474
1408
|
* Gets or sets a value indicating the left coordinate of the control
|
|
@@ -1549,7 +1483,7 @@ export class Control {
|
|
|
1549
1483
|
constructor(
|
|
1550
1484
|
/** defines the name of the control */
|
|
1551
1485
|
name?: string | undefined);
|
|
1552
|
-
/** @
|
|
1486
|
+
/** @internal */
|
|
1553
1487
|
protected _getTypeName(): string;
|
|
1554
1488
|
/**
|
|
1555
1489
|
* Gets the first ascendant in the hierarchy of the given type
|
|
@@ -1566,7 +1500,7 @@ export class Control {
|
|
|
1566
1500
|
* Mark the element and its children as dirty
|
|
1567
1501
|
*/
|
|
1568
1502
|
markAllAsDirty(): void;
|
|
1569
|
-
/** @
|
|
1503
|
+
/** @internal */
|
|
1570
1504
|
_resetFontCache(): void;
|
|
1571
1505
|
/**
|
|
1572
1506
|
* Determines if a container is an ascendant of the current control
|
|
@@ -1638,119 +1572,93 @@ export class Control {
|
|
|
1638
1572
|
*/
|
|
1639
1573
|
setPaddingInPixels(paddingTop: number, paddingRight?: number, paddingBottom?: number, paddingLeft?: number): void;
|
|
1640
1574
|
/**
|
|
1641
|
-
* @
|
|
1642
|
-
* @hidden
|
|
1575
|
+
* @internal
|
|
1643
1576
|
*/
|
|
1644
1577
|
_moveToProjectedPosition(projectedPosition: Vector3): void;
|
|
1645
1578
|
/**
|
|
1646
|
-
* @
|
|
1647
|
-
* @hidden
|
|
1579
|
+
* @internal
|
|
1648
1580
|
*/
|
|
1649
1581
|
_offsetLeft(offset: number): void;
|
|
1650
1582
|
/**
|
|
1651
|
-
* @
|
|
1652
|
-
* @hidden
|
|
1583
|
+
* @internal
|
|
1653
1584
|
*/
|
|
1654
1585
|
_offsetTop(offset: number): void;
|
|
1655
|
-
/** @
|
|
1586
|
+
/** @internal */
|
|
1656
1587
|
_markMatrixAsDirty(): void;
|
|
1657
|
-
/** @
|
|
1588
|
+
/** @internal */
|
|
1658
1589
|
_flagDescendantsAsMatrixDirty(): void;
|
|
1659
1590
|
/**
|
|
1660
|
-
* @
|
|
1661
|
-
* @param context
|
|
1662
|
-
* @hidden
|
|
1591
|
+
* @internal
|
|
1663
1592
|
*/
|
|
1664
1593
|
_intersectsRect(rect: Measure, context?: ICanvasRenderingContext): boolean;
|
|
1665
|
-
/** @
|
|
1594
|
+
/** @internal */
|
|
1666
1595
|
protected _computeAdditionnalOffsetX(): number;
|
|
1667
|
-
/** @
|
|
1596
|
+
/** @internal */
|
|
1668
1597
|
protected _computeAdditionnalOffsetY(): number;
|
|
1669
|
-
/** @
|
|
1598
|
+
/** @internal */
|
|
1670
1599
|
protected invalidateRect(): void;
|
|
1671
1600
|
/**
|
|
1672
|
-
* @
|
|
1673
|
-
* @hidden
|
|
1601
|
+
* @internal
|
|
1674
1602
|
*/
|
|
1675
1603
|
_markAsDirty(force?: boolean): void;
|
|
1676
|
-
/** @
|
|
1604
|
+
/** @internal */
|
|
1677
1605
|
_markAllAsDirty(): void;
|
|
1678
1606
|
/**
|
|
1679
|
-
* @
|
|
1680
|
-
* @hidden
|
|
1607
|
+
* @internal
|
|
1681
1608
|
*/
|
|
1682
1609
|
_link(host: AdvancedDynamicTexture): void;
|
|
1683
1610
|
/**
|
|
1684
|
-
* @
|
|
1685
|
-
* @hidden
|
|
1611
|
+
* @internal
|
|
1686
1612
|
*/
|
|
1687
1613
|
protected _transform(context?: ICanvasRenderingContext): void;
|
|
1688
1614
|
/**
|
|
1689
|
-
* @
|
|
1690
|
-
* @hidden
|
|
1615
|
+
* @internal
|
|
1691
1616
|
*/
|
|
1692
1617
|
_renderHighlight(context: ICanvasRenderingContext): void;
|
|
1693
1618
|
/**
|
|
1694
|
-
* @
|
|
1695
|
-
* @hidden
|
|
1619
|
+
* @internal
|
|
1696
1620
|
*/
|
|
1697
1621
|
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
1698
1622
|
/**
|
|
1699
|
-
* @
|
|
1700
|
-
* @hidden
|
|
1623
|
+
* @internal
|
|
1701
1624
|
*/
|
|
1702
1625
|
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
1703
1626
|
/**
|
|
1704
|
-
* @
|
|
1705
|
-
* @param context
|
|
1706
|
-
* @hidden
|
|
1627
|
+
* @internal
|
|
1707
1628
|
*/
|
|
1708
1629
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
1709
1630
|
/**
|
|
1710
|
-
* @
|
|
1711
|
-
* @param context
|
|
1712
|
-
* @hidden
|
|
1631
|
+
* @internal
|
|
1713
1632
|
*/
|
|
1714
1633
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1715
1634
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
1716
|
-
/** @
|
|
1635
|
+
/** @internal */
|
|
1717
1636
|
_measure(): void;
|
|
1718
1637
|
/**
|
|
1719
|
-
* @
|
|
1720
|
-
* @param context
|
|
1721
|
-
* @hidden
|
|
1638
|
+
* @internal
|
|
1722
1639
|
*/
|
|
1723
1640
|
protected _computeAlignment(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1724
1641
|
/**
|
|
1725
|
-
* @
|
|
1726
|
-
* @param context
|
|
1727
|
-
* @hidden
|
|
1642
|
+
* @internal
|
|
1728
1643
|
*/
|
|
1729
1644
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1730
1645
|
/**
|
|
1731
|
-
* @
|
|
1732
|
-
* @param context
|
|
1733
|
-
* @hidden
|
|
1646
|
+
* @internal
|
|
1734
1647
|
*/
|
|
1735
1648
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1736
1649
|
/**
|
|
1737
|
-
* @
|
|
1738
|
-
* @hidden
|
|
1650
|
+
* @internal
|
|
1739
1651
|
*/
|
|
1740
1652
|
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
1741
1653
|
private static _ClipMeasure;
|
|
1742
1654
|
private _tmpMeasureA;
|
|
1743
1655
|
private _clip;
|
|
1744
1656
|
/**
|
|
1745
|
-
* @
|
|
1746
|
-
* @param invalidatedRectangle
|
|
1747
|
-
* @hidden
|
|
1657
|
+
* @internal
|
|
1748
1658
|
*/
|
|
1749
1659
|
_render(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): boolean;
|
|
1750
1660
|
/**
|
|
1751
|
-
* @
|
|
1752
|
-
* @param invalidatedRectangle
|
|
1753
|
-
* @hidden
|
|
1661
|
+
* @internal
|
|
1754
1662
|
*/
|
|
1755
1663
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): void;
|
|
1756
1664
|
/**
|
|
@@ -1761,80 +1669,41 @@ export class Control {
|
|
|
1761
1669
|
*/
|
|
1762
1670
|
contains(x: number, y: number): boolean;
|
|
1763
1671
|
/**
|
|
1764
|
-
* @
|
|
1765
|
-
* @param y
|
|
1766
|
-
* @param pi
|
|
1767
|
-
* @param type
|
|
1768
|
-
* @param pointerId
|
|
1769
|
-
* @param buttonIndex
|
|
1770
|
-
* @param deltaX
|
|
1771
|
-
* @param deltaY
|
|
1772
|
-
* @hidden
|
|
1672
|
+
* @internal
|
|
1773
1673
|
*/
|
|
1774
1674
|
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1775
1675
|
/**
|
|
1776
|
-
* @
|
|
1777
|
-
* @param coordinates
|
|
1778
|
-
* @param pointerId
|
|
1779
|
-
* @param pi
|
|
1780
|
-
* @hidden
|
|
1676
|
+
* @internal
|
|
1781
1677
|
*/
|
|
1782
1678
|
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: Nullable<PointerInfoBase>): void;
|
|
1783
1679
|
/**
|
|
1784
|
-
* @
|
|
1785
|
-
* @param pi
|
|
1786
|
-
* @hidden
|
|
1680
|
+
* @internal
|
|
1787
1681
|
*/
|
|
1788
1682
|
_onPointerEnter(target: Control, pi: Nullable<PointerInfoBase>): boolean;
|
|
1789
1683
|
/**
|
|
1790
|
-
* @
|
|
1791
|
-
* @param pi
|
|
1792
|
-
* @param force
|
|
1793
|
-
* @hidden
|
|
1684
|
+
* @internal
|
|
1794
1685
|
*/
|
|
1795
1686
|
_onPointerOut(target: Control, pi: Nullable<PointerInfoBase>, force?: boolean): void;
|
|
1796
1687
|
/**
|
|
1797
|
-
* @
|
|
1798
|
-
* @param coordinates
|
|
1799
|
-
* @param pointerId
|
|
1800
|
-
* @param buttonIndex
|
|
1801
|
-
* @param pi
|
|
1802
|
-
* @hidden
|
|
1688
|
+
* @internal
|
|
1803
1689
|
*/
|
|
1804
1690
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: Nullable<PointerInfoBase>): boolean;
|
|
1805
1691
|
/**
|
|
1806
|
-
* @
|
|
1807
|
-
* @param coordinates
|
|
1808
|
-
* @param pointerId
|
|
1809
|
-
* @param buttonIndex
|
|
1810
|
-
* @param notifyClick
|
|
1811
|
-
* @param pi
|
|
1812
|
-
* @hidden
|
|
1692
|
+
* @internal
|
|
1813
1693
|
*/
|
|
1814
1694
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: Nullable<PointerInfoBase>): void;
|
|
1815
1695
|
/**
|
|
1816
|
-
* @
|
|
1817
|
-
* @hidden
|
|
1696
|
+
* @internal
|
|
1818
1697
|
*/
|
|
1819
1698
|
_forcePointerUp(pointerId?: Nullable<number>): void;
|
|
1820
1699
|
/**
|
|
1821
|
-
* @
|
|
1822
|
-
* @param deltaY
|
|
1823
|
-
* @hidden
|
|
1700
|
+
* @internal
|
|
1824
1701
|
*/
|
|
1825
1702
|
_onWheelScroll(deltaX?: number, deltaY?: number): void;
|
|
1826
|
-
/** @
|
|
1703
|
+
/** @internal */
|
|
1827
1704
|
_onCanvasBlur(): void;
|
|
1828
1705
|
/**
|
|
1829
|
-
* @
|
|
1830
|
-
* @param x
|
|
1831
|
-
* @param y
|
|
1832
|
-
* @param pi
|
|
1833
|
-
* @param pointerId
|
|
1834
|
-
* @param buttonIndex
|
|
1835
|
-
* @param deltaX
|
|
1836
|
-
* @param deltaY
|
|
1837
|
-
* @hidden
|
|
1706
|
+
* @internal
|
|
1838
1707
|
*/
|
|
1839
1708
|
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1840
1709
|
private _prepareFont;
|
|
@@ -1844,9 +1713,7 @@ export class Control {
|
|
|
1844
1713
|
*/
|
|
1845
1714
|
serialize(serializationObject: any): void;
|
|
1846
1715
|
/**
|
|
1847
|
-
* @
|
|
1848
|
-
* @param host
|
|
1849
|
-
* @hidden
|
|
1716
|
+
* @internal
|
|
1850
1717
|
*/
|
|
1851
1718
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
1852
1719
|
/** Releases associated resources */
|
|
@@ -1871,8 +1738,7 @@ export class Control {
|
|
|
1871
1738
|
static get VERTICAL_ALIGNMENT_CENTER(): number;
|
|
1872
1739
|
private static _FontHeightSizes;
|
|
1873
1740
|
/**
|
|
1874
|
-
* @
|
|
1875
|
-
* @hidden
|
|
1741
|
+
* @internal
|
|
1876
1742
|
*/
|
|
1877
1743
|
static _GetFontOffset(font: string): {
|
|
1878
1744
|
ascent: number;
|
|
@@ -1891,12 +1757,7 @@ export class Control {
|
|
|
1891
1757
|
controlFirst: boolean;
|
|
1892
1758
|
}) => any;
|
|
1893
1759
|
/**
|
|
1894
|
-
* @
|
|
1895
|
-
* @param y
|
|
1896
|
-
* @param width
|
|
1897
|
-
* @param height
|
|
1898
|
-
* @param context
|
|
1899
|
-
* @hidden
|
|
1760
|
+
* @internal
|
|
1900
1761
|
*/
|
|
1901
1762
|
protected static drawEllipse(x: number, y: number, width: number, height: number, context: ICanvasRenderingContext): void;
|
|
1902
1763
|
}
|
|
@@ -2008,9 +1869,9 @@ export class FocusableButton extends Button implements IFocusableControl {
|
|
|
2008
1869
|
/** Observable raised when a key event was processed */
|
|
2009
1870
|
onKeyboardEventProcessedObservable: Observable<IKeyboardEvent>;
|
|
2010
1871
|
constructor(name?: string | undefined);
|
|
2011
|
-
/** @
|
|
1872
|
+
/** @internal */
|
|
2012
1873
|
onBlur(): void;
|
|
2013
|
-
/** @
|
|
1874
|
+
/** @internal */
|
|
2014
1875
|
onFocus(): void;
|
|
2015
1876
|
/**
|
|
2016
1877
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
@@ -2031,15 +1892,10 @@ export class FocusableButton extends Button implements IFocusableControl {
|
|
|
2031
1892
|
*/
|
|
2032
1893
|
processKeyboard(evt: IKeyboardEvent): void;
|
|
2033
1894
|
/**
|
|
2034
|
-
* @
|
|
2035
|
-
* @param coordinates
|
|
2036
|
-
* @param pointerId
|
|
2037
|
-
* @param buttonIndex
|
|
2038
|
-
* @param pi
|
|
2039
|
-
* @hidden
|
|
1895
|
+
* @internal
|
|
2040
1896
|
*/
|
|
2041
1897
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
2042
|
-
/** @
|
|
1898
|
+
/** @internal */
|
|
2043
1899
|
displose(): void;
|
|
2044
1900
|
}
|
|
2045
1901
|
|
|
@@ -2215,9 +2071,7 @@ export class Grid extends Container {
|
|
|
2215
2071
|
*/
|
|
2216
2072
|
serialize(serializationObject: any): void;
|
|
2217
2073
|
/**
|
|
2218
|
-
* @
|
|
2219
|
-
* @param host
|
|
2220
|
-
* @hidden
|
|
2074
|
+
* @internal
|
|
2221
2075
|
*/
|
|
2222
2076
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
2223
2077
|
}
|
|
@@ -2348,9 +2202,7 @@ export class Image extends Control {
|
|
|
2348
2202
|
get stretch(): number;
|
|
2349
2203
|
set stretch(value: number);
|
|
2350
2204
|
/**
|
|
2351
|
-
* @
|
|
2352
|
-
* @param preserveProperties
|
|
2353
|
-
* @hidden
|
|
2205
|
+
* @internal
|
|
2354
2206
|
*/
|
|
2355
2207
|
_rotate90(n: number, preserveProperties?: boolean): Image;
|
|
2356
2208
|
private _handleRotationForSVGImage;
|
|
@@ -2533,7 +2385,7 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2533
2385
|
protected _isPointerDown: boolean;
|
|
2534
2386
|
protected _onClipboardObserver: Nullable<Observer<ClipboardInfo>>;
|
|
2535
2387
|
protected _onPointerDblTapObserver: Nullable<Observer<PointerInfo>>;
|
|
2536
|
-
/** @
|
|
2388
|
+
/** @internal */
|
|
2537
2389
|
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
2538
2390
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
2539
2391
|
promptMessage: string;
|
|
@@ -2622,9 +2474,9 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2622
2474
|
* @param text defines the text of the control
|
|
2623
2475
|
*/
|
|
2624
2476
|
constructor(name?: string | undefined, text?: string);
|
|
2625
|
-
/** @
|
|
2477
|
+
/** @internal */
|
|
2626
2478
|
onBlur(): void;
|
|
2627
|
-
/** @
|
|
2479
|
+
/** @internal */
|
|
2628
2480
|
onFocus(): void;
|
|
2629
2481
|
/**
|
|
2630
2482
|
* Function to focus an inputText programmatically
|
|
@@ -2641,23 +2493,18 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2641
2493
|
*/
|
|
2642
2494
|
keepsFocusWith(): Nullable<Control[]>;
|
|
2643
2495
|
/**
|
|
2644
|
-
* @
|
|
2645
|
-
* @param key
|
|
2646
|
-
* @param evt
|
|
2647
|
-
* @hidden
|
|
2496
|
+
* @internal
|
|
2648
2497
|
*/
|
|
2649
2498
|
processKey(keyCode: number, key?: string, evt?: IKeyboardEvent): void;
|
|
2650
2499
|
/**
|
|
2651
|
-
* @
|
|
2652
|
-
* @hidden
|
|
2500
|
+
* @internal
|
|
2653
2501
|
*/
|
|
2654
2502
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
2655
2503
|
/**
|
|
2656
|
-
* @
|
|
2657
|
-
* @hidden
|
|
2504
|
+
* @internal
|
|
2658
2505
|
*/
|
|
2659
2506
|
protected _processDblClick(evt: PointerInfo): void;
|
|
2660
|
-
/** @
|
|
2507
|
+
/** @internal */
|
|
2661
2508
|
protected _selectAllText(): void;
|
|
2662
2509
|
/**
|
|
2663
2510
|
* Handles the keyboard event
|
|
@@ -2665,18 +2512,15 @@ export class InputText extends Control implements IFocusableControl {
|
|
|
2665
2512
|
*/
|
|
2666
2513
|
processKeyboard(evt: IKeyboardEvent): void;
|
|
2667
2514
|
/**
|
|
2668
|
-
* @
|
|
2669
|
-
* @hidden
|
|
2515
|
+
* @internal
|
|
2670
2516
|
*/
|
|
2671
2517
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
2672
2518
|
/**
|
|
2673
|
-
* @
|
|
2674
|
-
* @hidden
|
|
2519
|
+
* @internal
|
|
2675
2520
|
*/
|
|
2676
2521
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
2677
2522
|
/**
|
|
2678
|
-
* @
|
|
2679
|
-
* @hidden
|
|
2523
|
+
* @internal
|
|
2680
2524
|
*/
|
|
2681
2525
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
2682
2526
|
_draw(context: ICanvasRenderingContext): void;
|
|
@@ -2719,7 +2563,7 @@ export class InputTextArea extends InputText {
|
|
|
2719
2563
|
* An event triggered after the text was broken up into lines
|
|
2720
2564
|
*/
|
|
2721
2565
|
onLinesReadyObservable: Observable<InputTextArea>;
|
|
2722
|
-
/** @
|
|
2566
|
+
/** @internal */
|
|
2723
2567
|
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
2724
2568
|
private _contextForBreakLines;
|
|
2725
2569
|
private _clickedCoordinateX;
|
|
@@ -2770,7 +2614,7 @@ export class InputTextArea extends InputText {
|
|
|
2770
2614
|
* @param code The ascii input number
|
|
2771
2615
|
* @param key The key string representation
|
|
2772
2616
|
* @param evt The keyboard event emits with input
|
|
2773
|
-
* @
|
|
2617
|
+
* @internal
|
|
2774
2618
|
*/
|
|
2775
2619
|
alternativeProcessKey(code: string, key?: string, evt?: IKeyboardEvent): void;
|
|
2776
2620
|
protected _parseLineWordWrap(line: string | undefined, width: number, context: ICanvasRenderingContext): {
|
|
@@ -2789,7 +2633,7 @@ export class InputTextArea extends InputText {
|
|
|
2789
2633
|
*
|
|
2790
2634
|
* @param parentMeasure The parent measure
|
|
2791
2635
|
* @param context The rendering canvas
|
|
2792
|
-
* @
|
|
2636
|
+
* @internal
|
|
2793
2637
|
*/
|
|
2794
2638
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2795
2639
|
/**
|
|
@@ -2797,7 +2641,7 @@ export class InputTextArea extends InputText {
|
|
|
2797
2641
|
*
|
|
2798
2642
|
* @param parentMeasure The parent measure
|
|
2799
2643
|
* @param context The rendering canvas
|
|
2800
|
-
* @
|
|
2644
|
+
* @internal
|
|
2801
2645
|
*/
|
|
2802
2646
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2803
2647
|
private _drawText;
|
|
@@ -2805,21 +2649,21 @@ export class InputTextArea extends InputText {
|
|
|
2805
2649
|
* Copy the text in the clipboard
|
|
2806
2650
|
*
|
|
2807
2651
|
* @param ev The clipboard event
|
|
2808
|
-
* @
|
|
2652
|
+
* @internal
|
|
2809
2653
|
*/
|
|
2810
2654
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
2811
2655
|
/**
|
|
2812
2656
|
* Cut the text and copy it in the clipboard
|
|
2813
2657
|
*
|
|
2814
2658
|
* @param ev The clipboard event
|
|
2815
|
-
* @
|
|
2659
|
+
* @internal
|
|
2816
2660
|
*/
|
|
2817
2661
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
2818
2662
|
/**
|
|
2819
2663
|
* Paste the copied text from the clipboard
|
|
2820
2664
|
*
|
|
2821
2665
|
* @param ev The clipboard event
|
|
2822
|
-
* @
|
|
2666
|
+
* @internal
|
|
2823
2667
|
*/
|
|
2824
2668
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
2825
2669
|
_draw(context: ICanvasRenderingContext): void;
|
|
@@ -2835,17 +2679,17 @@ export class InputTextArea extends InputText {
|
|
|
2835
2679
|
* Update all values of cursor information based on cursorIndex value
|
|
2836
2680
|
*
|
|
2837
2681
|
* @param offset The index to take care of
|
|
2838
|
-
* @
|
|
2682
|
+
* @internal
|
|
2839
2683
|
*/
|
|
2840
2684
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
2841
2685
|
/**
|
|
2842
2686
|
* Select the word immediatly under the cursor on double click
|
|
2843
2687
|
*
|
|
2844
2688
|
* @param _evt Pointer informations of double click
|
|
2845
|
-
* @
|
|
2689
|
+
* @internal
|
|
2846
2690
|
*/
|
|
2847
2691
|
protected _processDblClick(_evt: PointerInfo): void;
|
|
2848
|
-
/** @
|
|
2692
|
+
/** @internal */
|
|
2849
2693
|
protected _selectAllText(): void;
|
|
2850
2694
|
dipose(): void;
|
|
2851
2695
|
}
|
|
@@ -3071,9 +2915,9 @@ export class Rectangle extends Container {
|
|
|
3071
2915
|
*/
|
|
3072
2916
|
constructor(name?: string | undefined);
|
|
3073
2917
|
protected _getTypeName(): string;
|
|
3074
|
-
/** @
|
|
2918
|
+
/** @internal */
|
|
3075
2919
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
3076
|
-
/** @
|
|
2920
|
+
/** @internal */
|
|
3077
2921
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
3078
2922
|
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
3079
2923
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
@@ -3248,18 +3092,14 @@ export class ScrollViewer extends Rectangle {
|
|
|
3248
3092
|
get verticalBarImage(): Image;
|
|
3249
3093
|
set verticalBarImage(value: Image);
|
|
3250
3094
|
private _setWindowPosition;
|
|
3251
|
-
/** @
|
|
3095
|
+
/** @internal */
|
|
3252
3096
|
private _updateScroller;
|
|
3253
3097
|
_link(host: AdvancedDynamicTexture): void;
|
|
3254
3098
|
/**
|
|
3255
|
-
* @
|
|
3256
|
-
* @param barContainer
|
|
3257
|
-
* @param isVertical
|
|
3258
|
-
* @param rotation
|
|
3259
|
-
* @hidden
|
|
3099
|
+
* @internal
|
|
3260
3100
|
*/
|
|
3261
3101
|
private _addBar;
|
|
3262
|
-
/** @
|
|
3102
|
+
/** @internal */
|
|
3263
3103
|
private _attachWheel;
|
|
3264
3104
|
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
3265
3105
|
/** Releases associated resources */
|
|
@@ -3273,7 +3113,7 @@ import { Container } from "babylonjs-gui/2D/controls/container";
|
|
|
3273
3113
|
import { ICanvasRenderingContext } from "babylonjs/Engines/ICanvas";
|
|
3274
3114
|
/**
|
|
3275
3115
|
* Class used to hold a the container for ScrollViewer
|
|
3276
|
-
* @
|
|
3116
|
+
* @internal
|
|
3277
3117
|
*/
|
|
3278
3118
|
export class _ScrollViewerWindow extends Container {
|
|
3279
3119
|
parentClientWidth: number;
|
|
@@ -3304,23 +3144,17 @@ export class _ScrollViewerWindow extends Container {
|
|
|
3304
3144
|
constructor(name?: string);
|
|
3305
3145
|
protected _getTypeName(): string;
|
|
3306
3146
|
/**
|
|
3307
|
-
* @
|
|
3308
|
-
* @param context
|
|
3309
|
-
* @hidden
|
|
3147
|
+
* @internal
|
|
3310
3148
|
*/
|
|
3311
3149
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3312
3150
|
/**
|
|
3313
|
-
* @
|
|
3314
|
-
* @param context
|
|
3315
|
-
* @hidden
|
|
3151
|
+
* @internal
|
|
3316
3152
|
*/
|
|
3317
3153
|
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
3318
3154
|
private _scrollChildren;
|
|
3319
3155
|
private _scrollChildrenWithBuckets;
|
|
3320
3156
|
/**
|
|
3321
|
-
* @
|
|
3322
|
-
* @param invalidatedRectangle
|
|
3323
|
-
* @hidden
|
|
3157
|
+
* @internal
|
|
3324
3158
|
*/
|
|
3325
3159
|
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
3326
3160
|
protected _postMeasure(): void;
|
|
@@ -3354,13 +3188,11 @@ export class SelectorGroup {
|
|
|
3354
3188
|
get header(): string;
|
|
3355
3189
|
set header(label: string);
|
|
3356
3190
|
/**
|
|
3357
|
-
* @
|
|
3358
|
-
* @hidden
|
|
3191
|
+
* @internal
|
|
3359
3192
|
*/
|
|
3360
3193
|
private _addGroupHeader;
|
|
3361
3194
|
/**
|
|
3362
|
-
* @
|
|
3363
|
-
* @hidden
|
|
3195
|
+
* @internal
|
|
3364
3196
|
*/
|
|
3365
3197
|
_getSelector(selectorNb: number): StackPanel | undefined;
|
|
3366
3198
|
/** Removes the selector at the given position
|
|
@@ -3379,27 +3211,19 @@ export class CheckboxGroup extends SelectorGroup {
|
|
|
3379
3211
|
*/
|
|
3380
3212
|
addCheckbox(text: string, func?: (s: boolean) => void, checked?: boolean): void;
|
|
3381
3213
|
/**
|
|
3382
|
-
* @
|
|
3383
|
-
* @param label
|
|
3384
|
-
* @hidden
|
|
3214
|
+
* @internal
|
|
3385
3215
|
*/
|
|
3386
3216
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3387
3217
|
/**
|
|
3388
|
-
* @
|
|
3389
|
-
* @param color
|
|
3390
|
-
* @hidden
|
|
3218
|
+
* @internal
|
|
3391
3219
|
*/
|
|
3392
3220
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3393
3221
|
/**
|
|
3394
|
-
* @
|
|
3395
|
-
* @param color
|
|
3396
|
-
* @hidden
|
|
3222
|
+
* @internal
|
|
3397
3223
|
*/
|
|
3398
3224
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3399
3225
|
/**
|
|
3400
|
-
* @
|
|
3401
|
-
* @param color
|
|
3402
|
-
* @hidden
|
|
3226
|
+
* @internal
|
|
3403
3227
|
*/
|
|
3404
3228
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3405
3229
|
}
|
|
@@ -3415,27 +3239,19 @@ export class RadioGroup extends SelectorGroup {
|
|
|
3415
3239
|
*/
|
|
3416
3240
|
addRadio(label: string, func?: (n: number) => void, checked?: boolean): void;
|
|
3417
3241
|
/**
|
|
3418
|
-
* @
|
|
3419
|
-
* @param label
|
|
3420
|
-
* @hidden
|
|
3242
|
+
* @internal
|
|
3421
3243
|
*/
|
|
3422
3244
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3423
3245
|
/**
|
|
3424
|
-
* @
|
|
3425
|
-
* @param color
|
|
3426
|
-
* @hidden
|
|
3246
|
+
* @internal
|
|
3427
3247
|
*/
|
|
3428
3248
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3429
3249
|
/**
|
|
3430
|
-
* @
|
|
3431
|
-
* @param color
|
|
3432
|
-
* @hidden
|
|
3250
|
+
* @internal
|
|
3433
3251
|
*/
|
|
3434
3252
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3435
3253
|
/**
|
|
3436
|
-
* @
|
|
3437
|
-
* @param color
|
|
3438
|
-
* @hidden
|
|
3254
|
+
* @internal
|
|
3439
3255
|
*/
|
|
3440
3256
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3441
3257
|
}
|
|
@@ -3455,27 +3271,19 @@ export class SliderGroup extends SelectorGroup {
|
|
|
3455
3271
|
*/
|
|
3456
3272
|
addSlider(label: string, func?: (v: number) => void, unit?: string, min?: number, max?: number, value?: number, onValueChange?: (v: number) => number): void;
|
|
3457
3273
|
/**
|
|
3458
|
-
* @
|
|
3459
|
-
* @param label
|
|
3460
|
-
* @hidden
|
|
3274
|
+
* @internal
|
|
3461
3275
|
*/
|
|
3462
3276
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
3463
3277
|
/**
|
|
3464
|
-
* @
|
|
3465
|
-
* @param color
|
|
3466
|
-
* @hidden
|
|
3278
|
+
* @internal
|
|
3467
3279
|
*/
|
|
3468
3280
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
3469
3281
|
/**
|
|
3470
|
-
* @
|
|
3471
|
-
* @param color
|
|
3472
|
-
* @hidden
|
|
3282
|
+
* @internal
|
|
3473
3283
|
*/
|
|
3474
3284
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
3475
3285
|
/**
|
|
3476
|
-
* @
|
|
3477
|
-
* @param color
|
|
3478
|
-
* @hidden
|
|
3286
|
+
* @internal
|
|
3479
3287
|
*/
|
|
3480
3288
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
3481
3289
|
}
|
|
@@ -3666,9 +3474,7 @@ export class BaseSlider extends Control {
|
|
|
3666
3474
|
protected _prepareRenderingData(type: string): void;
|
|
3667
3475
|
private _pointerIsDown;
|
|
3668
3476
|
/**
|
|
3669
|
-
* @
|
|
3670
|
-
* @param y
|
|
3671
|
-
* @hidden
|
|
3477
|
+
* @internal
|
|
3672
3478
|
*/
|
|
3673
3479
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3674
3480
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3722,9 +3528,7 @@ export class ImageBasedSlider extends BaseSlider {
|
|
|
3722
3528
|
*/
|
|
3723
3529
|
serialize(serializationObject: any): void;
|
|
3724
3530
|
/**
|
|
3725
|
-
* @
|
|
3726
|
-
* @param host
|
|
3727
|
-
* @hidden
|
|
3531
|
+
* @internal
|
|
3728
3532
|
*/
|
|
3729
3533
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
3730
3534
|
}
|
|
@@ -3793,9 +3597,7 @@ export class ImageScrollBar extends BaseSlider {
|
|
|
3793
3597
|
private _originX;
|
|
3794
3598
|
private _originY;
|
|
3795
3599
|
/**
|
|
3796
|
-
* @
|
|
3797
|
-
* @param y
|
|
3798
|
-
* @hidden
|
|
3600
|
+
* @internal
|
|
3799
3601
|
*/
|
|
3800
3602
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3801
3603
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3838,9 +3640,7 @@ export class ScrollBar extends BaseSlider {
|
|
|
3838
3640
|
private _originX;
|
|
3839
3641
|
private _originY;
|
|
3840
3642
|
/**
|
|
3841
|
-
* @
|
|
3842
|
-
* @param y
|
|
3843
|
-
* @hidden
|
|
3643
|
+
* @internal
|
|
3844
3644
|
*/
|
|
3845
3645
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3846
3646
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
@@ -3931,9 +3731,7 @@ export class StackPanel extends Container {
|
|
|
3931
3731
|
constructor(name?: string | undefined);
|
|
3932
3732
|
protected _getTypeName(): string;
|
|
3933
3733
|
/**
|
|
3934
|
-
* @
|
|
3935
|
-
* @param context
|
|
3936
|
-
* @hidden
|
|
3734
|
+
* @internal
|
|
3937
3735
|
*/
|
|
3938
3736
|
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3939
3737
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
@@ -3944,9 +3742,7 @@ export class StackPanel extends Container {
|
|
|
3944
3742
|
*/
|
|
3945
3743
|
serialize(serializationObject: any): void;
|
|
3946
3744
|
/**
|
|
3947
|
-
* @
|
|
3948
|
-
* @param host
|
|
3949
|
-
* @hidden
|
|
3745
|
+
* @internal
|
|
3950
3746
|
*/
|
|
3951
3747
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
3952
3748
|
}
|
|
@@ -3955,7 +3751,7 @@ export class StackPanel extends Container {
|
|
|
3955
3751
|
declare module "babylonjs-gui/2D/controls/statics" {
|
|
3956
3752
|
/**
|
|
3957
3753
|
* Forcing an export so that this code will execute
|
|
3958
|
-
* @
|
|
3754
|
+
* @internal
|
|
3959
3755
|
*/
|
|
3960
3756
|
const name = "Statics";
|
|
3961
3757
|
export { name };
|
|
@@ -4126,8 +3922,7 @@ export class TextBlock extends Control {
|
|
|
4126
3922
|
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
4127
3923
|
private _drawText;
|
|
4128
3924
|
/**
|
|
4129
|
-
* @
|
|
4130
|
-
* @hidden
|
|
3925
|
+
* @internal
|
|
4131
3926
|
*/
|
|
4132
3927
|
_draw(context: ICanvasRenderingContext): void;
|
|
4133
3928
|
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
@@ -4150,7 +3945,7 @@ export class TextBlock extends Control {
|
|
|
4150
3945
|
|
|
4151
3946
|
}
|
|
4152
3947
|
declare module "babylonjs-gui/2D/controls/textWrapper" {
|
|
4153
|
-
/** @
|
|
3948
|
+
/** @internal */
|
|
4154
3949
|
export class TextWrapper {
|
|
4155
3950
|
private _text;
|
|
4156
3951
|
private _characters;
|
|
@@ -4239,47 +4034,23 @@ export class ToggleButton extends Rectangle {
|
|
|
4239
4034
|
constructor(name?: string | undefined, group?: string);
|
|
4240
4035
|
protected _getTypeName(): string;
|
|
4241
4036
|
/**
|
|
4242
|
-
* @
|
|
4243
|
-
* @param y
|
|
4244
|
-
* @param pi
|
|
4245
|
-
* @param type
|
|
4246
|
-
* @param pointerId
|
|
4247
|
-
* @param buttonIndex
|
|
4248
|
-
* @param deltaX
|
|
4249
|
-
* @param deltaY
|
|
4250
|
-
* @hidden
|
|
4037
|
+
* @internal
|
|
4251
4038
|
*/
|
|
4252
4039
|
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
4253
4040
|
/**
|
|
4254
|
-
* @
|
|
4255
|
-
* @param pi
|
|
4256
|
-
* @hidden
|
|
4041
|
+
* @internal
|
|
4257
4042
|
*/
|
|
4258
4043
|
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
4259
4044
|
/**
|
|
4260
|
-
* @
|
|
4261
|
-
* @param pi
|
|
4262
|
-
* @param force
|
|
4263
|
-
* @hidden
|
|
4045
|
+
* @internal
|
|
4264
4046
|
*/
|
|
4265
4047
|
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
4266
4048
|
/**
|
|
4267
|
-
* @
|
|
4268
|
-
* @param coordinates
|
|
4269
|
-
* @param pointerId
|
|
4270
|
-
* @param buttonIndex
|
|
4271
|
-
* @param pi
|
|
4272
|
-
* @hidden
|
|
4049
|
+
* @internal
|
|
4273
4050
|
*/
|
|
4274
4051
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
4275
4052
|
/**
|
|
4276
|
-
* @
|
|
4277
|
-
* @param coordinates
|
|
4278
|
-
* @param pointerId
|
|
4279
|
-
* @param buttonIndex
|
|
4280
|
-
* @param notifyClick
|
|
4281
|
-
* @param pi
|
|
4282
|
-
* @hidden
|
|
4053
|
+
* @internal
|
|
4283
4054
|
*/
|
|
4284
4055
|
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
4285
4056
|
}
|
|
@@ -4384,9 +4155,7 @@ export class VirtualKeyboard extends StackPanel {
|
|
|
4384
4155
|
*/
|
|
4385
4156
|
static CreateDefaultLayout(name?: string): VirtualKeyboard;
|
|
4386
4157
|
/**
|
|
4387
|
-
* @
|
|
4388
|
-
* @param host
|
|
4389
|
-
* @hidden
|
|
4158
|
+
* @internal
|
|
4390
4159
|
*/
|
|
4391
4160
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
4392
4161
|
}
|
|
@@ -4622,7 +4391,7 @@ export class MultiLinePoint {
|
|
|
4622
4391
|
private _mesh;
|
|
4623
4392
|
private _controlObserver;
|
|
4624
4393
|
private _meshObserver;
|
|
4625
|
-
/** @
|
|
4394
|
+
/** @internal */
|
|
4626
4395
|
_point: Vector3;
|
|
4627
4396
|
/**
|
|
4628
4397
|
* Creates a new MultiLinePoint
|
|
@@ -4667,9 +4436,9 @@ export class Style implements IDisposable {
|
|
|
4667
4436
|
private _fontFamily;
|
|
4668
4437
|
private _fontStyle;
|
|
4669
4438
|
private _fontWeight;
|
|
4670
|
-
/** @
|
|
4439
|
+
/** @internal */
|
|
4671
4440
|
_host: AdvancedDynamicTexture;
|
|
4672
|
-
/** @
|
|
4441
|
+
/** @internal */
|
|
4673
4442
|
_fontSize: ValueAndUnit;
|
|
4674
4443
|
/**
|
|
4675
4444
|
* Observable raised when the style values are changed
|
|
@@ -4963,7 +4732,7 @@ import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture"
|
|
|
4963
4732
|
* Class used to create a button in 3D
|
|
4964
4733
|
*/
|
|
4965
4734
|
export class Button3D extends AbstractButton3D {
|
|
4966
|
-
/** @
|
|
4735
|
+
/** @internal */
|
|
4967
4736
|
protected _currentMaterial: Material;
|
|
4968
4737
|
/**
|
|
4969
4738
|
* Creates a new button
|
|
@@ -5115,9 +4884,9 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5115
4884
|
private _enterCount;
|
|
5116
4885
|
private _downPointerIds;
|
|
5117
4886
|
protected _isVisible: boolean;
|
|
5118
|
-
/** @
|
|
4887
|
+
/** @internal */
|
|
5119
4888
|
_host: GUI3DManager;
|
|
5120
|
-
/** @
|
|
4889
|
+
/** @internal */
|
|
5121
4890
|
_isScaledByManager: boolean;
|
|
5122
4891
|
/** Gets or sets the control position in world space */
|
|
5123
4892
|
get position(): Vector3;
|
|
@@ -5223,8 +4992,7 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5223
4992
|
*/
|
|
5224
4993
|
linkToTransformNode(node: Nullable<TransformNode>): Control3D;
|
|
5225
4994
|
/**
|
|
5226
|
-
* @
|
|
5227
|
-
* @hidden*
|
|
4995
|
+
* @internal*
|
|
5228
4996
|
*/
|
|
5229
4997
|
_prepareNode(scene: Scene): void;
|
|
5230
4998
|
protected _injectGUI3DReservedDataStore(node: TransformNode): any;
|
|
@@ -5242,53 +5010,34 @@ export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
|
5242
5010
|
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5243
5011
|
private _isTouchButton3D;
|
|
5244
5012
|
/**
|
|
5245
|
-
* @
|
|
5246
|
-
* @param coordinates
|
|
5247
|
-
* @hidden
|
|
5013
|
+
* @internal
|
|
5248
5014
|
*/
|
|
5249
5015
|
_onPointerMove(target: Control3D, coordinates: Vector3): void;
|
|
5250
5016
|
/**
|
|
5251
|
-
* @
|
|
5252
|
-
* @hidden
|
|
5017
|
+
* @internal
|
|
5253
5018
|
*/
|
|
5254
5019
|
_onPointerEnter(target: Control3D): boolean;
|
|
5255
5020
|
/**
|
|
5256
|
-
* @
|
|
5257
|
-
* @hidden
|
|
5021
|
+
* @internal
|
|
5258
5022
|
*/
|
|
5259
5023
|
_onPointerOut(target: Control3D): void;
|
|
5260
5024
|
/**
|
|
5261
|
-
* @
|
|
5262
|
-
* @param coordinates
|
|
5263
|
-
* @param pointerId
|
|
5264
|
-
* @param buttonIndex
|
|
5265
|
-
* @hidden
|
|
5025
|
+
* @internal
|
|
5266
5026
|
*/
|
|
5267
5027
|
_onPointerDown(target: Control3D, coordinates: Vector3, pointerId: number, buttonIndex: number): boolean;
|
|
5268
5028
|
/**
|
|
5269
|
-
* @
|
|
5270
|
-
* @param coordinates
|
|
5271
|
-
* @param pointerId
|
|
5272
|
-
* @param buttonIndex
|
|
5273
|
-
* @param notifyClick
|
|
5274
|
-
* @hidden
|
|
5029
|
+
* @internal
|
|
5275
5030
|
*/
|
|
5276
5031
|
_onPointerUp(target: Control3D, coordinates: Vector3, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
5277
5032
|
/**
|
|
5278
|
-
* @
|
|
5279
|
-
* @hidden
|
|
5033
|
+
* @internal
|
|
5280
5034
|
*/
|
|
5281
5035
|
forcePointerUp(pointerId?: Nullable<number>): void;
|
|
5282
5036
|
/**
|
|
5283
|
-
* @
|
|
5284
|
-
* @param pickedPoint
|
|
5285
|
-
* @param originMeshPosition
|
|
5286
|
-
* @param pointerId
|
|
5287
|
-
* @param buttonIndex
|
|
5288
|
-
* @hidden
|
|
5037
|
+
* @internal
|
|
5289
5038
|
*/
|
|
5290
5039
|
_processObservables(type: number, pickedPoint: Vector3, originMeshPosition: Nullable<Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
5291
|
-
/** @
|
|
5040
|
+
/** @internal */
|
|
5292
5041
|
_disposeNode(): void;
|
|
5293
5042
|
/**
|
|
5294
5043
|
* Releases all associated resources
|
|
@@ -5540,13 +5289,13 @@ export class HolographicSlate extends ContentDisplay3D {
|
|
|
5540
5289
|
* Regroups all mesh behaviors for the slate
|
|
5541
5290
|
*/
|
|
5542
5291
|
get defaultBehavior(): DefaultBehavior;
|
|
5543
|
-
/** @
|
|
5292
|
+
/** @internal */
|
|
5544
5293
|
_gizmo: SlateGizmo;
|
|
5545
5294
|
protected _titleBar: Mesh;
|
|
5546
5295
|
protected _titleBarTitle: Mesh;
|
|
5547
5296
|
protected _contentPlate: Mesh;
|
|
5548
5297
|
protected _backPlate: Mesh;
|
|
5549
|
-
/** @
|
|
5298
|
+
/** @internal */
|
|
5550
5299
|
_followButton: TouchHolographicButton;
|
|
5551
5300
|
protected _closeButton: TouchHolographicButton;
|
|
5552
5301
|
protected _contentScaleRatio: number;
|
|
@@ -5592,21 +5341,20 @@ export class HolographicSlate extends ContentDisplay3D {
|
|
|
5592
5341
|
private _addControl;
|
|
5593
5342
|
protected _getTypeName(): string;
|
|
5594
5343
|
/**
|
|
5595
|
-
* @
|
|
5344
|
+
* @internal
|
|
5596
5345
|
*/
|
|
5597
5346
|
_positionElements(): void;
|
|
5598
5347
|
private _applyContentViewport;
|
|
5599
5348
|
private _resetContentPositionAndZoom;
|
|
5600
5349
|
/**
|
|
5601
|
-
* @
|
|
5350
|
+
* @internal
|
|
5602
5351
|
*/
|
|
5603
5352
|
_updatePivot(): void;
|
|
5604
5353
|
protected _createNode(scene: Scene): TransformNode;
|
|
5605
5354
|
private _attachContentPlateBehavior;
|
|
5606
5355
|
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5607
5356
|
/**
|
|
5608
|
-
* @
|
|
5609
|
-
* @hidden*
|
|
5357
|
+
* @internal*
|
|
5610
5358
|
*/
|
|
5611
5359
|
_prepareNode(scene: Scene): void;
|
|
5612
5360
|
/**
|
|
@@ -5655,7 +5403,7 @@ import { Button3D } from "babylonjs-gui/3D/controls/button3D";
|
|
|
5655
5403
|
* Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
|
|
5656
5404
|
*/
|
|
5657
5405
|
export class MeshButton3D extends Button3D {
|
|
5658
|
-
/** @
|
|
5406
|
+
/** @internal */
|
|
5659
5407
|
protected _currentMesh: Mesh;
|
|
5660
5408
|
/**
|
|
5661
5409
|
* Creates a new 3D button based on a mesh
|
|
@@ -5948,10 +5696,7 @@ export class TouchButton3D extends Button3D {
|
|
|
5948
5696
|
getPressDepth(touchPoint: Vector3): number;
|
|
5949
5697
|
protected _getInteractionHeight(interactionPos: Vector3, basePos: Vector3): number;
|
|
5950
5698
|
/**
|
|
5951
|
-
* @
|
|
5952
|
-
* @param nearMeshPosition
|
|
5953
|
-
* @param activeInteractionCount
|
|
5954
|
-
* @hidden
|
|
5699
|
+
* @internal
|
|
5955
5700
|
*/
|
|
5956
5701
|
_generatePointerEventType(providedType: number, nearMeshPosition: Vector3, activeInteractionCount: number): number;
|
|
5957
5702
|
protected _getTypeName(): string;
|
|
@@ -6150,7 +5895,7 @@ import { TouchButton3D } from "babylonjs-gui/3D/controls/touchButton3D";
|
|
|
6150
5895
|
* @since 5.0.0
|
|
6151
5896
|
*/
|
|
6152
5897
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
6153
|
-
/** @
|
|
5898
|
+
/** @internal */
|
|
6154
5899
|
protected _currentMesh: Mesh;
|
|
6155
5900
|
/**
|
|
6156
5901
|
* Creates a new 3D button based on a mesh
|
|
@@ -6255,7 +6000,7 @@ export abstract class GizmoHandle {
|
|
|
6255
6000
|
private _draggingObserver;
|
|
6256
6001
|
private _dragEndObserver;
|
|
6257
6002
|
/**
|
|
6258
|
-
* @
|
|
6003
|
+
* @internal
|
|
6259
6004
|
*/
|
|
6260
6005
|
_dragBehavior: BaseSixDofDragBehavior;
|
|
6261
6006
|
/**
|
|
@@ -6418,13 +6163,13 @@ export class GUI3DManager implements IDisposable {
|
|
|
6418
6163
|
private _pointerObserver;
|
|
6419
6164
|
private _pointerOutObserver;
|
|
6420
6165
|
private _customControlScaling;
|
|
6421
|
-
/** @
|
|
6166
|
+
/** @internal */
|
|
6422
6167
|
_lastPickedControl: Control3D;
|
|
6423
|
-
/** @
|
|
6168
|
+
/** @internal */
|
|
6424
6169
|
_lastControlOver: {
|
|
6425
6170
|
[pointerId: number]: Control3D;
|
|
6426
6171
|
};
|
|
6427
|
-
/** @
|
|
6172
|
+
/** @internal */
|
|
6428
6173
|
_lastControlDown: {
|
|
6429
6174
|
[pointerId: number]: Control3D;
|
|
6430
6175
|
};
|
|
@@ -6437,11 +6182,11 @@ export class GUI3DManager implements IDisposable {
|
|
|
6437
6182
|
* Observable raised when a picking happens
|
|
6438
6183
|
*/
|
|
6439
6184
|
onPickingObservable: Observable<Nullable<AbstractMesh>>;
|
|
6440
|
-
/** @
|
|
6185
|
+
/** @internal */
|
|
6441
6186
|
_sharedMaterials: {
|
|
6442
6187
|
[key: string]: Material;
|
|
6443
6188
|
};
|
|
6444
|
-
/** @
|
|
6189
|
+
/** @internal */
|
|
6445
6190
|
_touchSharedMaterials: {
|
|
6446
6191
|
[key: string]: Material;
|
|
6447
6192
|
};
|
|
@@ -6515,7 +6260,7 @@ import { Scene } from "babylonjs/scene";
|
|
|
6515
6260
|
import { Color3, Color4 } from "babylonjs/Maths/math.color";
|
|
6516
6261
|
import "babylonjs-gui/3D/materials/fluent/shaders/fluent.vertex";
|
|
6517
6262
|
import "babylonjs-gui/3D/materials/fluent/shaders/fluent.fragment";
|
|
6518
|
-
/** @
|
|
6263
|
+
/** @internal */
|
|
6519
6264
|
export class FluentMaterialDefines extends MaterialDefines {
|
|
6520
6265
|
INNERGLOW: boolean;
|
|
6521
6266
|
BORDER: boolean;
|
|
@@ -6600,7 +6345,7 @@ export * from "babylonjs-gui/3D/materials/fluent/fluentMaterial";
|
|
|
6600
6345
|
|
|
6601
6346
|
}
|
|
6602
6347
|
declare module "babylonjs-gui/3D/materials/fluent/shaders/fluent.fragment" {
|
|
6603
|
-
/** @
|
|
6348
|
+
/** @internal */
|
|
6604
6349
|
export const fluentPixelShader: {
|
|
6605
6350
|
name: string;
|
|
6606
6351
|
shader: string;
|
|
@@ -6608,7 +6353,7 @@ export const fluentPixelShader: {
|
|
|
6608
6353
|
|
|
6609
6354
|
}
|
|
6610
6355
|
declare module "babylonjs-gui/3D/materials/fluent/shaders/fluent.vertex" {
|
|
6611
|
-
/** @
|
|
6356
|
+
/** @internal */
|
|
6612
6357
|
export const fluentVertexShader: {
|
|
6613
6358
|
name: string;
|
|
6614
6359
|
shader: string;
|
|
@@ -6656,7 +6401,7 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6656
6401
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
6657
6402
|
*/
|
|
6658
6403
|
absoluteSizes: boolean;
|
|
6659
|
-
/** @
|
|
6404
|
+
/** @internal */
|
|
6660
6405
|
_filterWidth: number;
|
|
6661
6406
|
/**
|
|
6662
6407
|
* Gets or sets the base color of the backplate.
|
|
@@ -6710,7 +6455,7 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6710
6455
|
* Gets or sets the opacity of the fluent hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 0.
|
|
6711
6456
|
*/
|
|
6712
6457
|
blobFade2: number;
|
|
6713
|
-
/** @
|
|
6458
|
+
/** @internal */
|
|
6714
6459
|
_rate: number;
|
|
6715
6460
|
/**
|
|
6716
6461
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -6720,9 +6465,9 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6720
6465
|
* Gets or sets the width of the highlights on the backplate line.
|
|
6721
6466
|
*/
|
|
6722
6467
|
highlightWidth: number;
|
|
6723
|
-
/** @
|
|
6468
|
+
/** @internal */
|
|
6724
6469
|
_highlightTransform: Vector4;
|
|
6725
|
-
/** @
|
|
6470
|
+
/** @internal */
|
|
6726
6471
|
_highlight: number;
|
|
6727
6472
|
/**
|
|
6728
6473
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -6732,17 +6477,17 @@ export class FluentBackplateMaterial extends PushMaterial {
|
|
|
6732
6477
|
* Gets or sets the intensity of the iridescence effect on the backplate edges.
|
|
6733
6478
|
*/
|
|
6734
6479
|
iridescenceEdgeIntensity: number;
|
|
6735
|
-
/** @
|
|
6480
|
+
/** @internal */
|
|
6736
6481
|
_angle: number;
|
|
6737
6482
|
/**
|
|
6738
6483
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
6739
6484
|
*/
|
|
6740
6485
|
fadeOut: number;
|
|
6741
|
-
/** @
|
|
6486
|
+
/** @internal */
|
|
6742
6487
|
_reflected: boolean;
|
|
6743
|
-
/** @
|
|
6488
|
+
/** @internal */
|
|
6744
6489
|
_frequency: number;
|
|
6745
|
-
/** @
|
|
6490
|
+
/** @internal */
|
|
6746
6491
|
_verticalOffset: number;
|
|
6747
6492
|
/**
|
|
6748
6493
|
* Gets or sets the world-space position of the tip of the left index finger.
|
|
@@ -6778,7 +6523,7 @@ export * from "babylonjs-gui/3D/materials/fluentBackplate/fluentBackplateMateria
|
|
|
6778
6523
|
|
|
6779
6524
|
}
|
|
6780
6525
|
declare module "babylonjs-gui/3D/materials/fluentBackplate/shaders/fluentBackplate.fragment" {
|
|
6781
|
-
/** @
|
|
6526
|
+
/** @internal */
|
|
6782
6527
|
export const fluentBackplatePixelShader: {
|
|
6783
6528
|
name: string;
|
|
6784
6529
|
shader: string;
|
|
@@ -6786,7 +6531,7 @@ export const fluentBackplatePixelShader: {
|
|
|
6786
6531
|
|
|
6787
6532
|
}
|
|
6788
6533
|
declare module "babylonjs-gui/3D/materials/fluentBackplate/shaders/fluentBackplate.vertex" {
|
|
6789
|
-
/** @
|
|
6534
|
+
/** @internal */
|
|
6790
6535
|
export const fluentBackplateVertexShader: {
|
|
6791
6536
|
name: string;
|
|
6792
6537
|
shader: string;
|
|
@@ -6991,7 +6736,7 @@ export * from "babylonjs-gui/3D/materials/fluentButton/fluentButtonMaterial";
|
|
|
6991
6736
|
|
|
6992
6737
|
}
|
|
6993
6738
|
declare module "babylonjs-gui/3D/materials/fluentButton/shaders/fluentButton.fragment" {
|
|
6994
|
-
/** @
|
|
6739
|
+
/** @internal */
|
|
6995
6740
|
export const fluentButtonPixelShader: {
|
|
6996
6741
|
name: string;
|
|
6997
6742
|
shader: string;
|
|
@@ -6999,7 +6744,7 @@ export const fluentButtonPixelShader: {
|
|
|
6999
6744
|
|
|
7000
6745
|
}
|
|
7001
6746
|
declare module "babylonjs-gui/3D/materials/fluentButton/shaders/fluentButton.vertex" {
|
|
7002
|
-
/** @
|
|
6747
|
+
/** @internal */
|
|
7003
6748
|
export const fluentButtonVertexShader: {
|
|
7004
6749
|
name: string;
|
|
7005
6750
|
shader: string;
|
|
@@ -7067,7 +6812,7 @@ export class HandleMaterial extends ShaderMaterial {
|
|
|
7067
6812
|
*/
|
|
7068
6813
|
dragScale: number;
|
|
7069
6814
|
/**
|
|
7070
|
-
* @
|
|
6815
|
+
* @internal
|
|
7071
6816
|
*/
|
|
7072
6817
|
_positionOffset: Vector3;
|
|
7073
6818
|
/**
|
|
@@ -7089,7 +6834,7 @@ export * from "babylonjs-gui/3D/materials/handle/handleMaterial";
|
|
|
7089
6834
|
|
|
7090
6835
|
}
|
|
7091
6836
|
declare module "babylonjs-gui/3D/materials/handle/shaders/handle.fragment" {
|
|
7092
|
-
/** @
|
|
6837
|
+
/** @internal */
|
|
7093
6838
|
export const handlePixelShader: {
|
|
7094
6839
|
name: string;
|
|
7095
6840
|
shader: string;
|
|
@@ -7097,7 +6842,7 @@ export const handlePixelShader: {
|
|
|
7097
6842
|
|
|
7098
6843
|
}
|
|
7099
6844
|
declare module "babylonjs-gui/3D/materials/handle/shaders/handle.vertex" {
|
|
7100
|
-
/** @
|
|
6845
|
+
/** @internal */
|
|
7101
6846
|
export const handleVertexShader: {
|
|
7102
6847
|
name: string;
|
|
7103
6848
|
shader: string;
|
|
@@ -7154,7 +6899,7 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7154
6899
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
7155
6900
|
*/
|
|
7156
6901
|
absoluteSizes: boolean;
|
|
7157
|
-
/** @
|
|
6902
|
+
/** @internal */
|
|
7158
6903
|
_filterWidth: number;
|
|
7159
6904
|
/**
|
|
7160
6905
|
* Gets or sets the base color of the backplate.
|
|
@@ -7180,7 +6925,7 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7180
6925
|
* Gets or sets the top left Radii Multiplier.
|
|
7181
6926
|
*/
|
|
7182
6927
|
radiusBottomRight: number;
|
|
7183
|
-
/** @
|
|
6928
|
+
/** @internal */
|
|
7184
6929
|
_rate: number;
|
|
7185
6930
|
/**
|
|
7186
6931
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -7190,9 +6935,9 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7190
6935
|
* Gets or sets the width of the highlights on the backplate line.
|
|
7191
6936
|
*/
|
|
7192
6937
|
highlightWidth: number;
|
|
7193
|
-
/** @
|
|
6938
|
+
/** @internal */
|
|
7194
6939
|
_highlightTransform: Vector4;
|
|
7195
|
-
/** @
|
|
6940
|
+
/** @internal */
|
|
7196
6941
|
_highlight: number;
|
|
7197
6942
|
/**
|
|
7198
6943
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -7206,17 +6951,17 @@ export class MRDLBackplateMaterial extends PushMaterial {
|
|
|
7206
6951
|
* Gets or sets the Tint of the iridescence effect on the backplate.
|
|
7207
6952
|
*/
|
|
7208
6953
|
iridescenceTint: Color4;
|
|
7209
|
-
/** @
|
|
6954
|
+
/** @internal */
|
|
7210
6955
|
_angle: number;
|
|
7211
6956
|
/**
|
|
7212
6957
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
7213
6958
|
*/
|
|
7214
6959
|
fadeOut: number;
|
|
7215
|
-
/** @
|
|
6960
|
+
/** @internal */
|
|
7216
6961
|
_reflected: boolean;
|
|
7217
|
-
/** @
|
|
6962
|
+
/** @internal */
|
|
7218
6963
|
_frequency: number;
|
|
7219
|
-
/** @
|
|
6964
|
+
/** @internal */
|
|
7220
6965
|
_verticalOffset: number;
|
|
7221
6966
|
/**
|
|
7222
6967
|
* Gets or sets the gradient color effect on the backplate.
|
|
@@ -7548,43 +7293,43 @@ export class MRDLSliderBarMaterial extends PushMaterial {
|
|
|
7548
7293
|
*/
|
|
7549
7294
|
iridescenceIntensity: number;
|
|
7550
7295
|
/**
|
|
7551
|
-
* @
|
|
7296
|
+
* @internal
|
|
7552
7297
|
*/
|
|
7553
7298
|
useGlobalLeftIndex: number;
|
|
7554
7299
|
/**
|
|
7555
|
-
* @
|
|
7300
|
+
* @internal
|
|
7556
7301
|
*/
|
|
7557
7302
|
useGlobalRightIndex: number;
|
|
7558
7303
|
/**
|
|
7559
|
-
* @
|
|
7304
|
+
* @internal
|
|
7560
7305
|
*/
|
|
7561
7306
|
globalLeftIndexTipProximity: number;
|
|
7562
7307
|
/**
|
|
7563
|
-
* @
|
|
7308
|
+
* @internal
|
|
7564
7309
|
*/
|
|
7565
7310
|
globalRightIndexTipProximity: number;
|
|
7566
7311
|
/**
|
|
7567
|
-
* @
|
|
7312
|
+
* @internal
|
|
7568
7313
|
*/
|
|
7569
7314
|
globalLeftIndexTipPosition: Vector4;
|
|
7570
7315
|
/**
|
|
7571
|
-
* @
|
|
7316
|
+
* @internal
|
|
7572
7317
|
*/
|
|
7573
7318
|
globaRightIndexTipPosition: Vector4;
|
|
7574
7319
|
/**
|
|
7575
|
-
* @
|
|
7320
|
+
* @internal
|
|
7576
7321
|
*/
|
|
7577
7322
|
globalLeftThumbTipPosition: Vector4;
|
|
7578
7323
|
/**
|
|
7579
|
-
* @
|
|
7324
|
+
* @internal
|
|
7580
7325
|
*/
|
|
7581
7326
|
globalRightThumbTipPosition: Vector4;
|
|
7582
7327
|
/**
|
|
7583
|
-
* @
|
|
7328
|
+
* @internal
|
|
7584
7329
|
*/
|
|
7585
7330
|
globalLeftIndexMiddlePosition: Vector4;
|
|
7586
7331
|
/**
|
|
7587
|
-
* @
|
|
7332
|
+
* @internal
|
|
7588
7333
|
*/
|
|
7589
7334
|
globalRightIndexMiddlePosition: Vector4;
|
|
7590
7335
|
constructor(name: string, scene?: Scene);
|
|
@@ -7885,43 +7630,43 @@ export class MRDLSliderThumbMaterial extends PushMaterial {
|
|
|
7885
7630
|
*/
|
|
7886
7631
|
iridescenceIntensity: number;
|
|
7887
7632
|
/**
|
|
7888
|
-
* @
|
|
7633
|
+
* @internal
|
|
7889
7634
|
*/
|
|
7890
7635
|
useGlobalLeftIndex: number;
|
|
7891
7636
|
/**
|
|
7892
|
-
* @
|
|
7637
|
+
* @internal
|
|
7893
7638
|
*/
|
|
7894
7639
|
useGlobalRightIndex: number;
|
|
7895
7640
|
/**
|
|
7896
|
-
* @
|
|
7641
|
+
* @internal
|
|
7897
7642
|
*/
|
|
7898
7643
|
globalLeftIndexTipProximity: number;
|
|
7899
7644
|
/**
|
|
7900
|
-
* @
|
|
7645
|
+
* @internal
|
|
7901
7646
|
*/
|
|
7902
7647
|
globalRightIndexTipProximity: number;
|
|
7903
7648
|
/**
|
|
7904
|
-
* @
|
|
7649
|
+
* @internal
|
|
7905
7650
|
*/
|
|
7906
7651
|
globalLeftIndexTipPosition: Vector4;
|
|
7907
7652
|
/**
|
|
7908
|
-
* @
|
|
7653
|
+
* @internal
|
|
7909
7654
|
*/
|
|
7910
7655
|
globaRightIndexTipPosition: Vector4;
|
|
7911
7656
|
/**
|
|
7912
|
-
* @
|
|
7657
|
+
* @internal
|
|
7913
7658
|
*/
|
|
7914
7659
|
globalLeftThumbTipPosition: Vector4;
|
|
7915
7660
|
/**
|
|
7916
|
-
* @
|
|
7661
|
+
* @internal
|
|
7917
7662
|
*/
|
|
7918
7663
|
globalRightThumbTipPosition: Vector4;
|
|
7919
7664
|
/**
|
|
7920
|
-
* @
|
|
7665
|
+
* @internal
|
|
7921
7666
|
*/
|
|
7922
7667
|
globalLeftIndexMiddlePosition: Vector4;
|
|
7923
7668
|
/**
|
|
7924
|
-
* @
|
|
7669
|
+
* @internal
|
|
7925
7670
|
*/
|
|
7926
7671
|
globalRightIndexMiddlePosition: Vector4;
|
|
7927
7672
|
constructor(name: string, scene?: Scene);
|
|
@@ -7944,7 +7689,7 @@ export class MRDLSliderThumbMaterial extends PushMaterial {
|
|
|
7944
7689
|
|
|
7945
7690
|
}
|
|
7946
7691
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlBackplate.fragment" {
|
|
7947
|
-
/** @
|
|
7692
|
+
/** @internal */
|
|
7948
7693
|
export const mrdlBackplatePixelShader: {
|
|
7949
7694
|
name: string;
|
|
7950
7695
|
shader: string;
|
|
@@ -7952,7 +7697,7 @@ export const mrdlBackplatePixelShader: {
|
|
|
7952
7697
|
|
|
7953
7698
|
}
|
|
7954
7699
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlBackplate.vertex" {
|
|
7955
|
-
/** @
|
|
7700
|
+
/** @internal */
|
|
7956
7701
|
export const mrdlBackplateVertexShader: {
|
|
7957
7702
|
name: string;
|
|
7958
7703
|
shader: string;
|
|
@@ -7960,7 +7705,7 @@ export const mrdlBackplateVertexShader: {
|
|
|
7960
7705
|
|
|
7961
7706
|
}
|
|
7962
7707
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderBar.fragment" {
|
|
7963
|
-
/** @
|
|
7708
|
+
/** @internal */
|
|
7964
7709
|
export const mrdlSliderBarPixelShader: {
|
|
7965
7710
|
name: string;
|
|
7966
7711
|
shader: string;
|
|
@@ -7968,7 +7713,7 @@ export const mrdlSliderBarPixelShader: {
|
|
|
7968
7713
|
|
|
7969
7714
|
}
|
|
7970
7715
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderBar.vertex" {
|
|
7971
|
-
/** @
|
|
7716
|
+
/** @internal */
|
|
7972
7717
|
export const mrdlSliderBarVertexShader: {
|
|
7973
7718
|
name: string;
|
|
7974
7719
|
shader: string;
|
|
@@ -7976,7 +7721,7 @@ export const mrdlSliderBarVertexShader: {
|
|
|
7976
7721
|
|
|
7977
7722
|
}
|
|
7978
7723
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderThumb.fragment" {
|
|
7979
|
-
/** @
|
|
7724
|
+
/** @internal */
|
|
7980
7725
|
export const mrdlSliderThumbPixelShader: {
|
|
7981
7726
|
name: string;
|
|
7982
7727
|
shader: string;
|
|
@@ -7984,7 +7729,7 @@ export const mrdlSliderThumbPixelShader: {
|
|
|
7984
7729
|
|
|
7985
7730
|
}
|
|
7986
7731
|
declare module "babylonjs-gui/3D/materials/mrdl/shaders/mrdlSliderThumb.vertex" {
|
|
7987
|
-
/** @
|
|
7732
|
+
/** @internal */
|
|
7988
7733
|
export const mrdlSliderThumbVertexShader: {
|
|
7989
7734
|
name: string;
|
|
7990
7735
|
shader: string;
|
|
@@ -8098,27 +7843,27 @@ declare module BABYLON.GUI {
|
|
|
8098
7843
|
private _canvasPointerOutObserver;
|
|
8099
7844
|
private _canvasBlurObserver;
|
|
8100
7845
|
private _background;
|
|
8101
|
-
/** @
|
|
7846
|
+
/** @internal */
|
|
8102
7847
|
_rootContainer: Container;
|
|
8103
|
-
/** @
|
|
7848
|
+
/** @internal */
|
|
8104
7849
|
_lastPickedControl: Control;
|
|
8105
|
-
/** @
|
|
7850
|
+
/** @internal */
|
|
8106
7851
|
_lastControlOver: {
|
|
8107
7852
|
[pointerId: number]: Control;
|
|
8108
7853
|
};
|
|
8109
|
-
/** @
|
|
7854
|
+
/** @internal */
|
|
8110
7855
|
_lastControlDown: {
|
|
8111
7856
|
[pointerId: number]: Control;
|
|
8112
7857
|
};
|
|
8113
|
-
/** @
|
|
7858
|
+
/** @internal */
|
|
8114
7859
|
_capturingControl: {
|
|
8115
7860
|
[pointerId: number]: Control;
|
|
8116
7861
|
};
|
|
8117
|
-
/** @
|
|
7862
|
+
/** @internal */
|
|
8118
7863
|
_shouldBlockPointer: boolean;
|
|
8119
|
-
/** @
|
|
7864
|
+
/** @internal */
|
|
8120
7865
|
_layerToDispose: BABYLON.Nullable<BABYLON.Layer>;
|
|
8121
|
-
/** @
|
|
7866
|
+
/** @internal */
|
|
8122
7867
|
_linkedControls: Control[];
|
|
8123
7868
|
private _isFullscreen;
|
|
8124
7869
|
private _fullscreenViewport;
|
|
@@ -8132,13 +7877,13 @@ declare module BABYLON.GUI {
|
|
|
8132
7877
|
private _rootElement;
|
|
8133
7878
|
private _cursorChanged;
|
|
8134
7879
|
private _defaultMousePointerId;
|
|
8135
|
-
/** @
|
|
7880
|
+
/** @internal */
|
|
8136
7881
|
_capturedPointerIds: Set<number>;
|
|
8137
|
-
/** @
|
|
7882
|
+
/** @internal */
|
|
8138
7883
|
_numLayoutCalls: number;
|
|
8139
7884
|
/** Gets the number of layout calls made the last time the ADT has been rendered */
|
|
8140
7885
|
get numLayoutCalls(): number;
|
|
8141
|
-
/** @
|
|
7886
|
+
/** @internal */
|
|
8142
7887
|
_numRenderCalls: number;
|
|
8143
7888
|
/** Gets the number of render calls made the last time the ADT has been rendered */
|
|
8144
7889
|
get numRenderCalls(): number;
|
|
@@ -8347,7 +8092,7 @@ declare module BABYLON.GUI {
|
|
|
8347
8092
|
*/
|
|
8348
8093
|
dispose(): void;
|
|
8349
8094
|
private _onResize;
|
|
8350
|
-
/** @
|
|
8095
|
+
/** @internal */
|
|
8351
8096
|
_getGlobalViewport(): BABYLON.Viewport;
|
|
8352
8097
|
/**
|
|
8353
8098
|
* Get screen coordinates for a vector3
|
|
@@ -8367,46 +8112,37 @@ declare module BABYLON.GUI {
|
|
|
8367
8112
|
private _clearMeasure;
|
|
8368
8113
|
private _render;
|
|
8369
8114
|
/**
|
|
8370
|
-
* @
|
|
8371
|
-
* @hidden
|
|
8115
|
+
* @internal
|
|
8372
8116
|
*/
|
|
8373
8117
|
_changeCursor(cursor: string): void;
|
|
8374
8118
|
/**
|
|
8375
|
-
* @
|
|
8376
|
-
* @param pointerId
|
|
8377
|
-
* @hidden
|
|
8119
|
+
* @internal
|
|
8378
8120
|
*/
|
|
8379
8121
|
_registerLastControlDown(control: Control, pointerId: number): void;
|
|
8380
8122
|
private _doPicking;
|
|
8381
8123
|
/**
|
|
8382
|
-
* @
|
|
8383
|
-
* @param control
|
|
8384
|
-
* @hidden
|
|
8124
|
+
* @internal
|
|
8385
8125
|
*/
|
|
8386
8126
|
_cleanControlAfterRemovalFromList(list: {
|
|
8387
8127
|
[pointerId: number]: Control;
|
|
8388
8128
|
}, control: Control): void;
|
|
8389
8129
|
/**
|
|
8390
|
-
* @
|
|
8391
|
-
* @hidden
|
|
8130
|
+
* @internal
|
|
8392
8131
|
*/
|
|
8393
8132
|
_cleanControlAfterRemoval(control: Control): void;
|
|
8394
8133
|
private _translateToPicking;
|
|
8395
8134
|
/** Attach to all scene events required to support pointer events */
|
|
8396
8135
|
attach(): void;
|
|
8397
8136
|
/**
|
|
8398
|
-
* @
|
|
8399
|
-
* @hidden
|
|
8137
|
+
* @internal
|
|
8400
8138
|
*/
|
|
8401
8139
|
private _onClipboardCopy;
|
|
8402
8140
|
/**
|
|
8403
|
-
* @
|
|
8404
|
-
* @hidden
|
|
8141
|
+
* @internal
|
|
8405
8142
|
*/
|
|
8406
8143
|
private _onClipboardCut;
|
|
8407
8144
|
/**
|
|
8408
|
-
* @
|
|
8409
|
-
* @hidden
|
|
8145
|
+
* @internal
|
|
8410
8146
|
*/
|
|
8411
8147
|
private _onClipboardPaste;
|
|
8412
8148
|
/**
|
|
@@ -8593,47 +8329,23 @@ declare module BABYLON.GUI {
|
|
|
8593
8329
|
constructor(name?: string | undefined);
|
|
8594
8330
|
protected _getTypeName(): string;
|
|
8595
8331
|
/**
|
|
8596
|
-
* @
|
|
8597
|
-
* @param y
|
|
8598
|
-
* @param pi
|
|
8599
|
-
* @param type
|
|
8600
|
-
* @param pointerId
|
|
8601
|
-
* @param buttonIndex
|
|
8602
|
-
* @param deltaX
|
|
8603
|
-
* @param deltaY
|
|
8604
|
-
* @hidden
|
|
8332
|
+
* @internal
|
|
8605
8333
|
*/
|
|
8606
8334
|
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8607
8335
|
/**
|
|
8608
|
-
* @
|
|
8609
|
-
* @param pi
|
|
8610
|
-
* @hidden
|
|
8336
|
+
* @internal
|
|
8611
8337
|
*/
|
|
8612
8338
|
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
8613
8339
|
/**
|
|
8614
|
-
* @
|
|
8615
|
-
* @param pi
|
|
8616
|
-
* @param force
|
|
8617
|
-
* @hidden
|
|
8340
|
+
* @internal
|
|
8618
8341
|
*/
|
|
8619
8342
|
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
8620
8343
|
/**
|
|
8621
|
-
* @
|
|
8622
|
-
* @param coordinates
|
|
8623
|
-
* @param pointerId
|
|
8624
|
-
* @param buttonIndex
|
|
8625
|
-
* @param pi
|
|
8626
|
-
* @hidden
|
|
8344
|
+
* @internal
|
|
8627
8345
|
*/
|
|
8628
8346
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8629
8347
|
/**
|
|
8630
|
-
* @
|
|
8631
|
-
* @param coordinates
|
|
8632
|
-
* @param pointerId
|
|
8633
|
-
* @param buttonIndex
|
|
8634
|
-
* @param notifyClick
|
|
8635
|
-
* @param pi
|
|
8636
|
-
* @hidden
|
|
8348
|
+
* @internal
|
|
8637
8349
|
*/
|
|
8638
8350
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
8639
8351
|
/**
|
|
@@ -8642,9 +8354,7 @@ declare module BABYLON.GUI {
|
|
|
8642
8354
|
*/
|
|
8643
8355
|
serialize(serializationObject: any): void;
|
|
8644
8356
|
/**
|
|
8645
|
-
* @
|
|
8646
|
-
* @param host
|
|
8647
|
-
* @hidden
|
|
8357
|
+
* @internal
|
|
8648
8358
|
*/
|
|
8649
8359
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
8650
8360
|
/**
|
|
@@ -8712,17 +8422,11 @@ declare module BABYLON.GUI {
|
|
|
8712
8422
|
constructor(name?: string | undefined);
|
|
8713
8423
|
protected _getTypeName(): string;
|
|
8714
8424
|
/**
|
|
8715
|
-
* @
|
|
8716
|
-
* @hidden
|
|
8425
|
+
* @internal
|
|
8717
8426
|
*/
|
|
8718
8427
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8719
8428
|
/**
|
|
8720
|
-
* @
|
|
8721
|
-
* @param coordinates
|
|
8722
|
-
* @param pointerId
|
|
8723
|
-
* @param buttonIndex
|
|
8724
|
-
* @param pi
|
|
8725
|
-
* @hidden
|
|
8429
|
+
* @internal
|
|
8726
8430
|
*/
|
|
8727
8431
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8728
8432
|
/**
|
|
@@ -8781,8 +8485,7 @@ declare module BABYLON.GUI {
|
|
|
8781
8485
|
constructor(name?: string | undefined);
|
|
8782
8486
|
protected _getTypeName(): string;
|
|
8783
8487
|
/**
|
|
8784
|
-
* @
|
|
8785
|
-
* @hidden
|
|
8488
|
+
* @internal
|
|
8786
8489
|
*/
|
|
8787
8490
|
protected _preMeasure(parentMeasure: Measure): void;
|
|
8788
8491
|
private _updateSquareProps;
|
|
@@ -8790,8 +8493,7 @@ declare module BABYLON.GUI {
|
|
|
8790
8493
|
private _drawCircle;
|
|
8791
8494
|
private _createColorWheelCanvas;
|
|
8792
8495
|
/**
|
|
8793
|
-
* @
|
|
8794
|
-
* @hidden
|
|
8496
|
+
* @internal
|
|
8795
8497
|
*/
|
|
8796
8498
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8797
8499
|
private _pointerIsDown;
|
|
@@ -8838,19 +8540,19 @@ declare module BABYLON.GUI {
|
|
|
8838
8540
|
*/
|
|
8839
8541
|
export class Container extends Control {
|
|
8840
8542
|
name?: string | undefined;
|
|
8841
|
-
/** @
|
|
8543
|
+
/** @internal */
|
|
8842
8544
|
_children: Control[];
|
|
8843
|
-
/** @
|
|
8545
|
+
/** @internal */
|
|
8844
8546
|
protected _measureForChildren: Measure;
|
|
8845
|
-
/** @
|
|
8547
|
+
/** @internal */
|
|
8846
8548
|
protected _background: string;
|
|
8847
|
-
/** @
|
|
8549
|
+
/** @internal */
|
|
8848
8550
|
protected _adaptWidthToChildren: boolean;
|
|
8849
|
-
/** @
|
|
8551
|
+
/** @internal */
|
|
8850
8552
|
protected _adaptHeightToChildren: boolean;
|
|
8851
|
-
/** @
|
|
8553
|
+
/** @internal */
|
|
8852
8554
|
protected _renderToIntermediateTexture: boolean;
|
|
8853
|
-
/** @
|
|
8555
|
+
/** @internal */
|
|
8854
8556
|
protected _intermediateTexture: BABYLON.Nullable<BABYLON.DynamicTexture>;
|
|
8855
8557
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
8856
8558
|
get renderToIntermediateTexture(): boolean;
|
|
@@ -8920,70 +8622,49 @@ declare module BABYLON.GUI {
|
|
|
8920
8622
|
*/
|
|
8921
8623
|
removeControl(control: Control): Container;
|
|
8922
8624
|
/**
|
|
8923
|
-
* @
|
|
8924
|
-
* @hidden
|
|
8625
|
+
* @internal
|
|
8925
8626
|
*/
|
|
8926
8627
|
_reOrderControl(control: Control): void;
|
|
8927
8628
|
/**
|
|
8928
|
-
* @
|
|
8929
|
-
* @hidden
|
|
8629
|
+
* @internal
|
|
8930
8630
|
*/
|
|
8931
8631
|
_offsetLeft(offset: number): void;
|
|
8932
8632
|
/**
|
|
8933
|
-
* @
|
|
8934
|
-
* @hidden
|
|
8633
|
+
* @internal
|
|
8935
8634
|
*/
|
|
8936
8635
|
_offsetTop(offset: number): void;
|
|
8937
|
-
/** @
|
|
8636
|
+
/** @internal */
|
|
8938
8637
|
_markAllAsDirty(): void;
|
|
8939
8638
|
/**
|
|
8940
|
-
* @
|
|
8941
|
-
* @hidden
|
|
8639
|
+
* @internal
|
|
8942
8640
|
*/
|
|
8943
8641
|
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8944
8642
|
/**
|
|
8945
|
-
* @
|
|
8946
|
-
* @hidden
|
|
8643
|
+
* @internal
|
|
8947
8644
|
*/
|
|
8948
8645
|
_link(host: AdvancedDynamicTexture): void;
|
|
8949
|
-
/** @
|
|
8646
|
+
/** @internal */
|
|
8950
8647
|
protected _beforeLayout(): void;
|
|
8951
8648
|
/**
|
|
8952
|
-
* @
|
|
8953
|
-
* @param context
|
|
8954
|
-
* @hidden
|
|
8649
|
+
* @internal
|
|
8955
8650
|
*/
|
|
8956
8651
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8957
8652
|
/**
|
|
8958
|
-
* @
|
|
8959
|
-
* @param context
|
|
8960
|
-
* @hidden
|
|
8653
|
+
* @internal
|
|
8961
8654
|
*/
|
|
8962
8655
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
8963
8656
|
protected _postMeasure(): void;
|
|
8964
8657
|
/**
|
|
8965
|
-
* @
|
|
8966
|
-
* @param invalidatedRectangle
|
|
8967
|
-
* @hidden
|
|
8658
|
+
* @internal
|
|
8968
8659
|
*/
|
|
8969
8660
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
8970
8661
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
8971
8662
|
/**
|
|
8972
|
-
* @
|
|
8973
|
-
* @param y
|
|
8974
|
-
* @param pi
|
|
8975
|
-
* @param type
|
|
8976
|
-
* @param pointerId
|
|
8977
|
-
* @param buttonIndex
|
|
8978
|
-
* @param deltaX
|
|
8979
|
-
* @param deltaY
|
|
8980
|
-
* @hidden
|
|
8663
|
+
* @internal
|
|
8981
8664
|
*/
|
|
8982
8665
|
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8983
8666
|
/**
|
|
8984
|
-
* @
|
|
8985
|
-
* @param context
|
|
8986
|
-
* @hidden
|
|
8667
|
+
* @internal
|
|
8987
8668
|
*/
|
|
8988
8669
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8989
8670
|
/**
|
|
@@ -8994,9 +8675,7 @@ declare module BABYLON.GUI {
|
|
|
8994
8675
|
/** Releases associated resources */
|
|
8995
8676
|
dispose(): void;
|
|
8996
8677
|
/**
|
|
8997
|
-
* @
|
|
8998
|
-
* @param host
|
|
8999
|
-
* @hidden
|
|
8678
|
+
* @internal
|
|
9000
8679
|
*/
|
|
9001
8680
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
9002
8681
|
}
|
|
@@ -9016,24 +8695,24 @@ declare module BABYLON.GUI {
|
|
|
9016
8695
|
private _alpha;
|
|
9017
8696
|
private _alphaSet;
|
|
9018
8697
|
private _zIndex;
|
|
9019
|
-
/** @
|
|
8698
|
+
/** @internal */
|
|
9020
8699
|
_host: AdvancedDynamicTexture;
|
|
9021
8700
|
/** Gets or sets the control parent */
|
|
9022
8701
|
parent: BABYLON.Nullable<Container>;
|
|
9023
|
-
/** @
|
|
8702
|
+
/** @internal */
|
|
9024
8703
|
_currentMeasure: Measure;
|
|
9025
|
-
/** @
|
|
8704
|
+
/** @internal */
|
|
9026
8705
|
_tempPaddingMeasure: Measure;
|
|
9027
8706
|
private _fontFamily;
|
|
9028
8707
|
private _fontStyle;
|
|
9029
8708
|
private _fontWeight;
|
|
9030
8709
|
private _fontSize;
|
|
9031
8710
|
private _font;
|
|
9032
|
-
/** @
|
|
8711
|
+
/** @internal */
|
|
9033
8712
|
_width: ValueAndUnit;
|
|
9034
|
-
/** @
|
|
8713
|
+
/** @internal */
|
|
9035
8714
|
_height: ValueAndUnit;
|
|
9036
|
-
/** @
|
|
8715
|
+
/** @internal */
|
|
9037
8716
|
protected _fontOffset: {
|
|
9038
8717
|
ascent: number;
|
|
9039
8718
|
height: number;
|
|
@@ -9042,39 +8721,39 @@ declare module BABYLON.GUI {
|
|
|
9042
8721
|
private _color;
|
|
9043
8722
|
private _style;
|
|
9044
8723
|
private _styleObserver;
|
|
9045
|
-
/** @
|
|
8724
|
+
/** @internal */
|
|
9046
8725
|
protected _horizontalAlignment: number;
|
|
9047
|
-
/** @
|
|
8726
|
+
/** @internal */
|
|
9048
8727
|
protected _verticalAlignment: number;
|
|
9049
|
-
/** @
|
|
8728
|
+
/** @internal */
|
|
9050
8729
|
protected _isDirty: boolean;
|
|
9051
|
-
/** @
|
|
8730
|
+
/** @internal */
|
|
9052
8731
|
protected _wasDirty: boolean;
|
|
9053
|
-
/** @
|
|
8732
|
+
/** @internal */
|
|
9054
8733
|
_tempParentMeasure: Measure;
|
|
9055
|
-
/** @
|
|
8734
|
+
/** @internal */
|
|
9056
8735
|
_prevCurrentMeasureTransformedIntoGlobalSpace: Measure;
|
|
9057
|
-
/** @
|
|
8736
|
+
/** @internal */
|
|
9058
8737
|
protected _cachedParentMeasure: Measure;
|
|
9059
8738
|
private _descendantsOnlyPadding;
|
|
9060
8739
|
private _paddingLeft;
|
|
9061
8740
|
private _paddingRight;
|
|
9062
8741
|
private _paddingTop;
|
|
9063
8742
|
private _paddingBottom;
|
|
9064
|
-
/** @
|
|
8743
|
+
/** @internal */
|
|
9065
8744
|
_left: ValueAndUnit;
|
|
9066
|
-
/** @
|
|
8745
|
+
/** @internal */
|
|
9067
8746
|
_top: ValueAndUnit;
|
|
9068
8747
|
private _scaleX;
|
|
9069
8748
|
private _scaleY;
|
|
9070
8749
|
private _rotation;
|
|
9071
8750
|
private _transformCenterX;
|
|
9072
8751
|
private _transformCenterY;
|
|
9073
|
-
/** @
|
|
8752
|
+
/** @internal */
|
|
9074
8753
|
_transformMatrix: Matrix2D;
|
|
9075
|
-
/** @
|
|
8754
|
+
/** @internal */
|
|
9076
8755
|
protected _invertTransformMatrix: Matrix2D;
|
|
9077
|
-
/** @
|
|
8756
|
+
/** @internal */
|
|
9078
8757
|
protected _transformedPosition: BABYLON.Vector2;
|
|
9079
8758
|
private _isMatrixDirty;
|
|
9080
8759
|
private _cachedOffsetX;
|
|
@@ -9083,7 +8762,7 @@ declare module BABYLON.GUI {
|
|
|
9083
8762
|
private _isHighlighted;
|
|
9084
8763
|
private _highlightColor;
|
|
9085
8764
|
protected _highlightLineWidth: number;
|
|
9086
|
-
/** @
|
|
8765
|
+
/** @internal */
|
|
9087
8766
|
_linkedMesh: BABYLON.Nullable<BABYLON.TransformNode>;
|
|
9088
8767
|
private _fontSet;
|
|
9089
8768
|
private _dummyVector2;
|
|
@@ -9097,15 +8776,15 @@ declare module BABYLON.GUI {
|
|
|
9097
8776
|
protected _disabledColor: string;
|
|
9098
8777
|
protected _disabledColorItem: string;
|
|
9099
8778
|
protected _isReadOnly: boolean;
|
|
9100
|
-
/** @
|
|
8779
|
+
/** @internal */
|
|
9101
8780
|
protected _rebuildLayout: boolean;
|
|
9102
|
-
/** @
|
|
8781
|
+
/** @internal */
|
|
9103
8782
|
_customData: any;
|
|
9104
|
-
/** @
|
|
8783
|
+
/** @internal */
|
|
9105
8784
|
_isClipped: boolean;
|
|
9106
|
-
/** @
|
|
8785
|
+
/** @internal */
|
|
9107
8786
|
_automaticSize: boolean;
|
|
9108
|
-
/** @
|
|
8787
|
+
/** @internal */
|
|
9109
8788
|
_tag: any;
|
|
9110
8789
|
/**
|
|
9111
8790
|
* 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 +8850,9 @@ declare module BABYLON.GUI {
|
|
|
9171
8850
|
set shadowColor(value: string);
|
|
9172
8851
|
/** Gets or sets the cursor to use when the control is hovered */
|
|
9173
8852
|
hoverCursor: string;
|
|
9174
|
-
/** @
|
|
8853
|
+
/** @internal */
|
|
9175
8854
|
protected _linkOffsetX: ValueAndUnit;
|
|
9176
|
-
/** @
|
|
8855
|
+
/** @internal */
|
|
9177
8856
|
protected _linkOffsetY: ValueAndUnit;
|
|
9178
8857
|
/** Gets the control type name */
|
|
9179
8858
|
get typeName(): string;
|
|
@@ -9343,7 +9022,7 @@ declare module BABYLON.GUI {
|
|
|
9343
9022
|
*/
|
|
9344
9023
|
get style(): BABYLON.Nullable<Style>;
|
|
9345
9024
|
set style(value: BABYLON.Nullable<Style>);
|
|
9346
|
-
/** @
|
|
9025
|
+
/** @internal */
|
|
9347
9026
|
get _isFontSizeInPercentage(): boolean;
|
|
9348
9027
|
/** Gets or sets font size in pixels */
|
|
9349
9028
|
get fontSizeInPixels(): number;
|
|
@@ -9387,7 +9066,7 @@ declare module BABYLON.GUI {
|
|
|
9387
9066
|
*/
|
|
9388
9067
|
get paddingLeftInPixels(): number;
|
|
9389
9068
|
set paddingLeftInPixels(value: number);
|
|
9390
|
-
/** @
|
|
9069
|
+
/** @internal */
|
|
9391
9070
|
get _paddingLeftInPixels(): number;
|
|
9392
9071
|
/**
|
|
9393
9072
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
@@ -9401,7 +9080,7 @@ declare module BABYLON.GUI {
|
|
|
9401
9080
|
*/
|
|
9402
9081
|
get paddingRightInPixels(): number;
|
|
9403
9082
|
set paddingRightInPixels(value: number);
|
|
9404
|
-
/** @
|
|
9083
|
+
/** @internal */
|
|
9405
9084
|
get _paddingRightInPixels(): number;
|
|
9406
9085
|
/**
|
|
9407
9086
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
@@ -9415,7 +9094,7 @@ declare module BABYLON.GUI {
|
|
|
9415
9094
|
*/
|
|
9416
9095
|
get paddingTopInPixels(): number;
|
|
9417
9096
|
set paddingTopInPixels(value: number);
|
|
9418
|
-
/** @
|
|
9097
|
+
/** @internal */
|
|
9419
9098
|
get _paddingTopInPixels(): number;
|
|
9420
9099
|
/**
|
|
9421
9100
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
@@ -9429,7 +9108,7 @@ declare module BABYLON.GUI {
|
|
|
9429
9108
|
*/
|
|
9430
9109
|
get paddingBottomInPixels(): number;
|
|
9431
9110
|
set paddingBottomInPixels(value: number);
|
|
9432
|
-
/** @
|
|
9111
|
+
/** @internal */
|
|
9433
9112
|
get _paddingBottomInPixels(): number;
|
|
9434
9113
|
/**
|
|
9435
9114
|
* Gets or sets a value indicating the left coordinate of the control
|
|
@@ -9510,7 +9189,7 @@ declare module BABYLON.GUI {
|
|
|
9510
9189
|
constructor(
|
|
9511
9190
|
/** defines the name of the control */
|
|
9512
9191
|
name?: string | undefined);
|
|
9513
|
-
/** @
|
|
9192
|
+
/** @internal */
|
|
9514
9193
|
protected _getTypeName(): string;
|
|
9515
9194
|
/**
|
|
9516
9195
|
* Gets the first ascendant in the hierarchy of the given type
|
|
@@ -9527,7 +9206,7 @@ declare module BABYLON.GUI {
|
|
|
9527
9206
|
* Mark the element and its children as dirty
|
|
9528
9207
|
*/
|
|
9529
9208
|
markAllAsDirty(): void;
|
|
9530
|
-
/** @
|
|
9209
|
+
/** @internal */
|
|
9531
9210
|
_resetFontCache(): void;
|
|
9532
9211
|
/**
|
|
9533
9212
|
* Determines if a container is an ascendant of the current control
|
|
@@ -9599,119 +9278,93 @@ declare module BABYLON.GUI {
|
|
|
9599
9278
|
*/
|
|
9600
9279
|
setPaddingInPixels(paddingTop: number, paddingRight?: number, paddingBottom?: number, paddingLeft?: number): void;
|
|
9601
9280
|
/**
|
|
9602
|
-
* @
|
|
9603
|
-
* @hidden
|
|
9281
|
+
* @internal
|
|
9604
9282
|
*/
|
|
9605
9283
|
_moveToProjectedPosition(projectedPosition: BABYLON.Vector3): void;
|
|
9606
9284
|
/**
|
|
9607
|
-
* @
|
|
9608
|
-
* @hidden
|
|
9285
|
+
* @internal
|
|
9609
9286
|
*/
|
|
9610
9287
|
_offsetLeft(offset: number): void;
|
|
9611
9288
|
/**
|
|
9612
|
-
* @
|
|
9613
|
-
* @hidden
|
|
9289
|
+
* @internal
|
|
9614
9290
|
*/
|
|
9615
9291
|
_offsetTop(offset: number): void;
|
|
9616
|
-
/** @
|
|
9292
|
+
/** @internal */
|
|
9617
9293
|
_markMatrixAsDirty(): void;
|
|
9618
|
-
/** @
|
|
9294
|
+
/** @internal */
|
|
9619
9295
|
_flagDescendantsAsMatrixDirty(): void;
|
|
9620
9296
|
/**
|
|
9621
|
-
* @
|
|
9622
|
-
* @param context
|
|
9623
|
-
* @hidden
|
|
9297
|
+
* @internal
|
|
9624
9298
|
*/
|
|
9625
9299
|
_intersectsRect(rect: Measure, context?: BABYLON.ICanvasRenderingContext): boolean;
|
|
9626
|
-
/** @
|
|
9300
|
+
/** @internal */
|
|
9627
9301
|
protected _computeAdditionnalOffsetX(): number;
|
|
9628
|
-
/** @
|
|
9302
|
+
/** @internal */
|
|
9629
9303
|
protected _computeAdditionnalOffsetY(): number;
|
|
9630
|
-
/** @
|
|
9304
|
+
/** @internal */
|
|
9631
9305
|
protected invalidateRect(): void;
|
|
9632
9306
|
/**
|
|
9633
|
-
* @
|
|
9634
|
-
* @hidden
|
|
9307
|
+
* @internal
|
|
9635
9308
|
*/
|
|
9636
9309
|
_markAsDirty(force?: boolean): void;
|
|
9637
|
-
/** @
|
|
9310
|
+
/** @internal */
|
|
9638
9311
|
_markAllAsDirty(): void;
|
|
9639
9312
|
/**
|
|
9640
|
-
* @
|
|
9641
|
-
* @hidden
|
|
9313
|
+
* @internal
|
|
9642
9314
|
*/
|
|
9643
9315
|
_link(host: AdvancedDynamicTexture): void;
|
|
9644
9316
|
/**
|
|
9645
|
-
* @
|
|
9646
|
-
* @hidden
|
|
9317
|
+
* @internal
|
|
9647
9318
|
*/
|
|
9648
9319
|
protected _transform(context?: BABYLON.ICanvasRenderingContext): void;
|
|
9649
9320
|
/**
|
|
9650
|
-
* @
|
|
9651
|
-
* @hidden
|
|
9321
|
+
* @internal
|
|
9652
9322
|
*/
|
|
9653
9323
|
_renderHighlight(context: BABYLON.ICanvasRenderingContext): void;
|
|
9654
9324
|
/**
|
|
9655
|
-
* @
|
|
9656
|
-
* @hidden
|
|
9325
|
+
* @internal
|
|
9657
9326
|
*/
|
|
9658
9327
|
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
9659
9328
|
/**
|
|
9660
|
-
* @
|
|
9661
|
-
* @hidden
|
|
9329
|
+
* @internal
|
|
9662
9330
|
*/
|
|
9663
9331
|
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
9664
9332
|
/**
|
|
9665
|
-
* @
|
|
9666
|
-
* @param context
|
|
9667
|
-
* @hidden
|
|
9333
|
+
* @internal
|
|
9668
9334
|
*/
|
|
9669
9335
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
9670
9336
|
/**
|
|
9671
|
-
* @
|
|
9672
|
-
* @param context
|
|
9673
|
-
* @hidden
|
|
9337
|
+
* @internal
|
|
9674
9338
|
*/
|
|
9675
9339
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9676
9340
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
9677
|
-
/** @
|
|
9341
|
+
/** @internal */
|
|
9678
9342
|
_measure(): void;
|
|
9679
9343
|
/**
|
|
9680
|
-
* @
|
|
9681
|
-
* @param context
|
|
9682
|
-
* @hidden
|
|
9344
|
+
* @internal
|
|
9683
9345
|
*/
|
|
9684
9346
|
protected _computeAlignment(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9685
9347
|
/**
|
|
9686
|
-
* @
|
|
9687
|
-
* @param context
|
|
9688
|
-
* @hidden
|
|
9348
|
+
* @internal
|
|
9689
9349
|
*/
|
|
9690
9350
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9691
9351
|
/**
|
|
9692
|
-
* @
|
|
9693
|
-
* @param context
|
|
9694
|
-
* @hidden
|
|
9352
|
+
* @internal
|
|
9695
9353
|
*/
|
|
9696
9354
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9697
9355
|
/**
|
|
9698
|
-
* @
|
|
9699
|
-
* @hidden
|
|
9356
|
+
* @internal
|
|
9700
9357
|
*/
|
|
9701
9358
|
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
9702
9359
|
private static _ClipMeasure;
|
|
9703
9360
|
private _tmpMeasureA;
|
|
9704
9361
|
private _clip;
|
|
9705
9362
|
/**
|
|
9706
|
-
* @
|
|
9707
|
-
* @param invalidatedRectangle
|
|
9708
|
-
* @hidden
|
|
9363
|
+
* @internal
|
|
9709
9364
|
*/
|
|
9710
9365
|
_render(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): boolean;
|
|
9711
9366
|
/**
|
|
9712
|
-
* @
|
|
9713
|
-
* @param invalidatedRectangle
|
|
9714
|
-
* @hidden
|
|
9367
|
+
* @internal
|
|
9715
9368
|
*/
|
|
9716
9369
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): void;
|
|
9717
9370
|
/**
|
|
@@ -9722,80 +9375,41 @@ declare module BABYLON.GUI {
|
|
|
9722
9375
|
*/
|
|
9723
9376
|
contains(x: number, y: number): boolean;
|
|
9724
9377
|
/**
|
|
9725
|
-
* @
|
|
9726
|
-
* @param y
|
|
9727
|
-
* @param pi
|
|
9728
|
-
* @param type
|
|
9729
|
-
* @param pointerId
|
|
9730
|
-
* @param buttonIndex
|
|
9731
|
-
* @param deltaX
|
|
9732
|
-
* @param deltaY
|
|
9733
|
-
* @hidden
|
|
9378
|
+
* @internal
|
|
9734
9379
|
*/
|
|
9735
9380
|
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9736
9381
|
/**
|
|
9737
|
-
* @
|
|
9738
|
-
* @param coordinates
|
|
9739
|
-
* @param pointerId
|
|
9740
|
-
* @param pi
|
|
9741
|
-
* @hidden
|
|
9382
|
+
* @internal
|
|
9742
9383
|
*/
|
|
9743
9384
|
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9744
9385
|
/**
|
|
9745
|
-
* @
|
|
9746
|
-
* @param pi
|
|
9747
|
-
* @hidden
|
|
9386
|
+
* @internal
|
|
9748
9387
|
*/
|
|
9749
9388
|
_onPointerEnter(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9750
9389
|
/**
|
|
9751
|
-
* @
|
|
9752
|
-
* @param pi
|
|
9753
|
-
* @param force
|
|
9754
|
-
* @hidden
|
|
9390
|
+
* @internal
|
|
9755
9391
|
*/
|
|
9756
9392
|
_onPointerOut(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, force?: boolean): void;
|
|
9757
9393
|
/**
|
|
9758
|
-
* @
|
|
9759
|
-
* @param coordinates
|
|
9760
|
-
* @param pointerId
|
|
9761
|
-
* @param buttonIndex
|
|
9762
|
-
* @param pi
|
|
9763
|
-
* @hidden
|
|
9394
|
+
* @internal
|
|
9764
9395
|
*/
|
|
9765
9396
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9766
9397
|
/**
|
|
9767
|
-
* @
|
|
9768
|
-
* @param coordinates
|
|
9769
|
-
* @param pointerId
|
|
9770
|
-
* @param buttonIndex
|
|
9771
|
-
* @param notifyClick
|
|
9772
|
-
* @param pi
|
|
9773
|
-
* @hidden
|
|
9398
|
+
* @internal
|
|
9774
9399
|
*/
|
|
9775
9400
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9776
9401
|
/**
|
|
9777
|
-
* @
|
|
9778
|
-
* @hidden
|
|
9402
|
+
* @internal
|
|
9779
9403
|
*/
|
|
9780
9404
|
_forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
9781
9405
|
/**
|
|
9782
|
-
* @
|
|
9783
|
-
* @param deltaY
|
|
9784
|
-
* @hidden
|
|
9406
|
+
* @internal
|
|
9785
9407
|
*/
|
|
9786
9408
|
_onWheelScroll(deltaX?: number, deltaY?: number): void;
|
|
9787
|
-
/** @
|
|
9409
|
+
/** @internal */
|
|
9788
9410
|
_onCanvasBlur(): void;
|
|
9789
9411
|
/**
|
|
9790
|
-
* @
|
|
9791
|
-
* @param x
|
|
9792
|
-
* @param y
|
|
9793
|
-
* @param pi
|
|
9794
|
-
* @param pointerId
|
|
9795
|
-
* @param buttonIndex
|
|
9796
|
-
* @param deltaX
|
|
9797
|
-
* @param deltaY
|
|
9798
|
-
* @hidden
|
|
9412
|
+
* @internal
|
|
9799
9413
|
*/
|
|
9800
9414
|
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9801
9415
|
private _prepareFont;
|
|
@@ -9805,9 +9419,7 @@ declare module BABYLON.GUI {
|
|
|
9805
9419
|
*/
|
|
9806
9420
|
serialize(serializationObject: any): void;
|
|
9807
9421
|
/**
|
|
9808
|
-
* @
|
|
9809
|
-
* @param host
|
|
9810
|
-
* @hidden
|
|
9422
|
+
* @internal
|
|
9811
9423
|
*/
|
|
9812
9424
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
9813
9425
|
/** Releases associated resources */
|
|
@@ -9832,8 +9444,7 @@ declare module BABYLON.GUI {
|
|
|
9832
9444
|
static get VERTICAL_ALIGNMENT_CENTER(): number;
|
|
9833
9445
|
private static _FontHeightSizes;
|
|
9834
9446
|
/**
|
|
9835
|
-
* @
|
|
9836
|
-
* @hidden
|
|
9447
|
+
* @internal
|
|
9837
9448
|
*/
|
|
9838
9449
|
static _GetFontOffset(font: string): {
|
|
9839
9450
|
ascent: number;
|
|
@@ -9852,12 +9463,7 @@ declare module BABYLON.GUI {
|
|
|
9852
9463
|
controlFirst: boolean;
|
|
9853
9464
|
}) => any;
|
|
9854
9465
|
/**
|
|
9855
|
-
* @
|
|
9856
|
-
* @param y
|
|
9857
|
-
* @param width
|
|
9858
|
-
* @param height
|
|
9859
|
-
* @param context
|
|
9860
|
-
* @hidden
|
|
9466
|
+
* @internal
|
|
9861
9467
|
*/
|
|
9862
9468
|
protected static drawEllipse(x: number, y: number, width: number, height: number, context: BABYLON.ICanvasRenderingContext): void;
|
|
9863
9469
|
}
|
|
@@ -9953,9 +9559,9 @@ declare module BABYLON.GUI {
|
|
|
9953
9559
|
/** BABYLON.Observable raised when a key event was processed */
|
|
9954
9560
|
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
9955
9561
|
constructor(name?: string | undefined);
|
|
9956
|
-
/** @
|
|
9562
|
+
/** @internal */
|
|
9957
9563
|
onBlur(): void;
|
|
9958
|
-
/** @
|
|
9564
|
+
/** @internal */
|
|
9959
9565
|
onFocus(): void;
|
|
9960
9566
|
/**
|
|
9961
9567
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
@@ -9976,15 +9582,10 @@ declare module BABYLON.GUI {
|
|
|
9976
9582
|
*/
|
|
9977
9583
|
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
9978
9584
|
/**
|
|
9979
|
-
* @
|
|
9980
|
-
* @param coordinates
|
|
9981
|
-
* @param pointerId
|
|
9982
|
-
* @param buttonIndex
|
|
9983
|
-
* @param pi
|
|
9984
|
-
* @hidden
|
|
9585
|
+
* @internal
|
|
9985
9586
|
*/
|
|
9986
9587
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
9987
|
-
/** @
|
|
9588
|
+
/** @internal */
|
|
9988
9589
|
displose(): void;
|
|
9989
9590
|
}
|
|
9990
9591
|
|
|
@@ -10148,9 +9749,7 @@ declare module BABYLON.GUI {
|
|
|
10148
9749
|
*/
|
|
10149
9750
|
serialize(serializationObject: any): void;
|
|
10150
9751
|
/**
|
|
10151
|
-
* @
|
|
10152
|
-
* @param host
|
|
10153
|
-
* @hidden
|
|
9752
|
+
* @internal
|
|
10154
9753
|
*/
|
|
10155
9754
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
10156
9755
|
}
|
|
@@ -10275,9 +9874,7 @@ declare module BABYLON.GUI {
|
|
|
10275
9874
|
get stretch(): number;
|
|
10276
9875
|
set stretch(value: number);
|
|
10277
9876
|
/**
|
|
10278
|
-
* @
|
|
10279
|
-
* @param preserveProperties
|
|
10280
|
-
* @hidden
|
|
9877
|
+
* @internal
|
|
10281
9878
|
*/
|
|
10282
9879
|
_rotate90(n: number, preserveProperties?: boolean): Image;
|
|
10283
9880
|
private _handleRotationForSVGImage;
|
|
@@ -10411,7 +10008,7 @@ declare module BABYLON.GUI {
|
|
|
10411
10008
|
protected _isPointerDown: boolean;
|
|
10412
10009
|
protected _onClipboardObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.ClipboardInfo>>;
|
|
10413
10010
|
protected _onPointerDblTapObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.PointerInfo>>;
|
|
10414
|
-
/** @
|
|
10011
|
+
/** @internal */
|
|
10415
10012
|
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
10416
10013
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
10417
10014
|
promptMessage: string;
|
|
@@ -10500,9 +10097,9 @@ declare module BABYLON.GUI {
|
|
|
10500
10097
|
* @param text defines the text of the control
|
|
10501
10098
|
*/
|
|
10502
10099
|
constructor(name?: string | undefined, text?: string);
|
|
10503
|
-
/** @
|
|
10100
|
+
/** @internal */
|
|
10504
10101
|
onBlur(): void;
|
|
10505
|
-
/** @
|
|
10102
|
+
/** @internal */
|
|
10506
10103
|
onFocus(): void;
|
|
10507
10104
|
/**
|
|
10508
10105
|
* Function to focus an inputText programmatically
|
|
@@ -10519,23 +10116,18 @@ declare module BABYLON.GUI {
|
|
|
10519
10116
|
*/
|
|
10520
10117
|
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
10521
10118
|
/**
|
|
10522
|
-
* @
|
|
10523
|
-
* @param key
|
|
10524
|
-
* @param evt
|
|
10525
|
-
* @hidden
|
|
10119
|
+
* @internal
|
|
10526
10120
|
*/
|
|
10527
10121
|
processKey(keyCode: number, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
10528
10122
|
/**
|
|
10529
|
-
* @
|
|
10530
|
-
* @hidden
|
|
10123
|
+
* @internal
|
|
10531
10124
|
*/
|
|
10532
10125
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
10533
10126
|
/**
|
|
10534
|
-
* @
|
|
10535
|
-
* @hidden
|
|
10127
|
+
* @internal
|
|
10536
10128
|
*/
|
|
10537
10129
|
protected _processDblClick(evt: BABYLON.PointerInfo): void;
|
|
10538
|
-
/** @
|
|
10130
|
+
/** @internal */
|
|
10539
10131
|
protected _selectAllText(): void;
|
|
10540
10132
|
/**
|
|
10541
10133
|
* Handles the keyboard event
|
|
@@ -10543,18 +10135,15 @@ declare module BABYLON.GUI {
|
|
|
10543
10135
|
*/
|
|
10544
10136
|
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
10545
10137
|
/**
|
|
10546
|
-
* @
|
|
10547
|
-
* @hidden
|
|
10138
|
+
* @internal
|
|
10548
10139
|
*/
|
|
10549
10140
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
10550
10141
|
/**
|
|
10551
|
-
* @
|
|
10552
|
-
* @hidden
|
|
10142
|
+
* @internal
|
|
10553
10143
|
*/
|
|
10554
10144
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
10555
10145
|
/**
|
|
10556
|
-
* @
|
|
10557
|
-
* @hidden
|
|
10146
|
+
* @internal
|
|
10558
10147
|
*/
|
|
10559
10148
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
10560
10149
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -10586,7 +10175,7 @@ declare module BABYLON.GUI {
|
|
|
10586
10175
|
* An event triggered after the text was broken up into lines
|
|
10587
10176
|
*/
|
|
10588
10177
|
onLinesReadyObservable: BABYLON.Observable<InputTextArea>;
|
|
10589
|
-
/** @
|
|
10178
|
+
/** @internal */
|
|
10590
10179
|
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
10591
10180
|
private _contextForBreakLines;
|
|
10592
10181
|
private _clickedCoordinateX;
|
|
@@ -10637,7 +10226,7 @@ declare module BABYLON.GUI {
|
|
|
10637
10226
|
* @param code The ascii input number
|
|
10638
10227
|
* @param key The key string representation
|
|
10639
10228
|
* @param evt The keyboard event emits with input
|
|
10640
|
-
* @
|
|
10229
|
+
* @internal
|
|
10641
10230
|
*/
|
|
10642
10231
|
alternativeProcessKey(code: string, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
10643
10232
|
protected _parseLineWordWrap(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): {
|
|
@@ -10656,7 +10245,7 @@ declare module BABYLON.GUI {
|
|
|
10656
10245
|
*
|
|
10657
10246
|
* @param parentMeasure The parent measure
|
|
10658
10247
|
* @param context The rendering canvas
|
|
10659
|
-
* @
|
|
10248
|
+
* @internal
|
|
10660
10249
|
*/
|
|
10661
10250
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10662
10251
|
/**
|
|
@@ -10664,7 +10253,7 @@ declare module BABYLON.GUI {
|
|
|
10664
10253
|
*
|
|
10665
10254
|
* @param parentMeasure The parent measure
|
|
10666
10255
|
* @param context The rendering canvas
|
|
10667
|
-
* @
|
|
10256
|
+
* @internal
|
|
10668
10257
|
*/
|
|
10669
10258
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10670
10259
|
private _drawText;
|
|
@@ -10672,21 +10261,21 @@ declare module BABYLON.GUI {
|
|
|
10672
10261
|
* Copy the text in the clipboard
|
|
10673
10262
|
*
|
|
10674
10263
|
* @param ev The clipboard event
|
|
10675
|
-
* @
|
|
10264
|
+
* @internal
|
|
10676
10265
|
*/
|
|
10677
10266
|
protected _onCopyText(ev: ClipboardEvent): void;
|
|
10678
10267
|
/**
|
|
10679
10268
|
* Cut the text and copy it in the clipboard
|
|
10680
10269
|
*
|
|
10681
10270
|
* @param ev The clipboard event
|
|
10682
|
-
* @
|
|
10271
|
+
* @internal
|
|
10683
10272
|
*/
|
|
10684
10273
|
protected _onCutText(ev: ClipboardEvent): void;
|
|
10685
10274
|
/**
|
|
10686
10275
|
* Paste the copied text from the clipboard
|
|
10687
10276
|
*
|
|
10688
10277
|
* @param ev The clipboard event
|
|
10689
|
-
* @
|
|
10278
|
+
* @internal
|
|
10690
10279
|
*/
|
|
10691
10280
|
protected _onPasteText(ev: ClipboardEvent): void;
|
|
10692
10281
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -10702,17 +10291,17 @@ declare module BABYLON.GUI {
|
|
|
10702
10291
|
* Update all values of cursor information based on cursorIndex value
|
|
10703
10292
|
*
|
|
10704
10293
|
* @param offset The index to take care of
|
|
10705
|
-
* @
|
|
10294
|
+
* @internal
|
|
10706
10295
|
*/
|
|
10707
10296
|
protected _updateValueFromCursorIndex(offset: number): void;
|
|
10708
10297
|
/**
|
|
10709
10298
|
* Select the word immediatly under the cursor on double click
|
|
10710
10299
|
*
|
|
10711
10300
|
* @param _evt Pointer informations of double click
|
|
10712
|
-
* @
|
|
10301
|
+
* @internal
|
|
10713
10302
|
*/
|
|
10714
10303
|
protected _processDblClick(_evt: BABYLON.PointerInfo): void;
|
|
10715
|
-
/** @
|
|
10304
|
+
/** @internal */
|
|
10716
10305
|
protected _selectAllText(): void;
|
|
10717
10306
|
dipose(): void;
|
|
10718
10307
|
}
|
|
@@ -10916,9 +10505,9 @@ declare module BABYLON.GUI {
|
|
|
10916
10505
|
*/
|
|
10917
10506
|
constructor(name?: string | undefined);
|
|
10918
10507
|
protected _getTypeName(): string;
|
|
10919
|
-
/** @
|
|
10508
|
+
/** @internal */
|
|
10920
10509
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
10921
|
-
/** @
|
|
10510
|
+
/** @internal */
|
|
10922
10511
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
10923
10512
|
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10924
10513
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11082,18 +10671,14 @@ declare module BABYLON.GUI {
|
|
|
11082
10671
|
get verticalBarImage(): Image;
|
|
11083
10672
|
set verticalBarImage(value: Image);
|
|
11084
10673
|
private _setWindowPosition;
|
|
11085
|
-
/** @
|
|
10674
|
+
/** @internal */
|
|
11086
10675
|
private _updateScroller;
|
|
11087
10676
|
_link(host: AdvancedDynamicTexture): void;
|
|
11088
10677
|
/**
|
|
11089
|
-
* @
|
|
11090
|
-
* @param barContainer
|
|
11091
|
-
* @param isVertical
|
|
11092
|
-
* @param rotation
|
|
11093
|
-
* @hidden
|
|
10678
|
+
* @internal
|
|
11094
10679
|
*/
|
|
11095
10680
|
private _addBar;
|
|
11096
|
-
/** @
|
|
10681
|
+
/** @internal */
|
|
11097
10682
|
private _attachWheel;
|
|
11098
10683
|
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
11099
10684
|
/** Releases associated resources */
|
|
@@ -11103,7 +10688,7 @@ declare module BABYLON.GUI {
|
|
|
11103
10688
|
|
|
11104
10689
|
/**
|
|
11105
10690
|
* Class used to hold a the container for ScrollViewer
|
|
11106
|
-
* @
|
|
10691
|
+
* @internal
|
|
11107
10692
|
*/
|
|
11108
10693
|
export class _ScrollViewerWindow extends Container {
|
|
11109
10694
|
parentClientWidth: number;
|
|
@@ -11134,23 +10719,17 @@ declare module BABYLON.GUI {
|
|
|
11134
10719
|
constructor(name?: string);
|
|
11135
10720
|
protected _getTypeName(): string;
|
|
11136
10721
|
/**
|
|
11137
|
-
* @
|
|
11138
|
-
* @param context
|
|
11139
|
-
* @hidden
|
|
10722
|
+
* @internal
|
|
11140
10723
|
*/
|
|
11141
10724
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11142
10725
|
/**
|
|
11143
|
-
* @
|
|
11144
|
-
* @param context
|
|
11145
|
-
* @hidden
|
|
10726
|
+
* @internal
|
|
11146
10727
|
*/
|
|
11147
10728
|
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
11148
10729
|
private _scrollChildren;
|
|
11149
10730
|
private _scrollChildrenWithBuckets;
|
|
11150
10731
|
/**
|
|
11151
|
-
* @
|
|
11152
|
-
* @param invalidatedRectangle
|
|
11153
|
-
* @hidden
|
|
10732
|
+
* @internal
|
|
11154
10733
|
*/
|
|
11155
10734
|
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
11156
10735
|
protected _postMeasure(): void;
|
|
@@ -11181,13 +10760,11 @@ declare module BABYLON.GUI {
|
|
|
11181
10760
|
get header(): string;
|
|
11182
10761
|
set header(label: string);
|
|
11183
10762
|
/**
|
|
11184
|
-
* @
|
|
11185
|
-
* @hidden
|
|
10763
|
+
* @internal
|
|
11186
10764
|
*/
|
|
11187
10765
|
private _addGroupHeader;
|
|
11188
10766
|
/**
|
|
11189
|
-
* @
|
|
11190
|
-
* @hidden
|
|
10767
|
+
* @internal
|
|
11191
10768
|
*/
|
|
11192
10769
|
_getSelector(selectorNb: number): StackPanel | undefined;
|
|
11193
10770
|
/** Removes the selector at the given position
|
|
@@ -11206,27 +10783,19 @@ declare module BABYLON.GUI {
|
|
|
11206
10783
|
*/
|
|
11207
10784
|
addCheckbox(text: string, func?: (s: boolean) => void, checked?: boolean): void;
|
|
11208
10785
|
/**
|
|
11209
|
-
* @
|
|
11210
|
-
* @param label
|
|
11211
|
-
* @hidden
|
|
10786
|
+
* @internal
|
|
11212
10787
|
*/
|
|
11213
10788
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11214
10789
|
/**
|
|
11215
|
-
* @
|
|
11216
|
-
* @param color
|
|
11217
|
-
* @hidden
|
|
10790
|
+
* @internal
|
|
11218
10791
|
*/
|
|
11219
10792
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11220
10793
|
/**
|
|
11221
|
-
* @
|
|
11222
|
-
* @param color
|
|
11223
|
-
* @hidden
|
|
10794
|
+
* @internal
|
|
11224
10795
|
*/
|
|
11225
10796
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11226
10797
|
/**
|
|
11227
|
-
* @
|
|
11228
|
-
* @param color
|
|
11229
|
-
* @hidden
|
|
10798
|
+
* @internal
|
|
11230
10799
|
*/
|
|
11231
10800
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11232
10801
|
}
|
|
@@ -11242,27 +10811,19 @@ declare module BABYLON.GUI {
|
|
|
11242
10811
|
*/
|
|
11243
10812
|
addRadio(label: string, func?: (n: number) => void, checked?: boolean): void;
|
|
11244
10813
|
/**
|
|
11245
|
-
* @
|
|
11246
|
-
* @param label
|
|
11247
|
-
* @hidden
|
|
10814
|
+
* @internal
|
|
11248
10815
|
*/
|
|
11249
10816
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11250
10817
|
/**
|
|
11251
|
-
* @
|
|
11252
|
-
* @param color
|
|
11253
|
-
* @hidden
|
|
10818
|
+
* @internal
|
|
11254
10819
|
*/
|
|
11255
10820
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11256
10821
|
/**
|
|
11257
|
-
* @
|
|
11258
|
-
* @param color
|
|
11259
|
-
* @hidden
|
|
10822
|
+
* @internal
|
|
11260
10823
|
*/
|
|
11261
10824
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11262
10825
|
/**
|
|
11263
|
-
* @
|
|
11264
|
-
* @param color
|
|
11265
|
-
* @hidden
|
|
10826
|
+
* @internal
|
|
11266
10827
|
*/
|
|
11267
10828
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11268
10829
|
}
|
|
@@ -11282,27 +10843,19 @@ declare module BABYLON.GUI {
|
|
|
11282
10843
|
*/
|
|
11283
10844
|
addSlider(label: string, func?: (v: number) => void, unit?: string, min?: number, max?: number, value?: number, onValueChange?: (v: number) => number): void;
|
|
11284
10845
|
/**
|
|
11285
|
-
* @
|
|
11286
|
-
* @param label
|
|
11287
|
-
* @hidden
|
|
10846
|
+
* @internal
|
|
11288
10847
|
*/
|
|
11289
10848
|
_setSelectorLabel(selectorNb: number, label: string): void;
|
|
11290
10849
|
/**
|
|
11291
|
-
* @
|
|
11292
|
-
* @param color
|
|
11293
|
-
* @hidden
|
|
10850
|
+
* @internal
|
|
11294
10851
|
*/
|
|
11295
10852
|
_setSelectorLabelColor(selectorNb: number, color: string): void;
|
|
11296
10853
|
/**
|
|
11297
|
-
* @
|
|
11298
|
-
* @param color
|
|
11299
|
-
* @hidden
|
|
10854
|
+
* @internal
|
|
11300
10855
|
*/
|
|
11301
10856
|
_setSelectorButtonColor(selectorNb: number, color: string): void;
|
|
11302
10857
|
/**
|
|
11303
|
-
* @
|
|
11304
|
-
* @param color
|
|
11305
|
-
* @hidden
|
|
10858
|
+
* @internal
|
|
11306
10859
|
*/
|
|
11307
10860
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
11308
10861
|
}
|
|
@@ -11487,9 +11040,7 @@ declare module BABYLON.GUI {
|
|
|
11487
11040
|
protected _prepareRenderingData(type: string): void;
|
|
11488
11041
|
private _pointerIsDown;
|
|
11489
11042
|
/**
|
|
11490
|
-
* @
|
|
11491
|
-
* @param y
|
|
11492
|
-
* @hidden
|
|
11043
|
+
* @internal
|
|
11493
11044
|
*/
|
|
11494
11045
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11495
11046
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11538,9 +11089,7 @@ declare module BABYLON.GUI {
|
|
|
11538
11089
|
*/
|
|
11539
11090
|
serialize(serializationObject: any): void;
|
|
11540
11091
|
/**
|
|
11541
|
-
* @
|
|
11542
|
-
* @param host
|
|
11543
|
-
* @hidden
|
|
11092
|
+
* @internal
|
|
11544
11093
|
*/
|
|
11545
11094
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
11546
11095
|
}
|
|
@@ -11602,9 +11151,7 @@ declare module BABYLON.GUI {
|
|
|
11602
11151
|
private _originX;
|
|
11603
11152
|
private _originY;
|
|
11604
11153
|
/**
|
|
11605
|
-
* @
|
|
11606
|
-
* @param y
|
|
11607
|
-
* @hidden
|
|
11154
|
+
* @internal
|
|
11608
11155
|
*/
|
|
11609
11156
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11610
11157
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11641,9 +11188,7 @@ declare module BABYLON.GUI {
|
|
|
11641
11188
|
private _originX;
|
|
11642
11189
|
private _originY;
|
|
11643
11190
|
/**
|
|
11644
|
-
* @
|
|
11645
|
-
* @param y
|
|
11646
|
-
* @hidden
|
|
11191
|
+
* @internal
|
|
11647
11192
|
*/
|
|
11648
11193
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11649
11194
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
@@ -11726,9 +11271,7 @@ declare module BABYLON.GUI {
|
|
|
11726
11271
|
constructor(name?: string | undefined);
|
|
11727
11272
|
protected _getTypeName(): string;
|
|
11728
11273
|
/**
|
|
11729
|
-
* @
|
|
11730
|
-
* @param context
|
|
11731
|
-
* @hidden
|
|
11274
|
+
* @internal
|
|
11732
11275
|
*/
|
|
11733
11276
|
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11734
11277
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11739,9 +11282,7 @@ declare module BABYLON.GUI {
|
|
|
11739
11282
|
*/
|
|
11740
11283
|
serialize(serializationObject: any): void;
|
|
11741
11284
|
/**
|
|
11742
|
-
* @
|
|
11743
|
-
* @param host
|
|
11744
|
-
* @hidden
|
|
11285
|
+
* @internal
|
|
11745
11286
|
*/
|
|
11746
11287
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
11747
11288
|
}
|
|
@@ -11749,7 +11290,7 @@ declare module BABYLON.GUI {
|
|
|
11749
11290
|
|
|
11750
11291
|
/**
|
|
11751
11292
|
* Forcing an export so that this code will execute
|
|
11752
|
-
* @
|
|
11293
|
+
* @internal
|
|
11753
11294
|
*/
|
|
11754
11295
|
const name = "Statics";
|
|
11755
11296
|
|
|
@@ -11913,8 +11454,7 @@ declare module BABYLON.GUI {
|
|
|
11913
11454
|
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11914
11455
|
private _drawText;
|
|
11915
11456
|
/**
|
|
11916
|
-
* @
|
|
11917
|
-
* @hidden
|
|
11457
|
+
* @internal
|
|
11918
11458
|
*/
|
|
11919
11459
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11920
11460
|
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
@@ -11936,7 +11476,7 @@ declare module BABYLON.GUI {
|
|
|
11936
11476
|
}
|
|
11937
11477
|
|
|
11938
11478
|
|
|
11939
|
-
/** @
|
|
11479
|
+
/** @internal */
|
|
11940
11480
|
export class TextWrapper {
|
|
11941
11481
|
private _text;
|
|
11942
11482
|
private _characters;
|
|
@@ -12019,47 +11559,23 @@ declare module BABYLON.GUI {
|
|
|
12019
11559
|
constructor(name?: string | undefined, group?: string);
|
|
12020
11560
|
protected _getTypeName(): string;
|
|
12021
11561
|
/**
|
|
12022
|
-
* @
|
|
12023
|
-
* @param y
|
|
12024
|
-
* @param pi
|
|
12025
|
-
* @param type
|
|
12026
|
-
* @param pointerId
|
|
12027
|
-
* @param buttonIndex
|
|
12028
|
-
* @param deltaX
|
|
12029
|
-
* @param deltaY
|
|
12030
|
-
* @hidden
|
|
11562
|
+
* @internal
|
|
12031
11563
|
*/
|
|
12032
11564
|
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
12033
11565
|
/**
|
|
12034
|
-
* @
|
|
12035
|
-
* @param pi
|
|
12036
|
-
* @hidden
|
|
11566
|
+
* @internal
|
|
12037
11567
|
*/
|
|
12038
11568
|
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
12039
11569
|
/**
|
|
12040
|
-
* @
|
|
12041
|
-
* @param pi
|
|
12042
|
-
* @param force
|
|
12043
|
-
* @hidden
|
|
11570
|
+
* @internal
|
|
12044
11571
|
*/
|
|
12045
11572
|
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
12046
11573
|
/**
|
|
12047
|
-
* @
|
|
12048
|
-
* @param coordinates
|
|
12049
|
-
* @param pointerId
|
|
12050
|
-
* @param buttonIndex
|
|
12051
|
-
* @param pi
|
|
12052
|
-
* @hidden
|
|
11574
|
+
* @internal
|
|
12053
11575
|
*/
|
|
12054
11576
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
12055
11577
|
/**
|
|
12056
|
-
* @
|
|
12057
|
-
* @param coordinates
|
|
12058
|
-
* @param pointerId
|
|
12059
|
-
* @param buttonIndex
|
|
12060
|
-
* @param notifyClick
|
|
12061
|
-
* @param pi
|
|
12062
|
-
* @hidden
|
|
11578
|
+
* @internal
|
|
12063
11579
|
*/
|
|
12064
11580
|
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
12065
11581
|
}
|
|
@@ -12157,9 +11673,7 @@ declare module BABYLON.GUI {
|
|
|
12157
11673
|
*/
|
|
12158
11674
|
static CreateDefaultLayout(name?: string): VirtualKeyboard;
|
|
12159
11675
|
/**
|
|
12160
|
-
* @
|
|
12161
|
-
* @param host
|
|
12162
|
-
* @hidden
|
|
11676
|
+
* @internal
|
|
12163
11677
|
*/
|
|
12164
11678
|
_parseFromContent(serializedObject: any, host: AdvancedDynamicTexture): void;
|
|
12165
11679
|
}
|
|
@@ -12374,7 +11888,7 @@ declare module BABYLON.GUI {
|
|
|
12374
11888
|
private _mesh;
|
|
12375
11889
|
private _controlObserver;
|
|
12376
11890
|
private _meshObserver;
|
|
12377
|
-
/** @
|
|
11891
|
+
/** @internal */
|
|
12378
11892
|
_point: BABYLON.Vector3;
|
|
12379
11893
|
/**
|
|
12380
11894
|
* Creates a new MultiLinePoint
|
|
@@ -12414,9 +11928,9 @@ declare module BABYLON.GUI {
|
|
|
12414
11928
|
private _fontFamily;
|
|
12415
11929
|
private _fontStyle;
|
|
12416
11930
|
private _fontWeight;
|
|
12417
|
-
/** @
|
|
11931
|
+
/** @internal */
|
|
12418
11932
|
_host: AdvancedDynamicTexture;
|
|
12419
|
-
/** @
|
|
11933
|
+
/** @internal */
|
|
12420
11934
|
_fontSize: ValueAndUnit;
|
|
12421
11935
|
/**
|
|
12422
11936
|
* BABYLON.Observable raised when the style values are changed
|
|
@@ -12686,7 +12200,7 @@ declare module BABYLON.GUI {
|
|
|
12686
12200
|
* Class used to create a button in 3D
|
|
12687
12201
|
*/
|
|
12688
12202
|
export class Button3D extends AbstractButton3D {
|
|
12689
|
-
/** @
|
|
12203
|
+
/** @internal */
|
|
12690
12204
|
protected _currentMaterial: BABYLON.Material;
|
|
12691
12205
|
/**
|
|
12692
12206
|
* Creates a new button
|
|
@@ -12818,9 +12332,9 @@ declare module BABYLON.GUI {
|
|
|
12818
12332
|
private _enterCount;
|
|
12819
12333
|
private _downPointerIds;
|
|
12820
12334
|
protected _isVisible: boolean;
|
|
12821
|
-
/** @
|
|
12335
|
+
/** @internal */
|
|
12822
12336
|
_host: GUI3DManager;
|
|
12823
|
-
/** @
|
|
12337
|
+
/** @internal */
|
|
12824
12338
|
_isScaledByManager: boolean;
|
|
12825
12339
|
/** Gets or sets the control position in world space */
|
|
12826
12340
|
get position(): BABYLON.Vector3;
|
|
@@ -12926,8 +12440,7 @@ declare module BABYLON.GUI {
|
|
|
12926
12440
|
*/
|
|
12927
12441
|
linkToTransformNode(node: BABYLON.Nullable<BABYLON.TransformNode>): Control3D;
|
|
12928
12442
|
/**
|
|
12929
|
-
* @
|
|
12930
|
-
* @hidden*
|
|
12443
|
+
* @internal*
|
|
12931
12444
|
*/
|
|
12932
12445
|
_prepareNode(scene: BABYLON.Scene): void;
|
|
12933
12446
|
protected _injectGUI3DReservedDataStore(node: BABYLON.TransformNode): any;
|
|
@@ -12945,53 +12458,34 @@ declare module BABYLON.GUI {
|
|
|
12945
12458
|
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12946
12459
|
private _isTouchButton3D;
|
|
12947
12460
|
/**
|
|
12948
|
-
* @
|
|
12949
|
-
* @param coordinates
|
|
12950
|
-
* @hidden
|
|
12461
|
+
* @internal
|
|
12951
12462
|
*/
|
|
12952
12463
|
_onPointerMove(target: Control3D, coordinates: BABYLON.Vector3): void;
|
|
12953
12464
|
/**
|
|
12954
|
-
* @
|
|
12955
|
-
* @hidden
|
|
12465
|
+
* @internal
|
|
12956
12466
|
*/
|
|
12957
12467
|
_onPointerEnter(target: Control3D): boolean;
|
|
12958
12468
|
/**
|
|
12959
|
-
* @
|
|
12960
|
-
* @hidden
|
|
12469
|
+
* @internal
|
|
12961
12470
|
*/
|
|
12962
12471
|
_onPointerOut(target: Control3D): void;
|
|
12963
12472
|
/**
|
|
12964
|
-
* @
|
|
12965
|
-
* @param coordinates
|
|
12966
|
-
* @param pointerId
|
|
12967
|
-
* @param buttonIndex
|
|
12968
|
-
* @hidden
|
|
12473
|
+
* @internal
|
|
12969
12474
|
*/
|
|
12970
12475
|
_onPointerDown(target: Control3D, coordinates: BABYLON.Vector3, pointerId: number, buttonIndex: number): boolean;
|
|
12971
12476
|
/**
|
|
12972
|
-
* @
|
|
12973
|
-
* @param coordinates
|
|
12974
|
-
* @param pointerId
|
|
12975
|
-
* @param buttonIndex
|
|
12976
|
-
* @param notifyClick
|
|
12977
|
-
* @hidden
|
|
12477
|
+
* @internal
|
|
12978
12478
|
*/
|
|
12979
12479
|
_onPointerUp(target: Control3D, coordinates: BABYLON.Vector3, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
12980
12480
|
/**
|
|
12981
|
-
* @
|
|
12982
|
-
* @hidden
|
|
12481
|
+
* @internal
|
|
12983
12482
|
*/
|
|
12984
12483
|
forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
12985
12484
|
/**
|
|
12986
|
-
* @
|
|
12987
|
-
* @param pickedPoint
|
|
12988
|
-
* @param originMeshPosition
|
|
12989
|
-
* @param pointerId
|
|
12990
|
-
* @param buttonIndex
|
|
12991
|
-
* @hidden
|
|
12485
|
+
* @internal
|
|
12992
12486
|
*/
|
|
12993
12487
|
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: BABYLON.Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
12994
|
-
/** @
|
|
12488
|
+
/** @internal */
|
|
12995
12489
|
_disposeNode(): void;
|
|
12996
12490
|
/**
|
|
12997
12491
|
* Releases all associated resources
|
|
@@ -13205,13 +12699,13 @@ declare module BABYLON.GUI {
|
|
|
13205
12699
|
* Regroups all mesh behaviors for the slate
|
|
13206
12700
|
*/
|
|
13207
12701
|
get defaultBehavior(): DefaultBehavior;
|
|
13208
|
-
/** @
|
|
12702
|
+
/** @internal */
|
|
13209
12703
|
_gizmo: SlateGizmo;
|
|
13210
12704
|
protected _titleBar: BABYLON.Mesh;
|
|
13211
12705
|
protected _titleBarTitle: BABYLON.Mesh;
|
|
13212
12706
|
protected _contentPlate: BABYLON.Mesh;
|
|
13213
12707
|
protected _backPlate: BABYLON.Mesh;
|
|
13214
|
-
/** @
|
|
12708
|
+
/** @internal */
|
|
13215
12709
|
_followButton: TouchHolographicButton;
|
|
13216
12710
|
protected _closeButton: TouchHolographicButton;
|
|
13217
12711
|
protected _contentScaleRatio: number;
|
|
@@ -13257,21 +12751,20 @@ declare module BABYLON.GUI {
|
|
|
13257
12751
|
private _addControl;
|
|
13258
12752
|
protected _getTypeName(): string;
|
|
13259
12753
|
/**
|
|
13260
|
-
* @
|
|
12754
|
+
* @internal
|
|
13261
12755
|
*/
|
|
13262
12756
|
_positionElements(): void;
|
|
13263
12757
|
private _applyContentViewport;
|
|
13264
12758
|
private _resetContentPositionAndZoom;
|
|
13265
12759
|
/**
|
|
13266
|
-
* @
|
|
12760
|
+
* @internal
|
|
13267
12761
|
*/
|
|
13268
12762
|
_updatePivot(): void;
|
|
13269
12763
|
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
13270
12764
|
private _attachContentPlateBehavior;
|
|
13271
12765
|
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
13272
12766
|
/**
|
|
13273
|
-
* @
|
|
13274
|
-
* @hidden*
|
|
12767
|
+
* @internal*
|
|
13275
12768
|
*/
|
|
13276
12769
|
_prepareNode(scene: BABYLON.Scene): void;
|
|
13277
12770
|
/**
|
|
@@ -13292,7 +12785,7 @@ declare module BABYLON.GUI {
|
|
|
13292
12785
|
* Class used to create an interactable object. It's a 3D button using a mesh coming from the current scene
|
|
13293
12786
|
*/
|
|
13294
12787
|
export class MeshButton3D extends Button3D {
|
|
13295
|
-
/** @
|
|
12788
|
+
/** @internal */
|
|
13296
12789
|
protected _currentMesh: BABYLON.Mesh;
|
|
13297
12790
|
/**
|
|
13298
12791
|
* Creates a new 3D button based on a mesh
|
|
@@ -13546,10 +13039,7 @@ declare module BABYLON.GUI {
|
|
|
13546
13039
|
getPressDepth(touchPoint: BABYLON.Vector3): number;
|
|
13547
13040
|
protected _getInteractionHeight(interactionPos: BABYLON.Vector3, basePos: BABYLON.Vector3): number;
|
|
13548
13041
|
/**
|
|
13549
|
-
* @
|
|
13550
|
-
* @param nearMeshPosition
|
|
13551
|
-
* @param activeInteractionCount
|
|
13552
|
-
* @hidden
|
|
13042
|
+
* @internal
|
|
13553
13043
|
*/
|
|
13554
13044
|
_generatePointerEventType(providedType: number, nearMeshPosition: BABYLON.Vector3, activeInteractionCount: number): number;
|
|
13555
13045
|
protected _getTypeName(): string;
|
|
@@ -13721,7 +13211,7 @@ declare module BABYLON.GUI {
|
|
|
13721
13211
|
* @since 5.0.0
|
|
13722
13212
|
*/
|
|
13723
13213
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
13724
|
-
/** @
|
|
13214
|
+
/** @internal */
|
|
13725
13215
|
protected _currentMesh: BABYLON.Mesh;
|
|
13726
13216
|
/**
|
|
13727
13217
|
* Creates a new 3D button based on a mesh
|
|
@@ -13814,7 +13304,7 @@ declare module BABYLON.GUI {
|
|
|
13814
13304
|
private _draggingObserver;
|
|
13815
13305
|
private _dragEndObserver;
|
|
13816
13306
|
/**
|
|
13817
|
-
* @
|
|
13307
|
+
* @internal
|
|
13818
13308
|
*/
|
|
13819
13309
|
_dragBehavior: BABYLON.BaseSixDofDragBehavior;
|
|
13820
13310
|
/**
|
|
@@ -13958,13 +13448,13 @@ declare module BABYLON.GUI {
|
|
|
13958
13448
|
private _pointerObserver;
|
|
13959
13449
|
private _pointerOutObserver;
|
|
13960
13450
|
private _customControlScaling;
|
|
13961
|
-
/** @
|
|
13451
|
+
/** @internal */
|
|
13962
13452
|
_lastPickedControl: Control3D;
|
|
13963
|
-
/** @
|
|
13453
|
+
/** @internal */
|
|
13964
13454
|
_lastControlOver: {
|
|
13965
13455
|
[pointerId: number]: Control3D;
|
|
13966
13456
|
};
|
|
13967
|
-
/** @
|
|
13457
|
+
/** @internal */
|
|
13968
13458
|
_lastControlDown: {
|
|
13969
13459
|
[pointerId: number]: Control3D;
|
|
13970
13460
|
};
|
|
@@ -13977,11 +13467,11 @@ declare module BABYLON.GUI {
|
|
|
13977
13467
|
* BABYLON.Observable raised when a picking happens
|
|
13978
13468
|
*/
|
|
13979
13469
|
onPickingObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.AbstractMesh>>;
|
|
13980
|
-
/** @
|
|
13470
|
+
/** @internal */
|
|
13981
13471
|
_sharedMaterials: {
|
|
13982
13472
|
[key: string]: BABYLON.Material;
|
|
13983
13473
|
};
|
|
13984
|
-
/** @
|
|
13474
|
+
/** @internal */
|
|
13985
13475
|
_touchSharedMaterials: {
|
|
13986
13476
|
[key: string]: BABYLON.Material;
|
|
13987
13477
|
};
|
|
@@ -14035,7 +13525,7 @@ declare module BABYLON.GUI {
|
|
|
14035
13525
|
|
|
14036
13526
|
|
|
14037
13527
|
|
|
14038
|
-
/** @
|
|
13528
|
+
/** @internal */
|
|
14039
13529
|
export class FluentMaterialDefines extends BABYLON.MaterialDefines {
|
|
14040
13530
|
INNERGLOW: boolean;
|
|
14041
13531
|
BORDER: boolean;
|
|
@@ -14117,14 +13607,14 @@ declare module BABYLON.GUI {
|
|
|
14117
13607
|
|
|
14118
13608
|
|
|
14119
13609
|
|
|
14120
|
-
/** @
|
|
13610
|
+
/** @internal */
|
|
14121
13611
|
export var fluentPixelShader: {
|
|
14122
13612
|
name: string;
|
|
14123
13613
|
shader: string;
|
|
14124
13614
|
};
|
|
14125
13615
|
|
|
14126
13616
|
|
|
14127
|
-
/** @
|
|
13617
|
+
/** @internal */
|
|
14128
13618
|
export var fluentVertexShader: {
|
|
14129
13619
|
name: string;
|
|
14130
13620
|
shader: string;
|
|
@@ -14158,7 +13648,7 @@ declare module BABYLON.GUI {
|
|
|
14158
13648
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
14159
13649
|
*/
|
|
14160
13650
|
absoluteSizes: boolean;
|
|
14161
|
-
/** @
|
|
13651
|
+
/** @internal */
|
|
14162
13652
|
_filterWidth: number;
|
|
14163
13653
|
/**
|
|
14164
13654
|
* Gets or sets the base color of the backplate.
|
|
@@ -14212,7 +13702,7 @@ declare module BABYLON.GUI {
|
|
|
14212
13702
|
* Gets or sets the opacity of the fluent hover glow effect corresponding to the right pointer (0.0 - 1.0). Default is 0.
|
|
14213
13703
|
*/
|
|
14214
13704
|
blobFade2: number;
|
|
14215
|
-
/** @
|
|
13705
|
+
/** @internal */
|
|
14216
13706
|
_rate: number;
|
|
14217
13707
|
/**
|
|
14218
13708
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -14222,9 +13712,9 @@ declare module BABYLON.GUI {
|
|
|
14222
13712
|
* Gets or sets the width of the highlights on the backplate line.
|
|
14223
13713
|
*/
|
|
14224
13714
|
highlightWidth: number;
|
|
14225
|
-
/** @
|
|
13715
|
+
/** @internal */
|
|
14226
13716
|
_highlightTransform: BABYLON.Vector4;
|
|
14227
|
-
/** @
|
|
13717
|
+
/** @internal */
|
|
14228
13718
|
_highlight: number;
|
|
14229
13719
|
/**
|
|
14230
13720
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -14234,17 +13724,17 @@ declare module BABYLON.GUI {
|
|
|
14234
13724
|
* Gets or sets the intensity of the iridescence effect on the backplate edges.
|
|
14235
13725
|
*/
|
|
14236
13726
|
iridescenceEdgeIntensity: number;
|
|
14237
|
-
/** @
|
|
13727
|
+
/** @internal */
|
|
14238
13728
|
_angle: number;
|
|
14239
13729
|
/**
|
|
14240
13730
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
14241
13731
|
*/
|
|
14242
13732
|
fadeOut: number;
|
|
14243
|
-
/** @
|
|
13733
|
+
/** @internal */
|
|
14244
13734
|
_reflected: boolean;
|
|
14245
|
-
/** @
|
|
13735
|
+
/** @internal */
|
|
14246
13736
|
_frequency: number;
|
|
14247
|
-
/** @
|
|
13737
|
+
/** @internal */
|
|
14248
13738
|
_verticalOffset: number;
|
|
14249
13739
|
/**
|
|
14250
13740
|
* Gets or sets the world-space position of the tip of the left index finger.
|
|
@@ -14277,14 +13767,14 @@ declare module BABYLON.GUI {
|
|
|
14277
13767
|
|
|
14278
13768
|
|
|
14279
13769
|
|
|
14280
|
-
/** @
|
|
13770
|
+
/** @internal */
|
|
14281
13771
|
export var fluentBackplatePixelShader: {
|
|
14282
13772
|
name: string;
|
|
14283
13773
|
shader: string;
|
|
14284
13774
|
};
|
|
14285
13775
|
|
|
14286
13776
|
|
|
14287
|
-
/** @
|
|
13777
|
+
/** @internal */
|
|
14288
13778
|
export var fluentBackplateVertexShader: {
|
|
14289
13779
|
name: string;
|
|
14290
13780
|
shader: string;
|
|
@@ -14472,14 +13962,14 @@ declare module BABYLON.GUI {
|
|
|
14472
13962
|
|
|
14473
13963
|
|
|
14474
13964
|
|
|
14475
|
-
/** @
|
|
13965
|
+
/** @internal */
|
|
14476
13966
|
export var fluentButtonPixelShader: {
|
|
14477
13967
|
name: string;
|
|
14478
13968
|
shader: string;
|
|
14479
13969
|
};
|
|
14480
13970
|
|
|
14481
13971
|
|
|
14482
|
-
/** @
|
|
13972
|
+
/** @internal */
|
|
14483
13973
|
export var fluentButtonVertexShader: {
|
|
14484
13974
|
name: string;
|
|
14485
13975
|
shader: string;
|
|
@@ -14538,7 +14028,7 @@ declare module BABYLON.GUI {
|
|
|
14538
14028
|
*/
|
|
14539
14029
|
dragScale: number;
|
|
14540
14030
|
/**
|
|
14541
|
-
* @
|
|
14031
|
+
* @internal
|
|
14542
14032
|
*/
|
|
14543
14033
|
_positionOffset: BABYLON.Vector3;
|
|
14544
14034
|
/**
|
|
@@ -14557,14 +14047,14 @@ declare module BABYLON.GUI {
|
|
|
14557
14047
|
|
|
14558
14048
|
|
|
14559
14049
|
|
|
14560
|
-
/** @
|
|
14050
|
+
/** @internal */
|
|
14561
14051
|
export var handlePixelShader: {
|
|
14562
14052
|
name: string;
|
|
14563
14053
|
shader: string;
|
|
14564
14054
|
};
|
|
14565
14055
|
|
|
14566
14056
|
|
|
14567
|
-
/** @
|
|
14057
|
+
/** @internal */
|
|
14568
14058
|
export var handleVertexShader: {
|
|
14569
14059
|
name: string;
|
|
14570
14060
|
shader: string;
|
|
@@ -14597,7 +14087,7 @@ declare module BABYLON.GUI {
|
|
|
14597
14087
|
* Since desktop and VR/AR have different relative sizes, it's usually best to keep this false.
|
|
14598
14088
|
*/
|
|
14599
14089
|
absoluteSizes: boolean;
|
|
14600
|
-
/** @
|
|
14090
|
+
/** @internal */
|
|
14601
14091
|
_filterWidth: number;
|
|
14602
14092
|
/**
|
|
14603
14093
|
* Gets or sets the base color of the backplate.
|
|
@@ -14623,7 +14113,7 @@ declare module BABYLON.GUI {
|
|
|
14623
14113
|
* Gets or sets the top left Radii Multiplier.
|
|
14624
14114
|
*/
|
|
14625
14115
|
radiusBottomRight: number;
|
|
14626
|
-
/** @
|
|
14116
|
+
/** @internal */
|
|
14627
14117
|
_rate: number;
|
|
14628
14118
|
/**
|
|
14629
14119
|
* Gets or sets the color of the highlights on the backplate line.
|
|
@@ -14633,9 +14123,9 @@ declare module BABYLON.GUI {
|
|
|
14633
14123
|
* Gets or sets the width of the highlights on the backplate line.
|
|
14634
14124
|
*/
|
|
14635
14125
|
highlightWidth: number;
|
|
14636
|
-
/** @
|
|
14126
|
+
/** @internal */
|
|
14637
14127
|
_highlightTransform: BABYLON.Vector4;
|
|
14638
|
-
/** @
|
|
14128
|
+
/** @internal */
|
|
14639
14129
|
_highlight: number;
|
|
14640
14130
|
/**
|
|
14641
14131
|
* Gets or sets the intensity of the iridescence effect.
|
|
@@ -14649,17 +14139,17 @@ declare module BABYLON.GUI {
|
|
|
14649
14139
|
* Gets or sets the Tint of the iridescence effect on the backplate.
|
|
14650
14140
|
*/
|
|
14651
14141
|
iridescenceTint: BABYLON.Color4;
|
|
14652
|
-
/** @
|
|
14142
|
+
/** @internal */
|
|
14653
14143
|
_angle: number;
|
|
14654
14144
|
/**
|
|
14655
14145
|
* Gets or sets the opacity of the backplate (0.0 - 1.0).
|
|
14656
14146
|
*/
|
|
14657
14147
|
fadeOut: number;
|
|
14658
|
-
/** @
|
|
14148
|
+
/** @internal */
|
|
14659
14149
|
_reflected: boolean;
|
|
14660
|
-
/** @
|
|
14150
|
+
/** @internal */
|
|
14661
14151
|
_frequency: number;
|
|
14662
|
-
/** @
|
|
14152
|
+
/** @internal */
|
|
14663
14153
|
_verticalOffset: number;
|
|
14664
14154
|
/**
|
|
14665
14155
|
* Gets or sets the gradient color effect on the backplate.
|
|
@@ -14976,43 +14466,43 @@ declare module BABYLON.GUI {
|
|
|
14976
14466
|
*/
|
|
14977
14467
|
iridescenceIntensity: number;
|
|
14978
14468
|
/**
|
|
14979
|
-
* @
|
|
14469
|
+
* @internal
|
|
14980
14470
|
*/
|
|
14981
14471
|
useGlobalLeftIndex: number;
|
|
14982
14472
|
/**
|
|
14983
|
-
* @
|
|
14473
|
+
* @internal
|
|
14984
14474
|
*/
|
|
14985
14475
|
useGlobalRightIndex: number;
|
|
14986
14476
|
/**
|
|
14987
|
-
* @
|
|
14477
|
+
* @internal
|
|
14988
14478
|
*/
|
|
14989
14479
|
globalLeftIndexTipProximity: number;
|
|
14990
14480
|
/**
|
|
14991
|
-
* @
|
|
14481
|
+
* @internal
|
|
14992
14482
|
*/
|
|
14993
14483
|
globalRightIndexTipProximity: number;
|
|
14994
14484
|
/**
|
|
14995
|
-
* @
|
|
14485
|
+
* @internal
|
|
14996
14486
|
*/
|
|
14997
14487
|
globalLeftIndexTipPosition: BABYLON.Vector4;
|
|
14998
14488
|
/**
|
|
14999
|
-
* @
|
|
14489
|
+
* @internal
|
|
15000
14490
|
*/
|
|
15001
14491
|
globaRightIndexTipPosition: BABYLON.Vector4;
|
|
15002
14492
|
/**
|
|
15003
|
-
* @
|
|
14493
|
+
* @internal
|
|
15004
14494
|
*/
|
|
15005
14495
|
globalLeftThumbTipPosition: BABYLON.Vector4;
|
|
15006
14496
|
/**
|
|
15007
|
-
* @
|
|
14497
|
+
* @internal
|
|
15008
14498
|
*/
|
|
15009
14499
|
globalRightThumbTipPosition: BABYLON.Vector4;
|
|
15010
14500
|
/**
|
|
15011
|
-
* @
|
|
14501
|
+
* @internal
|
|
15012
14502
|
*/
|
|
15013
14503
|
globalLeftIndexMiddlePosition: BABYLON.Vector4;
|
|
15014
14504
|
/**
|
|
15015
|
-
* @
|
|
14505
|
+
* @internal
|
|
15016
14506
|
*/
|
|
15017
14507
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
15018
14508
|
constructor(name: string, scene?: BABYLON.Scene);
|
|
@@ -15298,43 +14788,43 @@ declare module BABYLON.GUI {
|
|
|
15298
14788
|
*/
|
|
15299
14789
|
iridescenceIntensity: number;
|
|
15300
14790
|
/**
|
|
15301
|
-
* @
|
|
14791
|
+
* @internal
|
|
15302
14792
|
*/
|
|
15303
14793
|
useGlobalLeftIndex: number;
|
|
15304
14794
|
/**
|
|
15305
|
-
* @
|
|
14795
|
+
* @internal
|
|
15306
14796
|
*/
|
|
15307
14797
|
useGlobalRightIndex: number;
|
|
15308
14798
|
/**
|
|
15309
|
-
* @
|
|
14799
|
+
* @internal
|
|
15310
14800
|
*/
|
|
15311
14801
|
globalLeftIndexTipProximity: number;
|
|
15312
14802
|
/**
|
|
15313
|
-
* @
|
|
14803
|
+
* @internal
|
|
15314
14804
|
*/
|
|
15315
14805
|
globalRightIndexTipProximity: number;
|
|
15316
14806
|
/**
|
|
15317
|
-
* @
|
|
14807
|
+
* @internal
|
|
15318
14808
|
*/
|
|
15319
14809
|
globalLeftIndexTipPosition: BABYLON.Vector4;
|
|
15320
14810
|
/**
|
|
15321
|
-
* @
|
|
14811
|
+
* @internal
|
|
15322
14812
|
*/
|
|
15323
14813
|
globaRightIndexTipPosition: BABYLON.Vector4;
|
|
15324
14814
|
/**
|
|
15325
|
-
* @
|
|
14815
|
+
* @internal
|
|
15326
14816
|
*/
|
|
15327
14817
|
globalLeftThumbTipPosition: BABYLON.Vector4;
|
|
15328
14818
|
/**
|
|
15329
|
-
* @
|
|
14819
|
+
* @internal
|
|
15330
14820
|
*/
|
|
15331
14821
|
globalRightThumbTipPosition: BABYLON.Vector4;
|
|
15332
14822
|
/**
|
|
15333
|
-
* @
|
|
14823
|
+
* @internal
|
|
15334
14824
|
*/
|
|
15335
14825
|
globalLeftIndexMiddlePosition: BABYLON.Vector4;
|
|
15336
14826
|
/**
|
|
15337
|
-
* @
|
|
14827
|
+
* @internal
|
|
15338
14828
|
*/
|
|
15339
14829
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
15340
14830
|
constructor(name: string, scene?: BABYLON.Scene);
|
|
@@ -15356,42 +14846,42 @@ declare module BABYLON.GUI {
|
|
|
15356
14846
|
}
|
|
15357
14847
|
|
|
15358
14848
|
|
|
15359
|
-
/** @
|
|
14849
|
+
/** @internal */
|
|
15360
14850
|
export var mrdlBackplatePixelShader: {
|
|
15361
14851
|
name: string;
|
|
15362
14852
|
shader: string;
|
|
15363
14853
|
};
|
|
15364
14854
|
|
|
15365
14855
|
|
|
15366
|
-
/** @
|
|
14856
|
+
/** @internal */
|
|
15367
14857
|
export var mrdlBackplateVertexShader: {
|
|
15368
14858
|
name: string;
|
|
15369
14859
|
shader: string;
|
|
15370
14860
|
};
|
|
15371
14861
|
|
|
15372
14862
|
|
|
15373
|
-
/** @
|
|
14863
|
+
/** @internal */
|
|
15374
14864
|
export var mrdlSliderBarPixelShader: {
|
|
15375
14865
|
name: string;
|
|
15376
14866
|
shader: string;
|
|
15377
14867
|
};
|
|
15378
14868
|
|
|
15379
14869
|
|
|
15380
|
-
/** @
|
|
14870
|
+
/** @internal */
|
|
15381
14871
|
export var mrdlSliderBarVertexShader: {
|
|
15382
14872
|
name: string;
|
|
15383
14873
|
shader: string;
|
|
15384
14874
|
};
|
|
15385
14875
|
|
|
15386
14876
|
|
|
15387
|
-
/** @
|
|
14877
|
+
/** @internal */
|
|
15388
14878
|
export var mrdlSliderThumbPixelShader: {
|
|
15389
14879
|
name: string;
|
|
15390
14880
|
shader: string;
|
|
15391
14881
|
};
|
|
15392
14882
|
|
|
15393
14883
|
|
|
15394
|
-
/** @
|
|
14884
|
+
/** @internal */
|
|
15395
14885
|
export var mrdlSliderThumbVertexShader: {
|
|
15396
14886
|
name: string;
|
|
15397
14887
|
shader: string;
|