babylonjs-gui 5.0.0 → 5.0.1
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 +267 -267
- package/babylon.gui.module.d.ts +267 -267
- package/package.json +2 -2
package/babylon.gui.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ declare module BABYLON.GUI {
|
|
|
3
3
|
/**
|
|
4
4
|
* This class can be used to get instrumentation data from a AdvancedDynamicTexture object
|
|
5
5
|
*/
|
|
6
|
-
export class AdvancedDynamicTextureInstrumentation implements IDisposable {
|
|
6
|
+
export class AdvancedDynamicTextureInstrumentation implements BABYLON.IDisposable {
|
|
7
7
|
/**
|
|
8
8
|
* Define the instrumented AdvancedDynamicTexture.
|
|
9
9
|
*/
|
|
@@ -91,7 +91,7 @@ declare module BABYLON.GUI {
|
|
|
91
91
|
/** @hidden */
|
|
92
92
|
_shouldBlockPointer: boolean;
|
|
93
93
|
/** @hidden */
|
|
94
|
-
_layerToDispose: Nullable<BABYLON.Layer>;
|
|
94
|
+
_layerToDispose: BABYLON.Nullable<BABYLON.Layer>;
|
|
95
95
|
/** @hidden */
|
|
96
96
|
_linkedControls: Control[];
|
|
97
97
|
private _isFullscreen;
|
|
@@ -194,7 +194,7 @@ declare module BABYLON.GUI {
|
|
|
194
194
|
/**
|
|
195
195
|
* Gets the underlying layer used to render the texture when in fullscreen mode
|
|
196
196
|
*/
|
|
197
|
-
get layer(): Nullable<BABYLON.Layer>;
|
|
197
|
+
get layer(): BABYLON.Nullable<BABYLON.Layer>;
|
|
198
198
|
/**
|
|
199
199
|
* Gets the root container control
|
|
200
200
|
*/
|
|
@@ -223,13 +223,13 @@ declare module BABYLON.GUI {
|
|
|
223
223
|
* @param name defines the name to search for
|
|
224
224
|
* @return the first control found or null
|
|
225
225
|
*/
|
|
226
|
-
getControlByName(name: string): Nullable<Control>;
|
|
226
|
+
getControlByName(name: string): BABYLON.Nullable<Control>;
|
|
227
227
|
private _getControlByKey;
|
|
228
228
|
/**
|
|
229
229
|
* Gets or sets the current focused control
|
|
230
230
|
*/
|
|
231
|
-
get focusedControl(): Nullable<IFocusableControl>;
|
|
232
|
-
set focusedControl(control: Nullable<IFocusableControl>);
|
|
231
|
+
get focusedControl(): BABYLON.Nullable<IFocusableControl>;
|
|
232
|
+
set focusedControl(control: BABYLON.Nullable<IFocusableControl>);
|
|
233
233
|
/**
|
|
234
234
|
* Gets or sets a boolean indicating if the texture must be rendered in background or foreground when in fullscreen mode
|
|
235
235
|
*/
|
|
@@ -257,7 +257,7 @@ declare module BABYLON.GUI {
|
|
|
257
257
|
* @param samplingMode defines the texture sampling mode (Texture.NEAREST_SAMPLINGMODE by default)
|
|
258
258
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
259
259
|
*/
|
|
260
|
-
constructor(name: string, width?: number, height?: number, scene?: Nullable<Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
260
|
+
constructor(name: string, width?: number, height?: number, scene?: BABYLON.Nullable<BABYLON.Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
261
261
|
/**
|
|
262
262
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
263
263
|
* @returns "AdvancedDynamicTexture"
|
|
@@ -327,14 +327,14 @@ declare module BABYLON.GUI {
|
|
|
327
327
|
* @param worldMatrix defines the world matrix to use
|
|
328
328
|
* @returns the projected position
|
|
329
329
|
*/
|
|
330
|
-
getProjectedPosition(position: BABYLON.Vector3, worldMatrix: Matrix): BABYLON.Vector2;
|
|
330
|
+
getProjectedPosition(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector2;
|
|
331
331
|
/**
|
|
332
332
|
* Get screen coordinates for a vector3
|
|
333
333
|
* @param position defines the position to project
|
|
334
334
|
* @param worldMatrix defines the world matrix to use
|
|
335
335
|
* @returns the projected position with Z
|
|
336
336
|
*/
|
|
337
|
-
getProjectedPositionWithZ(position: BABYLON.Vector3, worldMatrix: Matrix): BABYLON.Vector3;
|
|
337
|
+
getProjectedPositionWithZ(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector3;
|
|
338
338
|
private _checkUpdate;
|
|
339
339
|
private _clearMeasure;
|
|
340
340
|
private _render;
|
|
@@ -394,7 +394,7 @@ declare module BABYLON.GUI {
|
|
|
394
394
|
* @param mesh defines the mesh to attach to
|
|
395
395
|
* @param supportPointerMove defines a boolean indicating if pointer move events must be catched as well
|
|
396
396
|
*/
|
|
397
|
-
attachToMesh(mesh: AbstractMesh, supportPointerMove?: boolean): void;
|
|
397
|
+
attachToMesh(mesh: BABYLON.AbstractMesh, supportPointerMove?: boolean): void;
|
|
398
398
|
/**
|
|
399
399
|
* Move the focus to a specific control
|
|
400
400
|
* @param control defines the control which will receive the focus
|
|
@@ -447,7 +447,7 @@ declare module BABYLON.GUI {
|
|
|
447
447
|
* @param materialSetupCallback defines a custom way of creating and setting up the material on the mesh
|
|
448
448
|
* @returns a new AdvancedDynamicTexture
|
|
449
449
|
*/
|
|
450
|
-
static CreateForMesh(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void): AdvancedDynamicTexture;
|
|
450
|
+
static CreateForMesh(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: BABYLON.AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void): AdvancedDynamicTexture;
|
|
451
451
|
private static _CreateMaterial;
|
|
452
452
|
/**
|
|
453
453
|
* Creates a new AdvancedDynamicTexture in projected mode (ie. attached to a mesh) BUT do not create a new material for the mesh. You will be responsible for connecting the texture
|
|
@@ -458,7 +458,7 @@ declare module BABYLON.GUI {
|
|
|
458
458
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
459
459
|
* @returns a new AdvancedDynamicTexture
|
|
460
460
|
*/
|
|
461
|
-
static CreateForMeshTexture(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
|
461
|
+
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
|
462
462
|
/**
|
|
463
463
|
* Creates a new AdvancedDynamicTexture in fullscreen mode.
|
|
464
464
|
* In this mode the texture will rely on a layer for its rendering.
|
|
@@ -472,7 +472,7 @@ declare module BABYLON.GUI {
|
|
|
472
472
|
* @param adaptiveScaling defines whether to automatically scale root to match hardwarescaling (false by default)
|
|
473
473
|
* @returns a new AdvancedDynamicTexture
|
|
474
474
|
*/
|
|
475
|
-
static CreateFullscreenUI(name: string, foreground?: boolean, scene?: Nullable<Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
|
|
475
|
+
static CreateFullscreenUI(name: string, foreground?: boolean, scene?: BABYLON.Nullable<BABYLON.Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
|
|
476
476
|
/**
|
|
477
477
|
* Scales the texture
|
|
478
478
|
* @param ratio the scale factor to apply to both width and height
|
|
@@ -516,12 +516,12 @@ declare module BABYLON.GUI {
|
|
|
516
516
|
/**
|
|
517
517
|
* Returns the image part of the button (if any)
|
|
518
518
|
*/
|
|
519
|
-
get image(): Nullable<Image>;
|
|
519
|
+
get image(): BABYLON.Nullable<Image>;
|
|
520
520
|
private _textBlock;
|
|
521
521
|
/**
|
|
522
522
|
* Returns the image part of the button (if any)
|
|
523
523
|
*/
|
|
524
|
-
get textBlock(): Nullable<TextBlock>;
|
|
524
|
+
get textBlock(): BABYLON.Nullable<TextBlock>;
|
|
525
525
|
/**
|
|
526
526
|
* Creates a new Button
|
|
527
527
|
* @param name defines the name of the button
|
|
@@ -539,20 +539,20 @@ declare module BABYLON.GUI {
|
|
|
539
539
|
* @param deltaY
|
|
540
540
|
* @hidden
|
|
541
541
|
*/
|
|
542
|
-
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
542
|
+
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
543
543
|
/**
|
|
544
544
|
* @param target
|
|
545
545
|
* @param pi
|
|
546
546
|
* @hidden
|
|
547
547
|
*/
|
|
548
|
-
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
548
|
+
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
549
549
|
/**
|
|
550
550
|
* @param target
|
|
551
551
|
* @param pi
|
|
552
552
|
* @param force
|
|
553
553
|
* @hidden
|
|
554
554
|
*/
|
|
555
|
-
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
555
|
+
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
556
556
|
/**
|
|
557
557
|
* @param target
|
|
558
558
|
* @param coordinates
|
|
@@ -561,7 +561,7 @@ declare module BABYLON.GUI {
|
|
|
561
561
|
* @param pi
|
|
562
562
|
* @hidden
|
|
563
563
|
*/
|
|
564
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
564
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
565
565
|
/**
|
|
566
566
|
* @param target
|
|
567
567
|
* @param coordinates
|
|
@@ -571,7 +571,7 @@ declare module BABYLON.GUI {
|
|
|
571
571
|
* @param pi
|
|
572
572
|
* @hidden
|
|
573
573
|
*/
|
|
574
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
574
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
575
575
|
/**
|
|
576
576
|
* Serializes the current button
|
|
577
577
|
* @param serializationObject defines the JSON serialized object
|
|
@@ -651,7 +651,7 @@ declare module BABYLON.GUI {
|
|
|
651
651
|
* @param context
|
|
652
652
|
* @hidden
|
|
653
653
|
*/
|
|
654
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
654
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
655
655
|
/**
|
|
656
656
|
* @param target
|
|
657
657
|
* @param coordinates
|
|
@@ -660,7 +660,7 @@ declare module BABYLON.GUI {
|
|
|
660
660
|
* @param pi
|
|
661
661
|
* @hidden
|
|
662
662
|
*/
|
|
663
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
663
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
664
664
|
/**
|
|
665
665
|
* Utility function to easily create a checkbox with a header
|
|
666
666
|
* @param title defines the label to use for the header
|
|
@@ -729,14 +729,14 @@ declare module BABYLON.GUI {
|
|
|
729
729
|
* @param context
|
|
730
730
|
* @hidden
|
|
731
731
|
*/
|
|
732
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
732
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
733
733
|
private _pointerIsDown;
|
|
734
734
|
private _updateValueFromPointer;
|
|
735
735
|
private _isPointOnSquare;
|
|
736
736
|
private _isPointOnWheel;
|
|
737
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
738
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
739
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
737
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
738
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
739
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
740
740
|
_onCanvasBlur(): void;
|
|
741
741
|
/**
|
|
742
742
|
* This function expands the color picker by creating a color picker dialog with manual
|
|
@@ -787,7 +787,7 @@ declare module BABYLON.GUI {
|
|
|
787
787
|
/** @hidden */
|
|
788
788
|
protected _renderToIntermediateTexture: boolean;
|
|
789
789
|
/** @hidden */
|
|
790
|
-
protected _intermediateTexture: Nullable<BABYLON.DynamicTexture>;
|
|
790
|
+
protected _intermediateTexture: BABYLON.Nullable<BABYLON.DynamicTexture>;
|
|
791
791
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
792
792
|
get renderToIntermediateTexture(): boolean;
|
|
793
793
|
set renderToIntermediateTexture(value: boolean);
|
|
@@ -824,14 +824,14 @@ declare module BABYLON.GUI {
|
|
|
824
824
|
* @param name defines the child name to look for
|
|
825
825
|
* @returns the child control if found
|
|
826
826
|
*/
|
|
827
|
-
getChildByName(name: string): Nullable<Control>;
|
|
827
|
+
getChildByName(name: string): BABYLON.Nullable<Control>;
|
|
828
828
|
/**
|
|
829
829
|
* Gets a child using its type and its name
|
|
830
830
|
* @param name defines the child name to look for
|
|
831
831
|
* @param type defines the child type to look for
|
|
832
832
|
* @returns the child control if found
|
|
833
833
|
*/
|
|
834
|
-
getChildByType(name: string, type: string): Nullable<Control>;
|
|
834
|
+
getChildByType(name: string, type: string): BABYLON.Nullable<Control>;
|
|
835
835
|
/**
|
|
836
836
|
* Search for a specific control in children
|
|
837
837
|
* @param control defines the control to look for
|
|
@@ -843,7 +843,7 @@ declare module BABYLON.GUI {
|
|
|
843
843
|
* @param control defines the control to add
|
|
844
844
|
* @returns the current container
|
|
845
845
|
*/
|
|
846
|
-
addControl(control: Nullable<Control>): Container;
|
|
846
|
+
addControl(control: BABYLON.Nullable<Control>): Container;
|
|
847
847
|
/**
|
|
848
848
|
* Removes all controls from the current container
|
|
849
849
|
* @returns the current container
|
|
@@ -876,7 +876,7 @@ declare module BABYLON.GUI {
|
|
|
876
876
|
* @param context
|
|
877
877
|
* @hidden
|
|
878
878
|
*/
|
|
879
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
879
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
880
880
|
/**
|
|
881
881
|
* @param host
|
|
882
882
|
* @hidden
|
|
@@ -889,20 +889,20 @@ declare module BABYLON.GUI {
|
|
|
889
889
|
* @param context
|
|
890
890
|
* @hidden
|
|
891
891
|
*/
|
|
892
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
892
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
893
893
|
/**
|
|
894
894
|
* @param parentMeasure
|
|
895
895
|
* @param context
|
|
896
896
|
* @hidden
|
|
897
897
|
*/
|
|
898
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
898
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
899
899
|
protected _postMeasure(): void;
|
|
900
900
|
/**
|
|
901
901
|
* @param context
|
|
902
902
|
* @param invalidatedRectangle
|
|
903
903
|
* @hidden
|
|
904
904
|
*/
|
|
905
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
905
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
906
906
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
907
907
|
/**
|
|
908
908
|
* @param x
|
|
@@ -915,13 +915,13 @@ declare module BABYLON.GUI {
|
|
|
915
915
|
* @param deltaY
|
|
916
916
|
* @hidden
|
|
917
917
|
*/
|
|
918
|
-
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
918
|
+
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
919
919
|
/**
|
|
920
920
|
* @param parentMeasure
|
|
921
921
|
* @param context
|
|
922
922
|
* @hidden
|
|
923
923
|
*/
|
|
924
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
924
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
925
925
|
/**
|
|
926
926
|
* Serializes the current control
|
|
927
927
|
* @param serializationObject defined the JSON serialized object
|
|
@@ -955,7 +955,7 @@ declare module BABYLON.GUI {
|
|
|
955
955
|
/** @hidden */
|
|
956
956
|
_host: AdvancedDynamicTexture;
|
|
957
957
|
/** Gets or sets the control parent */
|
|
958
|
-
parent: Nullable<Container>;
|
|
958
|
+
parent: BABYLON.Nullable<Container>;
|
|
959
959
|
/** @hidden */
|
|
960
960
|
_currentMeasure: Measure;
|
|
961
961
|
/** @hidden */
|
|
@@ -1020,7 +1020,7 @@ declare module BABYLON.GUI {
|
|
|
1020
1020
|
private _highlightColor;
|
|
1021
1021
|
protected _highlightLineWidth: number;
|
|
1022
1022
|
/** @hidden */
|
|
1023
|
-
_linkedMesh: Nullable<TransformNode>;
|
|
1023
|
+
_linkedMesh: BABYLON.Nullable<BABYLON.TransformNode>;
|
|
1024
1024
|
private _fontSet;
|
|
1025
1025
|
private _dummyVector2;
|
|
1026
1026
|
private _downCount;
|
|
@@ -1271,8 +1271,8 @@ declare module BABYLON.GUI {
|
|
|
1271
1271
|
* Gets or sets style
|
|
1272
1272
|
* @see https://doc.babylonjs.com/how_to/gui#styles
|
|
1273
1273
|
*/
|
|
1274
|
-
get style(): Nullable<Style>;
|
|
1275
|
-
set style(value: Nullable<Style>);
|
|
1274
|
+
get style(): BABYLON.Nullable<Style>;
|
|
1275
|
+
set style(value: BABYLON.Nullable<Style>);
|
|
1276
1276
|
/** @hidden */
|
|
1277
1277
|
get _isFontSizeInPercentage(): boolean;
|
|
1278
1278
|
/** Gets or sets font size in pixels */
|
|
@@ -1298,7 +1298,7 @@ declare module BABYLON.GUI {
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* Gets the current linked mesh (or null if none)
|
|
1300
1300
|
*/
|
|
1301
|
-
get linkedMesh(): Nullable<TransformNode>;
|
|
1301
|
+
get linkedMesh(): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Gets or sets a value indicating the padding should work like in CSS.
|
|
1304
1304
|
* Basically, it will add the padding amount on each side of the parent control for its children.
|
|
@@ -1447,7 +1447,7 @@ declare module BABYLON.GUI {
|
|
|
1447
1447
|
* @param className defines the required type
|
|
1448
1448
|
* @returns the ascendant or null if not found
|
|
1449
1449
|
*/
|
|
1450
|
-
getAscendantOfClass(className: string): Nullable<Control>;
|
|
1450
|
+
getAscendantOfClass(className: string): BABYLON.Nullable<Control>;
|
|
1451
1451
|
/**
|
|
1452
1452
|
* Mark control element as dirty
|
|
1453
1453
|
* @param force force non visible elements to be marked too
|
|
@@ -1489,7 +1489,7 @@ declare module BABYLON.GUI {
|
|
|
1489
1489
|
* @param position defines the target position
|
|
1490
1490
|
* @param scene defines the hosting scene
|
|
1491
1491
|
*/
|
|
1492
|
-
moveToVector3(position: BABYLON.Vector3, scene: Scene): void;
|
|
1492
|
+
moveToVector3(position: BABYLON.Vector3, scene: BABYLON.Scene): void;
|
|
1493
1493
|
/**
|
|
1494
1494
|
* Will store all controls that have this control as ascendant in a given array
|
|
1495
1495
|
* @param results defines the array where to store the descendants
|
|
@@ -1509,7 +1509,7 @@ declare module BABYLON.GUI {
|
|
|
1509
1509
|
* @param mesh defines the mesh to link with
|
|
1510
1510
|
* @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
1511
1511
|
*/
|
|
1512
|
-
linkWithMesh(mesh: Nullable<TransformNode>): void;
|
|
1512
|
+
linkWithMesh(mesh: BABYLON.Nullable<BABYLON.TransformNode>): void;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Shorthand function to set the top, right, bottom, and left padding values on the control.
|
|
1515
1515
|
* @param { string | number} paddingTop - The value of the top padding.
|
|
@@ -1552,7 +1552,7 @@ declare module BABYLON.GUI {
|
|
|
1552
1552
|
* @param context
|
|
1553
1553
|
* @hidden
|
|
1554
1554
|
*/
|
|
1555
|
-
_intersectsRect(rect: Measure, context?: ICanvasRenderingContext): boolean;
|
|
1555
|
+
_intersectsRect(rect: Measure, context?: BABYLON.ICanvasRenderingContext): boolean;
|
|
1556
1556
|
/** @hidden */
|
|
1557
1557
|
protected _computeAdditionnalOffsetX(): number;
|
|
1558
1558
|
/** @hidden */
|
|
@@ -1575,34 +1575,34 @@ declare module BABYLON.GUI {
|
|
|
1575
1575
|
* @param context
|
|
1576
1576
|
* @hidden
|
|
1577
1577
|
*/
|
|
1578
|
-
protected _transform(context?: ICanvasRenderingContext): void;
|
|
1578
|
+
protected _transform(context?: BABYLON.ICanvasRenderingContext): void;
|
|
1579
1579
|
/**
|
|
1580
1580
|
* @param context
|
|
1581
1581
|
* @hidden
|
|
1582
1582
|
*/
|
|
1583
|
-
_renderHighlight(context: ICanvasRenderingContext): void;
|
|
1583
|
+
_renderHighlight(context: BABYLON.ICanvasRenderingContext): void;
|
|
1584
1584
|
/**
|
|
1585
1585
|
* @param context
|
|
1586
1586
|
* @hidden
|
|
1587
1587
|
*/
|
|
1588
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
1588
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
1589
1589
|
/**
|
|
1590
1590
|
* @param context
|
|
1591
1591
|
* @hidden
|
|
1592
1592
|
*/
|
|
1593
|
-
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
1593
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
1594
1594
|
/**
|
|
1595
1595
|
* @param parentMeasure
|
|
1596
1596
|
* @param context
|
|
1597
1597
|
* @hidden
|
|
1598
1598
|
*/
|
|
1599
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
1599
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
1600
1600
|
/**
|
|
1601
1601
|
* @param parentMeasure
|
|
1602
1602
|
* @param context
|
|
1603
1603
|
* @hidden
|
|
1604
1604
|
*/
|
|
1605
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1605
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
1606
1606
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
1607
1607
|
/** @hidden */
|
|
1608
1608
|
_measure(): void;
|
|
@@ -1611,24 +1611,24 @@ declare module BABYLON.GUI {
|
|
|
1611
1611
|
* @param context
|
|
1612
1612
|
* @hidden
|
|
1613
1613
|
*/
|
|
1614
|
-
protected _computeAlignment(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1614
|
+
protected _computeAlignment(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
1615
1615
|
/**
|
|
1616
1616
|
* @param parentMeasure
|
|
1617
1617
|
* @param context
|
|
1618
1618
|
* @hidden
|
|
1619
1619
|
*/
|
|
1620
|
-
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1620
|
+
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @param parentMeasure
|
|
1623
1623
|
* @param context
|
|
1624
1624
|
* @hidden
|
|
1625
1625
|
*/
|
|
1626
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1626
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
1627
1627
|
/**
|
|
1628
1628
|
* @param context
|
|
1629
1629
|
* @hidden
|
|
1630
1630
|
*/
|
|
1631
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
1631
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
1632
1632
|
private static _ClipMeasure;
|
|
1633
1633
|
private _tmpMeasureA;
|
|
1634
1634
|
private _clip;
|
|
@@ -1637,13 +1637,13 @@ declare module BABYLON.GUI {
|
|
|
1637
1637
|
* @param invalidatedRectangle
|
|
1638
1638
|
* @hidden
|
|
1639
1639
|
*/
|
|
1640
|
-
_render(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): boolean;
|
|
1640
|
+
_render(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): boolean;
|
|
1641
1641
|
/**
|
|
1642
1642
|
* @param context
|
|
1643
1643
|
* @param invalidatedRectangle
|
|
1644
1644
|
* @hidden
|
|
1645
1645
|
*/
|
|
1646
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): void;
|
|
1646
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): void;
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Tests if a given coordinates belong to the current control
|
|
1649
1649
|
* @param x defines x coordinate to test
|
|
@@ -1662,7 +1662,7 @@ declare module BABYLON.GUI {
|
|
|
1662
1662
|
* @param deltaY
|
|
1663
1663
|
* @hidden
|
|
1664
1664
|
*/
|
|
1665
|
-
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1665
|
+
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1666
1666
|
/**
|
|
1667
1667
|
* @param target
|
|
1668
1668
|
* @param coordinates
|
|
@@ -1670,20 +1670,20 @@ declare module BABYLON.GUI {
|
|
|
1670
1670
|
* @param pi
|
|
1671
1671
|
* @hidden
|
|
1672
1672
|
*/
|
|
1673
|
-
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: Nullable<PointerInfoBase>): void;
|
|
1673
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
1674
1674
|
/**
|
|
1675
1675
|
* @param target
|
|
1676
1676
|
* @param pi
|
|
1677
1677
|
* @hidden
|
|
1678
1678
|
*/
|
|
1679
|
-
_onPointerEnter(target: Control, pi: Nullable<PointerInfoBase>): boolean;
|
|
1679
|
+
_onPointerEnter(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
1680
1680
|
/**
|
|
1681
1681
|
* @param target
|
|
1682
1682
|
* @param pi
|
|
1683
1683
|
* @param force
|
|
1684
1684
|
* @hidden
|
|
1685
1685
|
*/
|
|
1686
|
-
_onPointerOut(target: Control, pi: Nullable<PointerInfoBase>, force?: boolean): void;
|
|
1686
|
+
_onPointerOut(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, force?: boolean): void;
|
|
1687
1687
|
/**
|
|
1688
1688
|
* @param target
|
|
1689
1689
|
* @param coordinates
|
|
@@ -1692,7 +1692,7 @@ declare module BABYLON.GUI {
|
|
|
1692
1692
|
* @param pi
|
|
1693
1693
|
* @hidden
|
|
1694
1694
|
*/
|
|
1695
|
-
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: Nullable<PointerInfoBase>): boolean;
|
|
1695
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* @param target
|
|
1698
1698
|
* @param coordinates
|
|
@@ -1702,12 +1702,12 @@ declare module BABYLON.GUI {
|
|
|
1702
1702
|
* @param pi
|
|
1703
1703
|
* @hidden
|
|
1704
1704
|
*/
|
|
1705
|
-
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: Nullable<PointerInfoBase>): void;
|
|
1705
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
1706
1706
|
/**
|
|
1707
1707
|
* @param pointerId
|
|
1708
1708
|
* @hidden
|
|
1709
1709
|
*/
|
|
1710
|
-
_forcePointerUp(pointerId?: Nullable<number>): void;
|
|
1710
|
+
_forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
1711
1711
|
/**
|
|
1712
1712
|
* @param deltaX
|
|
1713
1713
|
* @param deltaY
|
|
@@ -1727,7 +1727,7 @@ declare module BABYLON.GUI {
|
|
|
1727
1727
|
* @param deltaY
|
|
1728
1728
|
* @hidden
|
|
1729
1729
|
*/
|
|
1730
|
-
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1730
|
+
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
1731
1731
|
private _prepareFont;
|
|
1732
1732
|
/**
|
|
1733
1733
|
* Serializes the current control
|
|
@@ -1789,7 +1789,7 @@ declare module BABYLON.GUI {
|
|
|
1789
1789
|
* @param context
|
|
1790
1790
|
* @hidden
|
|
1791
1791
|
*/
|
|
1792
|
-
protected static drawEllipse(x: number, y: number, width: number, height: number, context: ICanvasRenderingContext): void;
|
|
1792
|
+
protected static drawEllipse(x: number, y: number, width: number, height: number, context: BABYLON.ICanvasRenderingContext): void;
|
|
1793
1793
|
}
|
|
1794
1794
|
|
|
1795
1795
|
|
|
@@ -1841,7 +1841,7 @@ declare module BABYLON.GUI {
|
|
|
1841
1841
|
* @param name defines the control name
|
|
1842
1842
|
*/
|
|
1843
1843
|
constructor(name?: string | undefined);
|
|
1844
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
1844
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
1845
1845
|
protected _getTypeName(): string;
|
|
1846
1846
|
}
|
|
1847
1847
|
|
|
@@ -1859,10 +1859,10 @@ declare module BABYLON.GUI {
|
|
|
1859
1859
|
*/
|
|
1860
1860
|
constructor(name?: string | undefined);
|
|
1861
1861
|
protected _getTypeName(): string;
|
|
1862
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
1863
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
1864
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
1865
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
1862
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
1863
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
1864
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
1865
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
|
|
@@ -1873,7 +1873,7 @@ declare module BABYLON.GUI {
|
|
|
1873
1873
|
export class FocusableButton extends Button implements IFocusableControl {
|
|
1874
1874
|
name?: string | undefined;
|
|
1875
1875
|
/** Highlight color when button is focused */
|
|
1876
|
-
focusedColor: Nullable<string>;
|
|
1876
|
+
focusedColor: BABYLON.Nullable<string>;
|
|
1877
1877
|
private _isFocused;
|
|
1878
1878
|
private _unfocusedColor;
|
|
1879
1879
|
/** BABYLON.Observable raised when the control gets the focus */
|
|
@@ -1881,7 +1881,7 @@ declare module BABYLON.GUI {
|
|
|
1881
1881
|
/** BABYLON.Observable raised when the control loses the focus */
|
|
1882
1882
|
onBlurObservable: BABYLON.Observable<Button>;
|
|
1883
1883
|
/** BABYLON.Observable raised when a key event was processed */
|
|
1884
|
-
onKeyboardEventProcessedObservable: BABYLON.Observable<IKeyboardEvent>;
|
|
1884
|
+
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
1885
1885
|
constructor(name?: string | undefined);
|
|
1886
1886
|
/** @hidden */
|
|
1887
1887
|
onBlur(): void;
|
|
@@ -1891,7 +1891,7 @@ declare module BABYLON.GUI {
|
|
|
1891
1891
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
1892
1892
|
* @returns an array of controls
|
|
1893
1893
|
*/
|
|
1894
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
1894
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Function to focus a button programmatically
|
|
1897
1897
|
*/
|
|
@@ -1904,7 +1904,7 @@ declare module BABYLON.GUI {
|
|
|
1904
1904
|
* Handles the keyboard event
|
|
1905
1905
|
* @param evt Defines the KeyboardEvent
|
|
1906
1906
|
*/
|
|
1907
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
1907
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
1908
1908
|
/**
|
|
1909
1909
|
* @param target
|
|
1910
1910
|
* @param coordinates
|
|
@@ -1913,7 +1913,7 @@ declare module BABYLON.GUI {
|
|
|
1913
1913
|
* @param pi
|
|
1914
1914
|
* @hidden
|
|
1915
1915
|
*/
|
|
1916
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
1916
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
1917
1917
|
/** @hidden */
|
|
1918
1918
|
displose(): void;
|
|
1919
1919
|
}
|
|
@@ -1935,12 +1935,12 @@ declare module BABYLON.GUI {
|
|
|
1935
1935
|
* Function called to let the control handle keyboard events
|
|
1936
1936
|
* @param evt defines the current keyboard event
|
|
1937
1937
|
*/
|
|
1938
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
1938
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
1939
1939
|
/**
|
|
1940
1940
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
1941
1941
|
* @returns an array of controls
|
|
1942
1942
|
*/
|
|
1943
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
1943
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
1944
1944
|
/**
|
|
1945
1945
|
* Function to focus the control programmatically
|
|
1946
1946
|
*/
|
|
@@ -1982,13 +1982,13 @@ declare module BABYLON.GUI {
|
|
|
1982
1982
|
* @param index defines the index of the row
|
|
1983
1983
|
* @returns the row definition
|
|
1984
1984
|
*/
|
|
1985
|
-
getRowDefinition(index: number): Nullable<ValueAndUnit>;
|
|
1985
|
+
getRowDefinition(index: number): BABYLON.Nullable<ValueAndUnit>;
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Gets the definition of a specific column
|
|
1988
1988
|
* @param index defines the index of the column
|
|
1989
1989
|
* @returns the column definition
|
|
1990
1990
|
*/
|
|
1991
|
-
getColumnDefinition(index: number): Nullable<ValueAndUnit>;
|
|
1991
|
+
getColumnDefinition(index: number): BABYLON.Nullable<ValueAndUnit>;
|
|
1992
1992
|
/**
|
|
1993
1993
|
* Adds a new row to the grid
|
|
1994
1994
|
* @param height defines the height of the row (either in pixel or a value between 0 and 1)
|
|
@@ -2025,7 +2025,7 @@ declare module BABYLON.GUI {
|
|
|
2025
2025
|
* @param column defines the column to check
|
|
2026
2026
|
* @returns the list of controls
|
|
2027
2027
|
*/
|
|
2028
|
-
getChildrenAt(row: number, column: number): Nullable<Array<Control>>;
|
|
2028
|
+
getChildrenAt(row: number, column: number): BABYLON.Nullable<Array<Control>>;
|
|
2029
2029
|
/**
|
|
2030
2030
|
* Gets a string representing the child cell info (row x column)
|
|
2031
2031
|
* @param child defines the control to get info from
|
|
@@ -2067,9 +2067,9 @@ declare module BABYLON.GUI {
|
|
|
2067
2067
|
constructor(name?: string | undefined);
|
|
2068
2068
|
protected _getTypeName(): string;
|
|
2069
2069
|
protected _getGridDefinitions(definitionCallback: (lefts: number[], tops: number[], widths: number[], heights: number[]) => void): void;
|
|
2070
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2070
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
2071
2071
|
_flagDescendantsAsMatrixDirty(): void;
|
|
2072
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
2072
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
2073
2073
|
/** Releases associated resources */
|
|
2074
2074
|
dispose(): void;
|
|
2075
2075
|
/**
|
|
@@ -2211,17 +2211,17 @@ declare module BABYLON.GUI {
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* Gets or sets the internal DOM image used to render the control
|
|
2213
2213
|
*/
|
|
2214
|
-
set domImage(value: IImage);
|
|
2215
|
-
get domImage(): IImage;
|
|
2214
|
+
set domImage(value: BABYLON.IImage);
|
|
2215
|
+
get domImage(): BABYLON.IImage;
|
|
2216
2216
|
private _onImageLoaded;
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Gets the image source url
|
|
2219
2219
|
*/
|
|
2220
|
-
get source(): Nullable<string>;
|
|
2220
|
+
get source(): BABYLON.Nullable<string>;
|
|
2221
2221
|
/**
|
|
2222
2222
|
* Gets or sets image source url
|
|
2223
2223
|
*/
|
|
2224
|
-
set source(value: Nullable<string>);
|
|
2224
|
+
set source(value: BABYLON.Nullable<string>);
|
|
2225
2225
|
/**
|
|
2226
2226
|
* Checks for svg document with icon id present
|
|
2227
2227
|
* @param value
|
|
@@ -2257,7 +2257,7 @@ declare module BABYLON.GUI {
|
|
|
2257
2257
|
* @param name defines the control name
|
|
2258
2258
|
* @param url defines the image url
|
|
2259
2259
|
*/
|
|
2260
|
-
constructor(name?: string | undefined, url?: Nullable<string>);
|
|
2260
|
+
constructor(name?: string | undefined, url?: BABYLON.Nullable<string>);
|
|
2261
2261
|
/**
|
|
2262
2262
|
* Tests if a given coordinates belong to the current control
|
|
2263
2263
|
* @param x defines x coordinate to test
|
|
@@ -2268,10 +2268,10 @@ declare module BABYLON.GUI {
|
|
|
2268
2268
|
protected _getTypeName(): string;
|
|
2269
2269
|
/** Force the control to synchronize with its content */
|
|
2270
2270
|
synchronizeSizeWithContent(): void;
|
|
2271
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2271
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
2272
2272
|
private _prepareWorkingCanvasForOpaqueDetection;
|
|
2273
2273
|
private _drawImage;
|
|
2274
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
2274
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2275
2275
|
private _renderNinePatch;
|
|
2276
2276
|
dispose(): void;
|
|
2277
2277
|
/** STRETCH_NONE */
|
|
@@ -2337,7 +2337,7 @@ declare module BABYLON.GUI {
|
|
|
2337
2337
|
private _onClipboardObserver;
|
|
2338
2338
|
private _onPointerDblTapObserver;
|
|
2339
2339
|
/** @hidden */
|
|
2340
|
-
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
2340
|
+
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
2341
2341
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
2342
2342
|
promptMessage: string;
|
|
2343
2343
|
/** Force disable prompt on mobile device */
|
|
@@ -2359,7 +2359,7 @@ declare module BABYLON.GUI {
|
|
|
2359
2359
|
/** BABYLON.Observable raised when paste event is triggered */
|
|
2360
2360
|
onTextPasteObservable: BABYLON.Observable<InputText>;
|
|
2361
2361
|
/** BABYLON.Observable raised when a key event was processed */
|
|
2362
|
-
onKeyboardEventProcessedObservable: BABYLON.Observable<IKeyboardEvent>;
|
|
2362
|
+
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
2363
2363
|
/** Gets or sets the maximum width allowed by the control */
|
|
2364
2364
|
get maxWidth(): string | number;
|
|
2365
2365
|
/** Gets the maximum width allowed by the control in pixels */
|
|
@@ -2442,14 +2442,14 @@ declare module BABYLON.GUI {
|
|
|
2442
2442
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
2443
2443
|
* @returns an array of controls
|
|
2444
2444
|
*/
|
|
2445
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
2445
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
2446
2446
|
/**
|
|
2447
2447
|
* @param keyCode
|
|
2448
2448
|
* @param key
|
|
2449
2449
|
* @param evt
|
|
2450
2450
|
* @hidden
|
|
2451
2451
|
*/
|
|
2452
|
-
processKey(keyCode: number, key?: string, evt?: IKeyboardEvent): void;
|
|
2452
|
+
processKey(keyCode: number, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
2453
2453
|
/**
|
|
2454
2454
|
* @param offset
|
|
2455
2455
|
* @hidden
|
|
@@ -2466,7 +2466,7 @@ declare module BABYLON.GUI {
|
|
|
2466
2466
|
* Handles the keyboard event
|
|
2467
2467
|
* @param evt Defines the KeyboardEvent
|
|
2468
2468
|
*/
|
|
2469
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
2469
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
2470
2470
|
/**
|
|
2471
2471
|
* @param ev
|
|
2472
2472
|
* @hidden
|
|
@@ -2482,10 +2482,10 @@ declare module BABYLON.GUI {
|
|
|
2482
2482
|
* @hidden
|
|
2483
2483
|
*/
|
|
2484
2484
|
private _onPasteText;
|
|
2485
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
2486
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
2487
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
2488
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
2485
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2486
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
2487
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
2488
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
2489
2489
|
protected _beforeRenderText(textWrapper: TextWrapper): TextWrapper;
|
|
2490
2490
|
dispose(): void;
|
|
2491
2491
|
}
|
|
@@ -2535,16 +2535,16 @@ declare module BABYLON.GUI {
|
|
|
2535
2535
|
*/
|
|
2536
2536
|
constructor(name?: string | undefined);
|
|
2537
2537
|
protected _getTypeName(): string;
|
|
2538
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
2538
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2539
2539
|
_measure(): void;
|
|
2540
2540
|
protected _computeAlignment(parentMeasure: Measure): void;
|
|
2541
2541
|
/**
|
|
2542
2542
|
* Move one end of the line given 3D cartesian coordinates.
|
|
2543
2543
|
* @param position Targeted world position
|
|
2544
|
-
* @param scene Scene
|
|
2544
|
+
* @param scene BABYLON.Scene
|
|
2545
2545
|
* @param end (opt) Set to true to assign x2 and y2 coordinates of the line. Default assign to x1 and y1.
|
|
2546
2546
|
*/
|
|
2547
|
-
moveToVector3(position: BABYLON.Vector3, scene: Scene, end?: boolean): void;
|
|
2547
|
+
moveToVector3(position: BABYLON.Vector3, scene: BABYLON.Scene, end?: boolean): void;
|
|
2548
2548
|
/**
|
|
2549
2549
|
* Move one end of the line to a position in screen absolute space.
|
|
2550
2550
|
* @param projectedPosition Position in screen absolute space (X, Y)
|
|
@@ -2619,7 +2619,7 @@ declare module BABYLON.GUI {
|
|
|
2619
2619
|
set horizontalAlignment(value: number);
|
|
2620
2620
|
set verticalAlignment(value: number);
|
|
2621
2621
|
protected _getTypeName(): string;
|
|
2622
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
2622
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2623
2623
|
protected _additionalProcessing(): void;
|
|
2624
2624
|
_measure(): void;
|
|
2625
2625
|
protected _computeAlignment(): void;
|
|
@@ -2658,8 +2658,8 @@ declare module BABYLON.GUI {
|
|
|
2658
2658
|
*/
|
|
2659
2659
|
constructor(name?: string | undefined);
|
|
2660
2660
|
protected _getTypeName(): string;
|
|
2661
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
2662
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
2661
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2662
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Utility function to easily create a radio button with a header
|
|
2665
2665
|
* @param title defines the label to use for the header
|
|
@@ -2693,10 +2693,10 @@ declare module BABYLON.GUI {
|
|
|
2693
2693
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
2694
2694
|
/** @hidden */
|
|
2695
2695
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
2696
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
2697
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2696
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
2697
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
2698
2698
|
private _drawRoundedRect;
|
|
2699
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
2699
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
2700
2700
|
}
|
|
2701
2701
|
|
|
2702
2702
|
|
|
@@ -2746,7 +2746,7 @@ declare module BABYLON.GUI {
|
|
|
2746
2746
|
* @param control defines the control to add
|
|
2747
2747
|
* @returns the current container
|
|
2748
2748
|
*/
|
|
2749
|
-
addControl(control: Nullable<Control>): Container;
|
|
2749
|
+
addControl(control: BABYLON.Nullable<Control>): Container;
|
|
2750
2750
|
/**
|
|
2751
2751
|
* Removes a control from the current container
|
|
2752
2752
|
* @param control defines the control to remove
|
|
@@ -2801,7 +2801,7 @@ declare module BABYLON.GUI {
|
|
|
2801
2801
|
resetWindow(): void;
|
|
2802
2802
|
protected _getTypeName(): string;
|
|
2803
2803
|
private _buildClientSizes;
|
|
2804
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2804
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
2805
2805
|
protected _postMeasure(): void;
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Gets or sets the mouse wheel precision
|
|
@@ -2868,7 +2868,7 @@ declare module BABYLON.GUI {
|
|
|
2868
2868
|
private _addBar;
|
|
2869
2869
|
/** @hidden */
|
|
2870
2870
|
private _attachWheel;
|
|
2871
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
2871
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
2872
2872
|
/** Releases associated resources */
|
|
2873
2873
|
dispose(): void;
|
|
2874
2874
|
}
|
|
@@ -2911,13 +2911,13 @@ declare module BABYLON.GUI {
|
|
|
2911
2911
|
* @param context
|
|
2912
2912
|
* @hidden
|
|
2913
2913
|
*/
|
|
2914
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
2914
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
2915
2915
|
/**
|
|
2916
2916
|
* @param parentMeasure
|
|
2917
2917
|
* @param context
|
|
2918
2918
|
* @hidden
|
|
2919
2919
|
*/
|
|
2920
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
2920
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
2921
2921
|
private _scrollChildren;
|
|
2922
2922
|
private _scrollChildrenWithBuckets;
|
|
2923
2923
|
/**
|
|
@@ -2925,7 +2925,7 @@ declare module BABYLON.GUI {
|
|
|
2925
2925
|
* @param invalidatedRectangle
|
|
2926
2926
|
* @hidden
|
|
2927
2927
|
*/
|
|
2928
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
2928
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
2929
2929
|
protected _postMeasure(): void;
|
|
2930
2930
|
}
|
|
2931
2931
|
|
|
@@ -3265,9 +3265,9 @@ declare module BABYLON.GUI {
|
|
|
3265
3265
|
* @hidden
|
|
3266
3266
|
*/
|
|
3267
3267
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3268
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
3269
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
3270
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
3268
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
3269
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
3270
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
3271
3271
|
_onCanvasBlur(): void;
|
|
3272
3272
|
}
|
|
3273
3273
|
|
|
@@ -3304,7 +3304,7 @@ declare module BABYLON.GUI {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
constructor(name?: string | undefined);
|
|
3306
3306
|
protected _getTypeName(): string;
|
|
3307
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
3307
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3308
3308
|
/**
|
|
3309
3309
|
* Serializes the current control
|
|
3310
3310
|
* @param serializationObject defined the JSON serialized object
|
|
@@ -3366,7 +3366,7 @@ declare module BABYLON.GUI {
|
|
|
3366
3366
|
constructor(name?: string | undefined);
|
|
3367
3367
|
protected _getTypeName(): string;
|
|
3368
3368
|
protected _getThumbThickness(): number;
|
|
3369
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
3369
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3370
3370
|
private _first;
|
|
3371
3371
|
private _originX;
|
|
3372
3372
|
private _originY;
|
|
@@ -3376,7 +3376,7 @@ declare module BABYLON.GUI {
|
|
|
3376
3376
|
* @hidden
|
|
3377
3377
|
*/
|
|
3378
3378
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3379
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
3379
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
3380
3380
|
}
|
|
3381
3381
|
|
|
3382
3382
|
|
|
@@ -3401,7 +3401,7 @@ declare module BABYLON.GUI {
|
|
|
3401
3401
|
constructor(name?: string | undefined);
|
|
3402
3402
|
protected _getTypeName(): string;
|
|
3403
3403
|
protected _getThumbThickness(): number;
|
|
3404
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
3404
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3405
3405
|
private _first;
|
|
3406
3406
|
private _originX;
|
|
3407
3407
|
private _originY;
|
|
@@ -3411,7 +3411,7 @@ declare module BABYLON.GUI {
|
|
|
3411
3411
|
* @hidden
|
|
3412
3412
|
*/
|
|
3413
3413
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
3414
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
3414
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
3415
3415
|
}
|
|
3416
3416
|
|
|
3417
3417
|
|
|
@@ -3446,7 +3446,7 @@ declare module BABYLON.GUI {
|
|
|
3446
3446
|
*/
|
|
3447
3447
|
constructor(name?: string | undefined);
|
|
3448
3448
|
protected _getTypeName(): string;
|
|
3449
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
3449
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3450
3450
|
}
|
|
3451
3451
|
|
|
3452
3452
|
|
|
@@ -3495,8 +3495,8 @@ declare module BABYLON.GUI {
|
|
|
3495
3495
|
* @param context
|
|
3496
3496
|
* @hidden
|
|
3497
3497
|
*/
|
|
3498
|
-
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3499
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3498
|
+
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
3499
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
3500
3500
|
protected _postMeasure(): void;
|
|
3501
3501
|
/**
|
|
3502
3502
|
* Serializes the current control
|
|
@@ -3570,7 +3570,7 @@ declare module BABYLON.GUI {
|
|
|
3570
3570
|
/**
|
|
3571
3571
|
* Function used to split a string into words. By default, a string is split at each space character found
|
|
3572
3572
|
*/
|
|
3573
|
-
wordSplittingFunction: Nullable<(line: string) => string[]>;
|
|
3573
|
+
wordSplittingFunction: BABYLON.Nullable<(line: string) => string[]>;
|
|
3574
3574
|
/**
|
|
3575
3575
|
* Return the line list (you may need to use the onLinesReadyObservable to make sure the list is ready)
|
|
3576
3576
|
*/
|
|
@@ -3666,21 +3666,21 @@ declare module BABYLON.GUI {
|
|
|
3666
3666
|
*/
|
|
3667
3667
|
name?: string | undefined, text?: string);
|
|
3668
3668
|
protected _getTypeName(): string;
|
|
3669
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
3669
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
3670
3670
|
private _drawText;
|
|
3671
3671
|
/**
|
|
3672
3672
|
* @param context
|
|
3673
3673
|
* @hidden
|
|
3674
3674
|
*/
|
|
3675
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
3676
|
-
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
3677
|
-
protected _breakLines(refWidth: number, refHeight: number, context: ICanvasRenderingContext): object[];
|
|
3678
|
-
protected _parseLine(line: string | undefined, context: ICanvasRenderingContext): object;
|
|
3675
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
3676
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
3677
|
+
protected _breakLines(refWidth: number, refHeight: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
3678
|
+
protected _parseLine(line: string | undefined, context: BABYLON.ICanvasRenderingContext): object;
|
|
3679
3679
|
private _getCharsToRemove;
|
|
3680
|
-
protected _parseLineEllipsis(line: string | undefined, width: number, context: ICanvasRenderingContext): object;
|
|
3681
|
-
protected _parseLineWordWrap(line: string | undefined, width: number, context: ICanvasRenderingContext): object[];
|
|
3682
|
-
protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: ICanvasRenderingContext): object[];
|
|
3683
|
-
protected _renderLines(context: ICanvasRenderingContext): void;
|
|
3680
|
+
protected _parseLineEllipsis(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object;
|
|
3681
|
+
protected _parseLineWordWrap(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
3682
|
+
protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
3683
|
+
protected _renderLines(context: BABYLON.ICanvasRenderingContext): void;
|
|
3684
3684
|
private _computeHeightForLinesOf;
|
|
3685
3685
|
/**
|
|
3686
3686
|
* Given a width constraint applied on the text block, find the expected height
|
|
@@ -3784,20 +3784,20 @@ declare module BABYLON.GUI {
|
|
|
3784
3784
|
* @param deltaY
|
|
3785
3785
|
* @hidden
|
|
3786
3786
|
*/
|
|
3787
|
-
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
3787
|
+
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
3788
3788
|
/**
|
|
3789
3789
|
* @param target
|
|
3790
3790
|
* @param pi
|
|
3791
3791
|
* @hidden
|
|
3792
3792
|
*/
|
|
3793
|
-
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
3793
|
+
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
3794
3794
|
/**
|
|
3795
3795
|
* @param target
|
|
3796
3796
|
* @param pi
|
|
3797
3797
|
* @param force
|
|
3798
3798
|
* @hidden
|
|
3799
3799
|
*/
|
|
3800
|
-
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
3800
|
+
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
3801
3801
|
/**
|
|
3802
3802
|
* @param target
|
|
3803
3803
|
* @param coordinates
|
|
@@ -3806,7 +3806,7 @@ declare module BABYLON.GUI {
|
|
|
3806
3806
|
* @param pi
|
|
3807
3807
|
* @hidden
|
|
3808
3808
|
*/
|
|
3809
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
3809
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
3810
3810
|
/**
|
|
3811
3811
|
* @param target
|
|
3812
3812
|
* @param coordinates
|
|
@@ -3816,7 +3816,7 @@ declare module BABYLON.GUI {
|
|
|
3816
3816
|
* @param pi
|
|
3817
3817
|
* @hidden
|
|
3818
3818
|
*/
|
|
3819
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
3819
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
3820
3820
|
}
|
|
3821
3821
|
|
|
3822
3822
|
|
|
@@ -3886,7 +3886,7 @@ declare module BABYLON.GUI {
|
|
|
3886
3886
|
private _connectedInputTexts;
|
|
3887
3887
|
private _onKeyPressObserver;
|
|
3888
3888
|
/** Gets the input text control currently attached to the keyboard */
|
|
3889
|
-
get connectedInputText(): Nullable<InputText>;
|
|
3889
|
+
get connectedInputText(): BABYLON.Nullable<InputText>;
|
|
3890
3890
|
/**
|
|
3891
3891
|
* Connects the keyboard with an input text control
|
|
3892
3892
|
*
|
|
@@ -4029,7 +4029,7 @@ declare module BABYLON.GUI {
|
|
|
4029
4029
|
* @param parentMatrix defines the parent matrix to multiply by (can be null)
|
|
4030
4030
|
* @param result defines the target matrix
|
|
4031
4031
|
*/
|
|
4032
|
-
static ComposeToRef(tx: number, ty: number, angle: number, scaleX: number, scaleY: number, parentMatrix: Nullable<Matrix2D>, result: Matrix2D): void;
|
|
4032
|
+
static ComposeToRef(tx: number, ty: number, angle: number, scaleX: number, scaleY: number, parentMatrix: BABYLON.Nullable<Matrix2D>, result: Matrix2D): void;
|
|
4033
4033
|
}
|
|
4034
4034
|
|
|
4035
4035
|
|
|
@@ -4137,11 +4137,11 @@ declare module BABYLON.GUI {
|
|
|
4137
4137
|
get y(): string | number;
|
|
4138
4138
|
set y(value: string | number);
|
|
4139
4139
|
/** Gets or sets the control associated with this point */
|
|
4140
|
-
get control(): Nullable<Control>;
|
|
4141
|
-
set control(value: Nullable<Control>);
|
|
4140
|
+
get control(): BABYLON.Nullable<Control>;
|
|
4141
|
+
set control(value: BABYLON.Nullable<Control>);
|
|
4142
4142
|
/** Gets or sets the mesh associated with this point */
|
|
4143
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
4144
|
-
set mesh(value: Nullable<AbstractMesh>);
|
|
4143
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
4144
|
+
set mesh(value: BABYLON.Nullable<BABYLON.AbstractMesh>);
|
|
4145
4145
|
/** Resets links */
|
|
4146
4146
|
resetLinks(): void;
|
|
4147
4147
|
/**
|
|
@@ -4159,7 +4159,7 @@ declare module BABYLON.GUI {
|
|
|
4159
4159
|
* Define a style used by control to automatically setup properties based on a template.
|
|
4160
4160
|
* Only support font related properties so far
|
|
4161
4161
|
*/
|
|
4162
|
-
export class Style implements IDisposable {
|
|
4162
|
+
export class Style implements BABYLON.IDisposable {
|
|
4163
4163
|
private _fontFamily;
|
|
4164
4164
|
private _fontStyle;
|
|
4165
4165
|
private _fontWeight;
|
|
@@ -4338,7 +4338,7 @@ declare module BABYLON.GUI {
|
|
|
4338
4338
|
* @param onSuccess defines the callback called on layout load successfully.
|
|
4339
4339
|
* @param onError defines the callback called on layout load failure.
|
|
4340
4340
|
*/
|
|
4341
|
-
loadLayout(xmlFile: any, rootNode: any, onSuccess?: Nullable<() => void>, onError?: Nullable<(error: string) => void>): void;
|
|
4341
|
+
loadLayout(xmlFile: any, rootNode: any, onSuccess?: BABYLON.Nullable<() => void>, onError?: BABYLON.Nullable<(error: string) => void>): void;
|
|
4342
4342
|
/**
|
|
4343
4343
|
* Initiates the xml layout loading asynchronously
|
|
4344
4344
|
* @param xmlFile defines the xml layout to load
|
|
@@ -4354,7 +4354,7 @@ declare module BABYLON.GUI {
|
|
|
4354
4354
|
* Handles a BABYLON.FollowBehavior, SixDofBehavior and BABYLON.SurfaceMagnetismBehavior
|
|
4355
4355
|
* @since 5.0.0
|
|
4356
4356
|
*/
|
|
4357
|
-
export class DefaultBehavior implements Behavior<Mesh> {
|
|
4357
|
+
export class DefaultBehavior implements BABYLON.Behavior<BABYLON.Mesh> {
|
|
4358
4358
|
private _scene;
|
|
4359
4359
|
private _followBehavior;
|
|
4360
4360
|
private _sixDofDragBehavior;
|
|
@@ -4368,7 +4368,7 @@ declare module BABYLON.GUI {
|
|
|
4368
4368
|
/**
|
|
4369
4369
|
* Attached node of this behavior
|
|
4370
4370
|
*/
|
|
4371
|
-
attachedNode: Nullable<Mesh>;
|
|
4371
|
+
attachedNode: BABYLON.Nullable<BABYLON.Mesh>;
|
|
4372
4372
|
/**
|
|
4373
4373
|
* The name of the behavior
|
|
4374
4374
|
*/
|
|
@@ -4407,7 +4407,7 @@ declare module BABYLON.GUI {
|
|
|
4407
4407
|
* @param draggablesMeshes Descendant meshes that can be used for dragging the owner mesh
|
|
4408
4408
|
* @param sceneUnderstandingMeshes Meshes from the scene understanding that will be used for surface magnetism
|
|
4409
4409
|
*/
|
|
4410
|
-
attach(ownerMesh: Mesh, draggablesMeshes?: Mesh[], sceneUnderstandingMeshes?: AbstractMesh[]): void;
|
|
4410
|
+
attach(ownerMesh: BABYLON.Mesh, draggablesMeshes?: BABYLON.Mesh[], sceneUnderstandingMeshes?: BABYLON.AbstractMesh[]): void;
|
|
4411
4411
|
/**
|
|
4412
4412
|
* Detaches the behavior from the mesh
|
|
4413
4413
|
*/
|
|
@@ -4427,7 +4427,7 @@ declare module BABYLON.GUI {
|
|
|
4427
4427
|
*/
|
|
4428
4428
|
constructor(name?: string);
|
|
4429
4429
|
protected _getTypeName(): string;
|
|
4430
|
-
protected _createNode(scene: Scene): BABYLON.TransformNode;
|
|
4430
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
4431
4431
|
}
|
|
4432
4432
|
|
|
4433
4433
|
|
|
@@ -4436,7 +4436,7 @@ declare module BABYLON.GUI {
|
|
|
4436
4436
|
*/
|
|
4437
4437
|
export class Button3D extends AbstractButton3D {
|
|
4438
4438
|
/** @hidden */
|
|
4439
|
-
protected _currentMaterial: Material;
|
|
4439
|
+
protected _currentMaterial: BABYLON.Material;
|
|
4440
4440
|
/**
|
|
4441
4441
|
* Creates a new button
|
|
4442
4442
|
* @param name defines the control name
|
|
@@ -4448,8 +4448,8 @@ declare module BABYLON.GUI {
|
|
|
4448
4448
|
*/
|
|
4449
4449
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
4450
4450
|
protected _getTypeName(): string;
|
|
4451
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
4452
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
4451
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
4452
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
4453
4453
|
/**
|
|
4454
4454
|
* Releases all associated resources
|
|
4455
4455
|
*/
|
|
@@ -4502,7 +4502,7 @@ declare module BABYLON.GUI {
|
|
|
4502
4502
|
* This function will be called everytime a new control is added
|
|
4503
4503
|
*/
|
|
4504
4504
|
protected _arrangeChildren(): void;
|
|
4505
|
-
protected _createNode(scene: Scene): Nullable<BABYLON.TransformNode>;
|
|
4505
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
4506
4506
|
/**
|
|
4507
4507
|
* Removes a control from the children of this control
|
|
4508
4508
|
* @param control defines the control to remove
|
|
@@ -4559,7 +4559,7 @@ declare module BABYLON.GUI {
|
|
|
4559
4559
|
/**
|
|
4560
4560
|
* Class used as base class for controls
|
|
4561
4561
|
*/
|
|
4562
|
-
export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
4562
|
+
export class Control3D implements BABYLON.IDisposable, BABYLON.IBehaviorAware<Control3D> {
|
|
4563
4563
|
/** Defines the control name */
|
|
4564
4564
|
name?: string | undefined;
|
|
4565
4565
|
/** @hidden */
|
|
@@ -4612,34 +4612,34 @@ declare module BABYLON.GUI {
|
|
|
4612
4612
|
/**
|
|
4613
4613
|
* Gets or sets the parent container
|
|
4614
4614
|
*/
|
|
4615
|
-
parent: Nullable<Container3D>;
|
|
4615
|
+
parent: BABYLON.Nullable<Container3D>;
|
|
4616
4616
|
private _behaviors;
|
|
4617
4617
|
/**
|
|
4618
4618
|
* Gets the list of attached behaviors
|
|
4619
4619
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
4620
4620
|
*/
|
|
4621
|
-
get behaviors(): Behavior<Control3D>[];
|
|
4621
|
+
get behaviors(): BABYLON.Behavior<Control3D>[];
|
|
4622
4622
|
/**
|
|
4623
4623
|
* Attach a behavior to the control
|
|
4624
4624
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
4625
4625
|
* @param behavior defines the behavior to attach
|
|
4626
4626
|
* @returns the current control
|
|
4627
4627
|
*/
|
|
4628
|
-
addBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
4628
|
+
addBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
4629
4629
|
/**
|
|
4630
4630
|
* Remove an attached behavior
|
|
4631
4631
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
4632
4632
|
* @param behavior defines the behavior to attach
|
|
4633
4633
|
* @returns the current control
|
|
4634
4634
|
*/
|
|
4635
|
-
removeBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
4635
|
+
removeBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
4636
4636
|
/**
|
|
4637
4637
|
* Gets an attached behavior by name
|
|
4638
4638
|
* @param name defines the name of the behavior to look for
|
|
4639
4639
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
4640
4640
|
* @returns null if behavior was not found else the requested behavior
|
|
4641
4641
|
*/
|
|
4642
|
-
getBehaviorByName(name: string): Nullable<Behavior<Control3D>>;
|
|
4642
|
+
getBehaviorByName(name: string): BABYLON.Nullable<BABYLON.Behavior<Control3D>>;
|
|
4643
4643
|
/** Gets or sets a boolean indicating if the control is visible */
|
|
4644
4644
|
get isVisible(): boolean;
|
|
4645
4645
|
set isVisible(value: boolean);
|
|
@@ -4663,30 +4663,30 @@ declare module BABYLON.GUI {
|
|
|
4663
4663
|
/**
|
|
4664
4664
|
* Gets the transform node used by this control
|
|
4665
4665
|
*/
|
|
4666
|
-
get node(): Nullable<TransformNode>;
|
|
4666
|
+
get node(): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
4667
4667
|
/**
|
|
4668
4668
|
* Gets the mesh used to render this control
|
|
4669
4669
|
*/
|
|
4670
|
-
get mesh(): Nullable<BABYLON.AbstractMesh>;
|
|
4670
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
4671
4671
|
/**
|
|
4672
4672
|
* Link the control as child of the given node
|
|
4673
4673
|
* @param node defines the node to link to. Use null to unlink the control
|
|
4674
4674
|
* @returns the current control
|
|
4675
4675
|
*/
|
|
4676
|
-
linkToTransformNode(node: Nullable<TransformNode>): Control3D;
|
|
4676
|
+
linkToTransformNode(node: BABYLON.Nullable<BABYLON.TransformNode>): Control3D;
|
|
4677
4677
|
/**
|
|
4678
4678
|
* @param scene
|
|
4679
4679
|
* @hidden*
|
|
4680
4680
|
*/
|
|
4681
|
-
_prepareNode(scene: Scene): void;
|
|
4682
|
-
protected _injectGUI3DReservedDataStore(node: TransformNode): any;
|
|
4681
|
+
_prepareNode(scene: BABYLON.Scene): void;
|
|
4682
|
+
protected _injectGUI3DReservedDataStore(node: BABYLON.TransformNode): any;
|
|
4683
4683
|
/**
|
|
4684
4684
|
* Node creation.
|
|
4685
4685
|
* Can be overriden by children
|
|
4686
4686
|
* @param scene defines the scene where the node must be attached
|
|
4687
4687
|
* @returns the attached node or null if none. Must return a Mesh or BABYLON.AbstractMesh if there is an attached visible object
|
|
4688
4688
|
*/
|
|
4689
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
4689
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
4690
4690
|
/**
|
|
4691
4691
|
* Affect a material to the given mesh
|
|
4692
4692
|
* @param mesh defines the mesh which will represent the control
|
|
@@ -4730,7 +4730,7 @@ declare module BABYLON.GUI {
|
|
|
4730
4730
|
* @param pointerId
|
|
4731
4731
|
* @hidden
|
|
4732
4732
|
*/
|
|
4733
|
-
forcePointerUp(pointerId?: Nullable<number>): void;
|
|
4733
|
+
forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
4734
4734
|
/**
|
|
4735
4735
|
* @param type
|
|
4736
4736
|
* @param pickedPoint
|
|
@@ -4739,7 +4739,7 @@ declare module BABYLON.GUI {
|
|
|
4739
4739
|
* @param buttonIndex
|
|
4740
4740
|
* @hidden
|
|
4741
4741
|
*/
|
|
4742
|
-
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
4742
|
+
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: BABYLON.Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
4743
4743
|
/** @hidden */
|
|
4744
4744
|
_disposeNode(): void;
|
|
4745
4745
|
/**
|
|
@@ -4757,8 +4757,8 @@ declare module BABYLON.GUI {
|
|
|
4757
4757
|
/**
|
|
4758
4758
|
* Gets or sets the radius of the cylinder where to project controls (5 by default)
|
|
4759
4759
|
*/
|
|
4760
|
-
get radius(): float;
|
|
4761
|
-
set radius(value: float);
|
|
4760
|
+
get radius(): BABYLON.float;
|
|
4761
|
+
set radius(value: BABYLON.float);
|
|
4762
4762
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
4763
4763
|
private _cylindricalMapping;
|
|
4764
4764
|
}
|
|
@@ -4774,13 +4774,13 @@ declare module BABYLON.GUI {
|
|
|
4774
4774
|
* The hand constraint behavior setting the transformation of this node
|
|
4775
4775
|
*/
|
|
4776
4776
|
get handConstraintBehavior(): BABYLON.HandConstraintBehavior;
|
|
4777
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
4777
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
4778
4778
|
/**
|
|
4779
4779
|
* Creates a hand menu GUI 3D control
|
|
4780
|
-
* @param xr the WebXRExperienceHelper used to link this control to the enabled WebXRHandTracking feature
|
|
4780
|
+
* @param xr the BABYLON.WebXRExperienceHelper used to link this control to the enabled WebXRHandTracking feature
|
|
4781
4781
|
* @param name name of the hand menu
|
|
4782
4782
|
*/
|
|
4783
|
-
constructor(xr: WebXRExperienceHelper, name?: string);
|
|
4783
|
+
constructor(xr: BABYLON.WebXRExperienceHelper, name?: string);
|
|
4784
4784
|
/**
|
|
4785
4785
|
* Disposes the hand menu
|
|
4786
4786
|
*/
|
|
@@ -4824,9 +4824,9 @@ declare module BABYLON.GUI {
|
|
|
4824
4824
|
*/
|
|
4825
4825
|
constructor(name?: string, _shareMaterials?: boolean);
|
|
4826
4826
|
protected _getTypeName(): string;
|
|
4827
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
4827
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
4828
4828
|
private _createMaterial;
|
|
4829
|
-
protected _affectMaterial(mesh: Mesh): void;
|
|
4829
|
+
protected _affectMaterial(mesh: BABYLON.Mesh): void;
|
|
4830
4830
|
/**
|
|
4831
4831
|
* Releases all associated resources
|
|
4832
4832
|
*/
|
|
@@ -4863,8 +4863,8 @@ declare module BABYLON.GUI {
|
|
|
4863
4863
|
/**
|
|
4864
4864
|
* Text to be displayed on the tooltip shown when hovering on the button. When set to null tooltip is disabled. (Default: null)
|
|
4865
4865
|
*/
|
|
4866
|
-
set tooltipText(text: Nullable<string>);
|
|
4867
|
-
get tooltipText(): Nullable<string>;
|
|
4866
|
+
set tooltipText(text: BABYLON.Nullable<string>);
|
|
4867
|
+
get tooltipText(): BABYLON.Nullable<string>;
|
|
4868
4868
|
/**
|
|
4869
4869
|
* Gets or sets text for the button
|
|
4870
4870
|
*/
|
|
@@ -4899,7 +4899,7 @@ declare module BABYLON.GUI {
|
|
|
4899
4899
|
constructor(name?: string, shareMaterials?: boolean);
|
|
4900
4900
|
protected _getTypeName(): string;
|
|
4901
4901
|
private _rebuildContent;
|
|
4902
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
4902
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
4903
4903
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
4904
4904
|
private _createBackMaterial;
|
|
4905
4905
|
private _createFrontMaterial;
|
|
@@ -5015,14 +5015,14 @@ declare module BABYLON.GUI {
|
|
|
5015
5015
|
* @hidden
|
|
5016
5016
|
*/
|
|
5017
5017
|
_updatePivot(): void;
|
|
5018
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
5018
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5019
5019
|
private _attachContentPlateBehavior;
|
|
5020
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5020
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
5021
5021
|
/**
|
|
5022
5022
|
* @param scene
|
|
5023
5023
|
* @hidden*
|
|
5024
5024
|
*/
|
|
5025
|
-
_prepareNode(scene: Scene): void;
|
|
5025
|
+
_prepareNode(scene: BABYLON.Scene): void;
|
|
5026
5026
|
/**
|
|
5027
5027
|
* Resets the aspect and pose of the slate so it is right in front of the active camera, facing towards it.
|
|
5028
5028
|
* @param resetAspect Should the slate's dimensions/aspect ratio be reset as well
|
|
@@ -5042,16 +5042,16 @@ declare module BABYLON.GUI {
|
|
|
5042
5042
|
*/
|
|
5043
5043
|
export class MeshButton3D extends Button3D {
|
|
5044
5044
|
/** @hidden */
|
|
5045
|
-
protected _currentMesh: Mesh;
|
|
5045
|
+
protected _currentMesh: BABYLON.Mesh;
|
|
5046
5046
|
/**
|
|
5047
5047
|
* Creates a new 3D button based on a mesh
|
|
5048
5048
|
* @param mesh mesh to become a 3D button
|
|
5049
5049
|
* @param name defines the control name
|
|
5050
5050
|
*/
|
|
5051
|
-
constructor(mesh: Mesh, name?: string);
|
|
5051
|
+
constructor(mesh: BABYLON.Mesh, name?: string);
|
|
5052
5052
|
protected _getTypeName(): string;
|
|
5053
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
5054
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5053
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5054
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
5055
5055
|
}
|
|
5056
5056
|
|
|
5057
5057
|
|
|
@@ -5082,7 +5082,7 @@ declare module BABYLON.GUI {
|
|
|
5082
5082
|
get isPinned(): boolean;
|
|
5083
5083
|
set isPinned(value: boolean);
|
|
5084
5084
|
private _createPinButton;
|
|
5085
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
5085
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
5086
5086
|
protected _finalProcessing(): void;
|
|
5087
5087
|
/**
|
|
5088
5088
|
* Creates a near menu GUI 3D control
|
|
@@ -5112,8 +5112,8 @@ declare module BABYLON.GUI {
|
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Gets or sets the number of iteration to use to scatter the controls (100 by default)
|
|
5114
5114
|
*/
|
|
5115
|
-
get iteration(): float;
|
|
5116
|
-
set iteration(value: float);
|
|
5115
|
+
get iteration(): BABYLON.float;
|
|
5116
|
+
set iteration(value: BABYLON.float);
|
|
5117
5117
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
5118
5118
|
private _scatterMapping;
|
|
5119
5119
|
protected _finalProcessing(): void;
|
|
@@ -5155,7 +5155,7 @@ declare module BABYLON.GUI {
|
|
|
5155
5155
|
/**
|
|
5156
5156
|
* Gets the mesh used to render this control
|
|
5157
5157
|
*/
|
|
5158
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
5158
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
5159
5159
|
/** Gets or sets minimum value */
|
|
5160
5160
|
get minimum(): number;
|
|
5161
5161
|
set minimum(value: number);
|
|
@@ -5182,8 +5182,8 @@ declare module BABYLON.GUI {
|
|
|
5182
5182
|
* Gets the slider backplate material used by this control
|
|
5183
5183
|
*/
|
|
5184
5184
|
get sliderBackplateMaterial(): MRDLBackplateMaterial;
|
|
5185
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
5186
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5185
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5186
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
5187
5187
|
private _createBehavior;
|
|
5188
5188
|
private _convertToPosition;
|
|
5189
5189
|
private _convertToValue;
|
|
@@ -5202,8 +5202,8 @@ declare module BABYLON.GUI {
|
|
|
5202
5202
|
/**
|
|
5203
5203
|
* Gets or sets the radius of the sphere where to project controls (5 by default)
|
|
5204
5204
|
*/
|
|
5205
|
-
get radius(): float;
|
|
5206
|
-
set radius(value: float);
|
|
5205
|
+
get radius(): BABYLON.float;
|
|
5206
|
+
set radius(value: BABYLON.float);
|
|
5207
5207
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
5208
5208
|
private _sphericalMapping;
|
|
5209
5209
|
}
|
|
@@ -5252,7 +5252,7 @@ declare module BABYLON.GUI {
|
|
|
5252
5252
|
* @param name defines the control name
|
|
5253
5253
|
* @param collisionMesh mesh to track collisions with
|
|
5254
5254
|
*/
|
|
5255
|
-
constructor(name?: string, collisionMesh?: Mesh);
|
|
5255
|
+
constructor(name?: string, collisionMesh?: BABYLON.Mesh);
|
|
5256
5256
|
/**
|
|
5257
5257
|
* Whether the current interaction is caused by near interaction or not
|
|
5258
5258
|
*/
|
|
@@ -5270,7 +5270,7 @@ declare module BABYLON.GUI {
|
|
|
5270
5270
|
* Sets the mesh used for testing input collision
|
|
5271
5271
|
* @param collisionMesh the new collision mesh for the button
|
|
5272
5272
|
*/
|
|
5273
|
-
set collisionMesh(collisionMesh: Mesh);
|
|
5273
|
+
set collisionMesh(collisionMesh: BABYLON.Mesh);
|
|
5274
5274
|
/**
|
|
5275
5275
|
* Setter for if this TouchButton3D should be treated as a toggle button
|
|
5276
5276
|
* @param value If this TouchHolographicButton should act like a toggle button
|
|
@@ -5300,7 +5300,7 @@ declare module BABYLON.GUI {
|
|
|
5300
5300
|
*/
|
|
5301
5301
|
_generatePointerEventType(providedType: number, nearMeshPosition: BABYLON.Vector3, activeInteractionCount: number): number;
|
|
5302
5302
|
protected _getTypeName(): string;
|
|
5303
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
5303
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5304
5304
|
/**
|
|
5305
5305
|
* Releases all associated resources
|
|
5306
5306
|
*/
|
|
@@ -5352,12 +5352,12 @@ declare module BABYLON.GUI {
|
|
|
5352
5352
|
/**
|
|
5353
5353
|
* Gets the mesh used to render this control
|
|
5354
5354
|
*/
|
|
5355
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
5355
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
5356
5356
|
/**
|
|
5357
5357
|
* Text to be displayed on the tooltip shown when hovering on the button. When set to null tooltip is disabled. (Default: null)
|
|
5358
5358
|
*/
|
|
5359
|
-
set tooltipText(text: Nullable<string>);
|
|
5360
|
-
get tooltipText(): Nullable<string>;
|
|
5359
|
+
set tooltipText(text: BABYLON.Nullable<string>);
|
|
5360
|
+
get tooltipText(): BABYLON.Nullable<string>;
|
|
5361
5361
|
/**
|
|
5362
5362
|
* Gets or sets text for the button
|
|
5363
5363
|
*/
|
|
@@ -5396,7 +5396,7 @@ declare module BABYLON.GUI {
|
|
|
5396
5396
|
constructor(name?: string, shareMaterials?: boolean);
|
|
5397
5397
|
protected _getTypeName(): string;
|
|
5398
5398
|
private _rebuildContent;
|
|
5399
|
-
protected _createNode(scene: Scene): BABYLON.TransformNode;
|
|
5399
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
5400
5400
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
5401
5401
|
private _createBackMaterial;
|
|
5402
5402
|
private _createFrontMaterial;
|
|
@@ -5430,9 +5430,9 @@ declare module BABYLON.GUI {
|
|
|
5430
5430
|
*/
|
|
5431
5431
|
get backPlateMargin(): number;
|
|
5432
5432
|
set backPlateMargin(value: number);
|
|
5433
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
5434
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5435
|
-
protected _mapGridNode(control: Control3D, nodePosition: Vector3): void;
|
|
5433
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
5434
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
5435
|
+
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
5436
5436
|
protected _finalProcessing(): void;
|
|
5437
5437
|
private _updateCurrentMinMax;
|
|
5438
5438
|
private _updateMargins;
|
|
@@ -5469,16 +5469,16 @@ declare module BABYLON.GUI {
|
|
|
5469
5469
|
*/
|
|
5470
5470
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
5471
5471
|
/** @hidden */
|
|
5472
|
-
protected _currentMesh: Mesh;
|
|
5472
|
+
protected _currentMesh: BABYLON.Mesh;
|
|
5473
5473
|
/**
|
|
5474
5474
|
* Creates a new 3D button based on a mesh
|
|
5475
5475
|
* @param mesh mesh to become a 3D button. By default this is also the mesh for near interaction collision checking
|
|
5476
5476
|
* @param name defines the control name
|
|
5477
5477
|
*/
|
|
5478
|
-
constructor(mesh: Mesh, name?: string);
|
|
5478
|
+
constructor(mesh: BABYLON.Mesh, name?: string);
|
|
5479
5479
|
protected _getTypeName(): string;
|
|
5480
|
-
protected _createNode(): TransformNode;
|
|
5481
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
5480
|
+
protected _createNode(): BABYLON.TransformNode;
|
|
5481
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
5482
5482
|
}
|
|
5483
5483
|
|
|
5484
5484
|
|
|
@@ -5512,14 +5512,14 @@ declare module BABYLON.GUI {
|
|
|
5512
5512
|
* Gets or sets the number of columns requested (10 by default).
|
|
5513
5513
|
* The panel will automatically compute the number of rows based on number of child controls.
|
|
5514
5514
|
*/
|
|
5515
|
-
get columns(): int;
|
|
5516
|
-
set columns(value: int);
|
|
5515
|
+
get columns(): BABYLON.int;
|
|
5516
|
+
set columns(value: BABYLON.int);
|
|
5517
5517
|
/**
|
|
5518
5518
|
* Gets or sets a the number of rows requested.
|
|
5519
5519
|
* The panel will automatically compute the number of columns based on number of child controls.
|
|
5520
5520
|
*/
|
|
5521
|
-
get rows(): int;
|
|
5522
|
-
set rows(value: int);
|
|
5521
|
+
get rows(): BABYLON.int;
|
|
5522
|
+
set rows(value: BABYLON.int);
|
|
5523
5523
|
/**
|
|
5524
5524
|
* Creates new VolumeBasedPanel
|
|
5525
5525
|
* @param name
|
|
@@ -5554,7 +5554,7 @@ declare module BABYLON.GUI {
|
|
|
5554
5554
|
* Base class for SlateGizmo handles
|
|
5555
5555
|
*/
|
|
5556
5556
|
export abstract class GizmoHandle {
|
|
5557
|
-
protected _scene: Scene;
|
|
5557
|
+
protected _scene: BABYLON.Scene;
|
|
5558
5558
|
protected _state: HandleState;
|
|
5559
5559
|
protected _materials: HandleMaterial[];
|
|
5560
5560
|
private _dragStartObserver;
|
|
@@ -5590,7 +5590,7 @@ declare module BABYLON.GUI {
|
|
|
5590
5590
|
* @param gizmo associated SlateGizmo
|
|
5591
5591
|
* @param scene scene
|
|
5592
5592
|
*/
|
|
5593
|
-
constructor(gizmo: SlateGizmo, scene: Scene);
|
|
5593
|
+
constructor(gizmo: SlateGizmo, scene: BABYLON.Scene);
|
|
5594
5594
|
protected _createMaterial(positionOffset?: BABYLON.Vector3): HandleMaterial;
|
|
5595
5595
|
private _updateMaterial;
|
|
5596
5596
|
/**
|
|
@@ -5672,16 +5672,16 @@ declare module BABYLON.GUI {
|
|
|
5672
5672
|
/**
|
|
5673
5673
|
* The slate attached to this gizmo
|
|
5674
5674
|
*/
|
|
5675
|
-
set attachedSlate(control: Nullable<HolographicSlate>);
|
|
5676
|
-
get attachedSlate(): Nullable<HolographicSlate>;
|
|
5677
|
-
constructor(utilityLayer?: UtilityLayerRenderer);
|
|
5675
|
+
set attachedSlate(control: BABYLON.Nullable<HolographicSlate>);
|
|
5676
|
+
get attachedSlate(): BABYLON.Nullable<HolographicSlate>;
|
|
5677
|
+
constructor(utilityLayer?: BABYLON.UtilityLayerRenderer);
|
|
5678
5678
|
private _createNode;
|
|
5679
5679
|
private _keepAspectRatio;
|
|
5680
5680
|
private _clampDimensions;
|
|
5681
5681
|
private _moveHandle;
|
|
5682
5682
|
private _assignDragBehaviorCorners;
|
|
5683
5683
|
private _assignDragBehaviorSides;
|
|
5684
|
-
protected _attachedNodeChanged(value: Nullable<AbstractMesh>): void;
|
|
5684
|
+
protected _attachedNodeChanged(value: BABYLON.Nullable<BABYLON.AbstractMesh>): void;
|
|
5685
5685
|
/**
|
|
5686
5686
|
* Updates the bounding box information for the gizmo
|
|
5687
5687
|
*/
|
|
@@ -5697,7 +5697,7 @@ declare module BABYLON.GUI {
|
|
|
5697
5697
|
* Class used to manage 3D user interface
|
|
5698
5698
|
* @see https://doc.babylonjs.com/how_to/gui3d
|
|
5699
5699
|
*/
|
|
5700
|
-
export class GUI3DManager implements IDisposable {
|
|
5700
|
+
export class GUI3DManager implements BABYLON.IDisposable {
|
|
5701
5701
|
private _scene;
|
|
5702
5702
|
private _sceneDisposeObserver;
|
|
5703
5703
|
private _utilityLayer;
|
|
@@ -5719,23 +5719,23 @@ declare module BABYLON.GUI {
|
|
|
5719
5719
|
/**
|
|
5720
5720
|
* BABYLON.Observable raised when the point picked by the pointer events changed
|
|
5721
5721
|
*/
|
|
5722
|
-
onPickedPointChangedObservable: BABYLON.Observable<Nullable<BABYLON.Vector3>>;
|
|
5722
|
+
onPickedPointChangedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector3>>;
|
|
5723
5723
|
/**
|
|
5724
5724
|
* BABYLON.Observable raised when a picking happens
|
|
5725
5725
|
*/
|
|
5726
|
-
onPickingObservable: BABYLON.Observable<Nullable<AbstractMesh>>;
|
|
5726
|
+
onPickingObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.AbstractMesh>>;
|
|
5727
5727
|
/** @hidden */
|
|
5728
5728
|
_sharedMaterials: {
|
|
5729
|
-
[key: string]: Material;
|
|
5729
|
+
[key: string]: BABYLON.Material;
|
|
5730
5730
|
};
|
|
5731
5731
|
/** @hidden */
|
|
5732
5732
|
_touchSharedMaterials: {
|
|
5733
|
-
[key: string]: Material;
|
|
5733
|
+
[key: string]: BABYLON.Material;
|
|
5734
5734
|
};
|
|
5735
5735
|
/** Gets the hosting scene */
|
|
5736
|
-
get scene(): Scene;
|
|
5736
|
+
get scene(): BABYLON.Scene;
|
|
5737
5737
|
/** Gets associated utility layer */
|
|
5738
|
-
get utilityLayer(): Nullable<BABYLON.UtilityLayerRenderer>;
|
|
5738
|
+
get utilityLayer(): BABYLON.Nullable<BABYLON.UtilityLayerRenderer>;
|
|
5739
5739
|
/** Gets the scaling for all UI elements owned by this manager */
|
|
5740
5740
|
get controlScaling(): number;
|
|
5741
5741
|
/** Sets the scaling adjustment for all UI elements owned by this manager */
|
|
@@ -5748,7 +5748,7 @@ declare module BABYLON.GUI {
|
|
|
5748
5748
|
* Creates a new GUI3DManager
|
|
5749
5749
|
* @param scene
|
|
5750
5750
|
*/
|
|
5751
|
-
constructor(scene?: Scene);
|
|
5751
|
+
constructor(scene?: BABYLON.Scene);
|
|
5752
5752
|
private _handlePointerOut;
|
|
5753
5753
|
private _doPicking;
|
|
5754
5754
|
/**
|
|
@@ -5840,25 +5840,25 @@ declare module BABYLON.GUI {
|
|
|
5840
5840
|
hoverPosition: BABYLON.Vector3;
|
|
5841
5841
|
private _albedoTexture;
|
|
5842
5842
|
/** Gets or sets the texture to use for albedo color */
|
|
5843
|
-
albedoTexture: Nullable<BaseTexture>;
|
|
5843
|
+
albedoTexture: BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
5844
5844
|
/**
|
|
5845
5845
|
* Creates a new Fluent material
|
|
5846
5846
|
* @param name defines the name of the material
|
|
5847
5847
|
* @param scene defines the hosting scene
|
|
5848
5848
|
*/
|
|
5849
|
-
constructor(name: string, scene?: Scene);
|
|
5849
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
5850
5850
|
needAlphaBlending(): boolean;
|
|
5851
5851
|
needAlphaTesting(): boolean;
|
|
5852
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
5853
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
5854
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
5855
|
-
getActiveTextures(): BaseTexture[];
|
|
5856
|
-
hasTexture(texture: BaseTexture): boolean;
|
|
5852
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
5853
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
5854
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
5855
|
+
getActiveTextures(): BABYLON.BaseTexture[];
|
|
5856
|
+
hasTexture(texture: BABYLON.BaseTexture): boolean;
|
|
5857
5857
|
dispose(forceDisposeEffect?: boolean): void;
|
|
5858
5858
|
clone(name: string): FluentMaterial;
|
|
5859
5859
|
serialize(): any;
|
|
5860
5860
|
getClassName(): string;
|
|
5861
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentMaterial;
|
|
5861
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentMaterial;
|
|
5862
5862
|
}
|
|
5863
5863
|
|
|
5864
5864
|
|
|
@@ -6003,22 +6003,22 @@ declare module BABYLON.GUI {
|
|
|
6003
6003
|
*/
|
|
6004
6004
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
6005
6005
|
private _globalRightIndexTipPosition4;
|
|
6006
|
-
constructor(name: string, scene?: Scene);
|
|
6006
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
6007
6007
|
needAlphaBlending(): boolean;
|
|
6008
6008
|
needAlphaTesting(): boolean;
|
|
6009
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
6010
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
6011
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
6009
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6010
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6011
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6012
6012
|
/**
|
|
6013
6013
|
* Get the list of animatables in the material.
|
|
6014
6014
|
* @returns the list of animatables object used in the material
|
|
6015
6015
|
*/
|
|
6016
|
-
getAnimatables(): IAnimatable[];
|
|
6016
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6017
6017
|
dispose(forceDisposeEffect?: boolean): void;
|
|
6018
6018
|
clone(name: string): FluentBackplateMaterial;
|
|
6019
6019
|
serialize(): any;
|
|
6020
6020
|
getClassName(): string;
|
|
6021
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentBackplateMaterial;
|
|
6021
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentBackplateMaterial;
|
|
6022
6022
|
}
|
|
6023
6023
|
|
|
6024
6024
|
|
|
@@ -6198,22 +6198,22 @@ declare module BABYLON.GUI {
|
|
|
6198
6198
|
*/
|
|
6199
6199
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
6200
6200
|
private _blobTexture;
|
|
6201
|
-
constructor(name: string, scene?: Scene);
|
|
6201
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
6202
6202
|
needAlphaBlending(): boolean;
|
|
6203
6203
|
needAlphaTesting(): boolean;
|
|
6204
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
6205
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
6206
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
6204
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6205
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6206
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6207
6207
|
/**
|
|
6208
6208
|
* Get the list of animatables in the material.
|
|
6209
6209
|
* @returns the list of animatables object used in the material
|
|
6210
6210
|
*/
|
|
6211
|
-
getAnimatables(): IAnimatable[];
|
|
6211
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6212
6212
|
dispose(forceDisposeEffect?: boolean): void;
|
|
6213
6213
|
clone(name: string): FluentButtonMaterial;
|
|
6214
6214
|
serialize(): any;
|
|
6215
6215
|
getClassName(): string;
|
|
6216
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentButtonMaterial;
|
|
6216
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentButtonMaterial;
|
|
6217
6217
|
}
|
|
6218
6218
|
|
|
6219
6219
|
|
|
@@ -6291,9 +6291,9 @@ declare module BABYLON.GUI {
|
|
|
6291
6291
|
/**
|
|
6292
6292
|
* Creates a handle material
|
|
6293
6293
|
* @param name Name of the material
|
|
6294
|
-
* @param scene Scene
|
|
6294
|
+
* @param scene BABYLON.Scene
|
|
6295
6295
|
*/
|
|
6296
|
-
constructor(name: string, scene: Scene);
|
|
6296
|
+
constructor(name: string, scene: BABYLON.Scene);
|
|
6297
6297
|
private _updateInterpolationTarget;
|
|
6298
6298
|
/**
|
|
6299
6299
|
* Disposes the handle material
|
|
@@ -6440,22 +6440,22 @@ declare module BABYLON.GUI {
|
|
|
6440
6440
|
* Gets or sets the edge width of the backplate.
|
|
6441
6441
|
*/
|
|
6442
6442
|
edgeLineGradientBlend: number;
|
|
6443
|
-
constructor(name: string, scene?: Scene);
|
|
6443
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
6444
6444
|
needAlphaBlending(): boolean;
|
|
6445
6445
|
needAlphaTesting(): boolean;
|
|
6446
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
6447
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
6448
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
6446
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6447
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6448
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6449
6449
|
/**
|
|
6450
6450
|
* Get the list of animatables in the material.
|
|
6451
6451
|
* @returns the list of animatables object used in the material
|
|
6452
6452
|
*/
|
|
6453
|
-
getAnimatables(): IAnimatable[];
|
|
6453
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6454
6454
|
dispose(forceDisposeEffect?: boolean): void;
|
|
6455
6455
|
clone(name: string): MRDLBackplateMaterial;
|
|
6456
6456
|
serialize(): any;
|
|
6457
6457
|
getClassName(): string;
|
|
6458
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLBackplateMaterial;
|
|
6458
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLBackplateMaterial;
|
|
6459
6459
|
}
|
|
6460
6460
|
|
|
6461
6461
|
|
|
@@ -6762,22 +6762,22 @@ declare module BABYLON.GUI {
|
|
|
6762
6762
|
* @hidden
|
|
6763
6763
|
*/
|
|
6764
6764
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
6765
|
-
constructor(name: string, scene?: Scene);
|
|
6765
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
6766
6766
|
needAlphaBlending(): boolean;
|
|
6767
6767
|
needAlphaTesting(): boolean;
|
|
6768
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
6769
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
6770
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
6768
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
6769
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
6770
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
6771
6771
|
/**
|
|
6772
6772
|
* Get the list of animatables in the material.
|
|
6773
6773
|
* @returns the list of animatables object used in the material
|
|
6774
6774
|
*/
|
|
6775
|
-
getAnimatables(): IAnimatable[];
|
|
6775
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
6776
6776
|
dispose(forceDisposeEffect?: boolean): void;
|
|
6777
6777
|
clone(name: string): MRDLSliderBarMaterial;
|
|
6778
6778
|
serialize(): any;
|
|
6779
6779
|
getClassName(): string;
|
|
6780
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLSliderBarMaterial;
|
|
6780
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLSliderBarMaterial;
|
|
6781
6781
|
}
|
|
6782
6782
|
|
|
6783
6783
|
|
|
@@ -7084,22 +7084,22 @@ declare module BABYLON.GUI {
|
|
|
7084
7084
|
* @hidden
|
|
7085
7085
|
*/
|
|
7086
7086
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
7087
|
-
constructor(name: string, scene?: Scene);
|
|
7087
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
7088
7088
|
needAlphaBlending(): boolean;
|
|
7089
7089
|
needAlphaTesting(): boolean;
|
|
7090
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
7091
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
7092
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
7090
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
7091
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
7092
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
7093
7093
|
/**
|
|
7094
7094
|
* Get the list of animatables in the material.
|
|
7095
7095
|
* @returns the list of animatables object used in the material
|
|
7096
7096
|
*/
|
|
7097
|
-
getAnimatables(): IAnimatable[];
|
|
7097
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
7098
7098
|
dispose(forceDisposeEffect?: boolean): void;
|
|
7099
7099
|
clone(name: string): MRDLSliderThumbMaterial;
|
|
7100
7100
|
serialize(): any;
|
|
7101
7101
|
getClassName(): string;
|
|
7102
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLSliderThumbMaterial;
|
|
7102
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLSliderThumbMaterial;
|
|
7103
7103
|
}
|
|
7104
7104
|
|
|
7105
7105
|
|