babylonjs-gui 5.0.0 → 5.0.3
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.module.d.ts
CHANGED
|
@@ -7785,7 +7785,7 @@ declare module BABYLON.GUI {
|
|
|
7785
7785
|
/**
|
|
7786
7786
|
* This class can be used to get instrumentation data from a AdvancedDynamicTexture object
|
|
7787
7787
|
*/
|
|
7788
|
-
export class AdvancedDynamicTextureInstrumentation implements IDisposable {
|
|
7788
|
+
export class AdvancedDynamicTextureInstrumentation implements BABYLON.IDisposable {
|
|
7789
7789
|
/**
|
|
7790
7790
|
* Define the instrumented AdvancedDynamicTexture.
|
|
7791
7791
|
*/
|
|
@@ -7873,7 +7873,7 @@ declare module BABYLON.GUI {
|
|
|
7873
7873
|
/** @hidden */
|
|
7874
7874
|
_shouldBlockPointer: boolean;
|
|
7875
7875
|
/** @hidden */
|
|
7876
|
-
_layerToDispose: Nullable<BABYLON.Layer>;
|
|
7876
|
+
_layerToDispose: BABYLON.Nullable<BABYLON.Layer>;
|
|
7877
7877
|
/** @hidden */
|
|
7878
7878
|
_linkedControls: Control[];
|
|
7879
7879
|
private _isFullscreen;
|
|
@@ -7976,7 +7976,7 @@ declare module BABYLON.GUI {
|
|
|
7976
7976
|
/**
|
|
7977
7977
|
* Gets the underlying layer used to render the texture when in fullscreen mode
|
|
7978
7978
|
*/
|
|
7979
|
-
get layer(): Nullable<BABYLON.Layer>;
|
|
7979
|
+
get layer(): BABYLON.Nullable<BABYLON.Layer>;
|
|
7980
7980
|
/**
|
|
7981
7981
|
* Gets the root container control
|
|
7982
7982
|
*/
|
|
@@ -8005,13 +8005,13 @@ declare module BABYLON.GUI {
|
|
|
8005
8005
|
* @param name defines the name to search for
|
|
8006
8006
|
* @return the first control found or null
|
|
8007
8007
|
*/
|
|
8008
|
-
getControlByName(name: string): Nullable<Control>;
|
|
8008
|
+
getControlByName(name: string): BABYLON.Nullable<Control>;
|
|
8009
8009
|
private _getControlByKey;
|
|
8010
8010
|
/**
|
|
8011
8011
|
* Gets or sets the current focused control
|
|
8012
8012
|
*/
|
|
8013
|
-
get focusedControl(): Nullable<IFocusableControl>;
|
|
8014
|
-
set focusedControl(control: Nullable<IFocusableControl>);
|
|
8013
|
+
get focusedControl(): BABYLON.Nullable<IFocusableControl>;
|
|
8014
|
+
set focusedControl(control: BABYLON.Nullable<IFocusableControl>);
|
|
8015
8015
|
/**
|
|
8016
8016
|
* Gets or sets a boolean indicating if the texture must be rendered in background or foreground when in fullscreen mode
|
|
8017
8017
|
*/
|
|
@@ -8039,7 +8039,7 @@ declare module BABYLON.GUI {
|
|
|
8039
8039
|
* @param samplingMode defines the texture sampling mode (Texture.NEAREST_SAMPLINGMODE by default)
|
|
8040
8040
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
8041
8041
|
*/
|
|
8042
|
-
constructor(name: string, width?: number, height?: number, scene?: Nullable<Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
8042
|
+
constructor(name: string, width?: number, height?: number, scene?: BABYLON.Nullable<BABYLON.Scene>, generateMipMaps?: boolean, samplingMode?: number, invertY?: boolean);
|
|
8043
8043
|
/**
|
|
8044
8044
|
* Get the current class name of the texture useful for serialization or dynamic coding.
|
|
8045
8045
|
* @returns "AdvancedDynamicTexture"
|
|
@@ -8109,14 +8109,14 @@ declare module BABYLON.GUI {
|
|
|
8109
8109
|
* @param worldMatrix defines the world matrix to use
|
|
8110
8110
|
* @returns the projected position
|
|
8111
8111
|
*/
|
|
8112
|
-
getProjectedPosition(position: BABYLON.Vector3, worldMatrix: Matrix): BABYLON.Vector2;
|
|
8112
|
+
getProjectedPosition(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector2;
|
|
8113
8113
|
/**
|
|
8114
8114
|
* Get screen coordinates for a vector3
|
|
8115
8115
|
* @param position defines the position to project
|
|
8116
8116
|
* @param worldMatrix defines the world matrix to use
|
|
8117
8117
|
* @returns the projected position with Z
|
|
8118
8118
|
*/
|
|
8119
|
-
getProjectedPositionWithZ(position: BABYLON.Vector3, worldMatrix: Matrix): BABYLON.Vector3;
|
|
8119
|
+
getProjectedPositionWithZ(position: BABYLON.Vector3, worldMatrix: BABYLON.Matrix): BABYLON.Vector3;
|
|
8120
8120
|
private _checkUpdate;
|
|
8121
8121
|
private _clearMeasure;
|
|
8122
8122
|
private _render;
|
|
@@ -8176,7 +8176,7 @@ declare module BABYLON.GUI {
|
|
|
8176
8176
|
* @param mesh defines the mesh to attach to
|
|
8177
8177
|
* @param supportPointerMove defines a boolean indicating if pointer move events must be catched as well
|
|
8178
8178
|
*/
|
|
8179
|
-
attachToMesh(mesh: AbstractMesh, supportPointerMove?: boolean): void;
|
|
8179
|
+
attachToMesh(mesh: BABYLON.AbstractMesh, supportPointerMove?: boolean): void;
|
|
8180
8180
|
/**
|
|
8181
8181
|
* Move the focus to a specific control
|
|
8182
8182
|
* @param control defines the control which will receive the focus
|
|
@@ -8229,7 +8229,7 @@ declare module BABYLON.GUI {
|
|
|
8229
8229
|
* @param materialSetupCallback defines a custom way of creating and setting up the material on the mesh
|
|
8230
8230
|
* @returns a new AdvancedDynamicTexture
|
|
8231
8231
|
*/
|
|
8232
|
-
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;
|
|
8232
|
+
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;
|
|
8233
8233
|
private static _CreateMaterial;
|
|
8234
8234
|
/**
|
|
8235
8235
|
* 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
|
|
@@ -8240,7 +8240,7 @@ declare module BABYLON.GUI {
|
|
|
8240
8240
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
|
8241
8241
|
* @returns a new AdvancedDynamicTexture
|
|
8242
8242
|
*/
|
|
8243
|
-
static CreateForMeshTexture(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
|
8243
|
+
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
|
8244
8244
|
/**
|
|
8245
8245
|
* Creates a new AdvancedDynamicTexture in fullscreen mode.
|
|
8246
8246
|
* In this mode the texture will rely on a layer for its rendering.
|
|
@@ -8254,7 +8254,7 @@ declare module BABYLON.GUI {
|
|
|
8254
8254
|
* @param adaptiveScaling defines whether to automatically scale root to match hardwarescaling (false by default)
|
|
8255
8255
|
* @returns a new AdvancedDynamicTexture
|
|
8256
8256
|
*/
|
|
8257
|
-
static CreateFullscreenUI(name: string, foreground?: boolean, scene?: Nullable<Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
|
|
8257
|
+
static CreateFullscreenUI(name: string, foreground?: boolean, scene?: BABYLON.Nullable<BABYLON.Scene>, sampling?: number, adaptiveScaling?: boolean): AdvancedDynamicTexture;
|
|
8258
8258
|
/**
|
|
8259
8259
|
* Scales the texture
|
|
8260
8260
|
* @param ratio the scale factor to apply to both width and height
|
|
@@ -8298,12 +8298,12 @@ declare module BABYLON.GUI {
|
|
|
8298
8298
|
/**
|
|
8299
8299
|
* Returns the image part of the button (if any)
|
|
8300
8300
|
*/
|
|
8301
|
-
get image(): Nullable<Image>;
|
|
8301
|
+
get image(): BABYLON.Nullable<Image>;
|
|
8302
8302
|
private _textBlock;
|
|
8303
8303
|
/**
|
|
8304
8304
|
* Returns the image part of the button (if any)
|
|
8305
8305
|
*/
|
|
8306
|
-
get textBlock(): Nullable<TextBlock>;
|
|
8306
|
+
get textBlock(): BABYLON.Nullable<TextBlock>;
|
|
8307
8307
|
/**
|
|
8308
8308
|
* Creates a new Button
|
|
8309
8309
|
* @param name defines the name of the button
|
|
@@ -8321,20 +8321,20 @@ declare module BABYLON.GUI {
|
|
|
8321
8321
|
* @param deltaY
|
|
8322
8322
|
* @hidden
|
|
8323
8323
|
*/
|
|
8324
|
-
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8324
|
+
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8325
8325
|
/**
|
|
8326
8326
|
* @param target
|
|
8327
8327
|
* @param pi
|
|
8328
8328
|
* @hidden
|
|
8329
8329
|
*/
|
|
8330
|
-
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
8330
|
+
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
8331
8331
|
/**
|
|
8332
8332
|
* @param target
|
|
8333
8333
|
* @param pi
|
|
8334
8334
|
* @param force
|
|
8335
8335
|
* @hidden
|
|
8336
8336
|
*/
|
|
8337
|
-
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
8337
|
+
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
8338
8338
|
/**
|
|
8339
8339
|
* @param target
|
|
8340
8340
|
* @param coordinates
|
|
@@ -8343,7 +8343,7 @@ declare module BABYLON.GUI {
|
|
|
8343
8343
|
* @param pi
|
|
8344
8344
|
* @hidden
|
|
8345
8345
|
*/
|
|
8346
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
8346
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8347
8347
|
/**
|
|
8348
8348
|
* @param target
|
|
8349
8349
|
* @param coordinates
|
|
@@ -8353,7 +8353,7 @@ declare module BABYLON.GUI {
|
|
|
8353
8353
|
* @param pi
|
|
8354
8354
|
* @hidden
|
|
8355
8355
|
*/
|
|
8356
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
8356
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
8357
8357
|
/**
|
|
8358
8358
|
* Serializes the current button
|
|
8359
8359
|
* @param serializationObject defines the JSON serialized object
|
|
@@ -8433,7 +8433,7 @@ declare module BABYLON.GUI {
|
|
|
8433
8433
|
* @param context
|
|
8434
8434
|
* @hidden
|
|
8435
8435
|
*/
|
|
8436
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
8436
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8437
8437
|
/**
|
|
8438
8438
|
* @param target
|
|
8439
8439
|
* @param coordinates
|
|
@@ -8442,7 +8442,7 @@ declare module BABYLON.GUI {
|
|
|
8442
8442
|
* @param pi
|
|
8443
8443
|
* @hidden
|
|
8444
8444
|
*/
|
|
8445
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
8445
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8446
8446
|
/**
|
|
8447
8447
|
* Utility function to easily create a checkbox with a header
|
|
8448
8448
|
* @param title defines the label to use for the header
|
|
@@ -8511,14 +8511,14 @@ declare module BABYLON.GUI {
|
|
|
8511
8511
|
* @param context
|
|
8512
8512
|
* @hidden
|
|
8513
8513
|
*/
|
|
8514
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
8514
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8515
8515
|
private _pointerIsDown;
|
|
8516
8516
|
private _updateValueFromPointer;
|
|
8517
8517
|
private _isPointOnSquare;
|
|
8518
8518
|
private _isPointOnWheel;
|
|
8519
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
8520
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
8521
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
8519
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
8520
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
8521
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
8522
8522
|
_onCanvasBlur(): void;
|
|
8523
8523
|
/**
|
|
8524
8524
|
* This function expands the color picker by creating a color picker dialog with manual
|
|
@@ -8569,7 +8569,7 @@ declare module BABYLON.GUI {
|
|
|
8569
8569
|
/** @hidden */
|
|
8570
8570
|
protected _renderToIntermediateTexture: boolean;
|
|
8571
8571
|
/** @hidden */
|
|
8572
|
-
protected _intermediateTexture: Nullable<BABYLON.DynamicTexture>;
|
|
8572
|
+
protected _intermediateTexture: BABYLON.Nullable<BABYLON.DynamicTexture>;
|
|
8573
8573
|
/** Gets or sets boolean indicating if children should be rendered to an intermediate texture rather than directly to host, useful for alpha blending */
|
|
8574
8574
|
get renderToIntermediateTexture(): boolean;
|
|
8575
8575
|
set renderToIntermediateTexture(value: boolean);
|
|
@@ -8606,14 +8606,14 @@ declare module BABYLON.GUI {
|
|
|
8606
8606
|
* @param name defines the child name to look for
|
|
8607
8607
|
* @returns the child control if found
|
|
8608
8608
|
*/
|
|
8609
|
-
getChildByName(name: string): Nullable<Control>;
|
|
8609
|
+
getChildByName(name: string): BABYLON.Nullable<Control>;
|
|
8610
8610
|
/**
|
|
8611
8611
|
* Gets a child using its type and its name
|
|
8612
8612
|
* @param name defines the child name to look for
|
|
8613
8613
|
* @param type defines the child type to look for
|
|
8614
8614
|
* @returns the child control if found
|
|
8615
8615
|
*/
|
|
8616
|
-
getChildByType(name: string, type: string): Nullable<Control>;
|
|
8616
|
+
getChildByType(name: string, type: string): BABYLON.Nullable<Control>;
|
|
8617
8617
|
/**
|
|
8618
8618
|
* Search for a specific control in children
|
|
8619
8619
|
* @param control defines the control to look for
|
|
@@ -8625,7 +8625,7 @@ declare module BABYLON.GUI {
|
|
|
8625
8625
|
* @param control defines the control to add
|
|
8626
8626
|
* @returns the current container
|
|
8627
8627
|
*/
|
|
8628
|
-
addControl(control: Nullable<Control>): Container;
|
|
8628
|
+
addControl(control: BABYLON.Nullable<Control>): Container;
|
|
8629
8629
|
/**
|
|
8630
8630
|
* Removes all controls from the current container
|
|
8631
8631
|
* @returns the current container
|
|
@@ -8658,7 +8658,7 @@ declare module BABYLON.GUI {
|
|
|
8658
8658
|
* @param context
|
|
8659
8659
|
* @hidden
|
|
8660
8660
|
*/
|
|
8661
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
8661
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
8662
8662
|
/**
|
|
8663
8663
|
* @param host
|
|
8664
8664
|
* @hidden
|
|
@@ -8671,20 +8671,20 @@ declare module BABYLON.GUI {
|
|
|
8671
8671
|
* @param context
|
|
8672
8672
|
* @hidden
|
|
8673
8673
|
*/
|
|
8674
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
8674
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8675
8675
|
/**
|
|
8676
8676
|
* @param parentMeasure
|
|
8677
8677
|
* @param context
|
|
8678
8678
|
* @hidden
|
|
8679
8679
|
*/
|
|
8680
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
8680
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
8681
8681
|
protected _postMeasure(): void;
|
|
8682
8682
|
/**
|
|
8683
8683
|
* @param context
|
|
8684
8684
|
* @param invalidatedRectangle
|
|
8685
8685
|
* @hidden
|
|
8686
8686
|
*/
|
|
8687
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
8687
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
8688
8688
|
getDescendantsToRef(results: Control[], directDescendantsOnly?: boolean, predicate?: (control: Control) => boolean): void;
|
|
8689
8689
|
/**
|
|
8690
8690
|
* @param x
|
|
@@ -8697,13 +8697,13 @@ declare module BABYLON.GUI {
|
|
|
8697
8697
|
* @param deltaY
|
|
8698
8698
|
* @hidden
|
|
8699
8699
|
*/
|
|
8700
|
-
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8700
|
+
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
8701
8701
|
/**
|
|
8702
8702
|
* @param parentMeasure
|
|
8703
8703
|
* @param context
|
|
8704
8704
|
* @hidden
|
|
8705
8705
|
*/
|
|
8706
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
8706
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
8707
8707
|
/**
|
|
8708
8708
|
* Serializes the current control
|
|
8709
8709
|
* @param serializationObject defined the JSON serialized object
|
|
@@ -8737,7 +8737,7 @@ declare module BABYLON.GUI {
|
|
|
8737
8737
|
/** @hidden */
|
|
8738
8738
|
_host: AdvancedDynamicTexture;
|
|
8739
8739
|
/** Gets or sets the control parent */
|
|
8740
|
-
parent: Nullable<Container>;
|
|
8740
|
+
parent: BABYLON.Nullable<Container>;
|
|
8741
8741
|
/** @hidden */
|
|
8742
8742
|
_currentMeasure: Measure;
|
|
8743
8743
|
/** @hidden */
|
|
@@ -8802,7 +8802,7 @@ declare module BABYLON.GUI {
|
|
|
8802
8802
|
private _highlightColor;
|
|
8803
8803
|
protected _highlightLineWidth: number;
|
|
8804
8804
|
/** @hidden */
|
|
8805
|
-
_linkedMesh: Nullable<TransformNode>;
|
|
8805
|
+
_linkedMesh: BABYLON.Nullable<BABYLON.TransformNode>;
|
|
8806
8806
|
private _fontSet;
|
|
8807
8807
|
private _dummyVector2;
|
|
8808
8808
|
private _downCount;
|
|
@@ -9053,8 +9053,8 @@ declare module BABYLON.GUI {
|
|
|
9053
9053
|
* Gets or sets style
|
|
9054
9054
|
* @see https://doc.babylonjs.com/how_to/gui#styles
|
|
9055
9055
|
*/
|
|
9056
|
-
get style(): Nullable<Style>;
|
|
9057
|
-
set style(value: Nullable<Style>);
|
|
9056
|
+
get style(): BABYLON.Nullable<Style>;
|
|
9057
|
+
set style(value: BABYLON.Nullable<Style>);
|
|
9058
9058
|
/** @hidden */
|
|
9059
9059
|
get _isFontSizeInPercentage(): boolean;
|
|
9060
9060
|
/** Gets or sets font size in pixels */
|
|
@@ -9080,7 +9080,7 @@ declare module BABYLON.GUI {
|
|
|
9080
9080
|
/**
|
|
9081
9081
|
* Gets the current linked mesh (or null if none)
|
|
9082
9082
|
*/
|
|
9083
|
-
get linkedMesh(): Nullable<TransformNode>;
|
|
9083
|
+
get linkedMesh(): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
9084
9084
|
/**
|
|
9085
9085
|
* Gets or sets a value indicating the padding should work like in CSS.
|
|
9086
9086
|
* Basically, it will add the padding amount on each side of the parent control for its children.
|
|
@@ -9229,7 +9229,7 @@ declare module BABYLON.GUI {
|
|
|
9229
9229
|
* @param className defines the required type
|
|
9230
9230
|
* @returns the ascendant or null if not found
|
|
9231
9231
|
*/
|
|
9232
|
-
getAscendantOfClass(className: string): Nullable<Control>;
|
|
9232
|
+
getAscendantOfClass(className: string): BABYLON.Nullable<Control>;
|
|
9233
9233
|
/**
|
|
9234
9234
|
* Mark control element as dirty
|
|
9235
9235
|
* @param force force non visible elements to be marked too
|
|
@@ -9271,7 +9271,7 @@ declare module BABYLON.GUI {
|
|
|
9271
9271
|
* @param position defines the target position
|
|
9272
9272
|
* @param scene defines the hosting scene
|
|
9273
9273
|
*/
|
|
9274
|
-
moveToVector3(position: BABYLON.Vector3, scene: Scene): void;
|
|
9274
|
+
moveToVector3(position: BABYLON.Vector3, scene: BABYLON.Scene): void;
|
|
9275
9275
|
/**
|
|
9276
9276
|
* Will store all controls that have this control as ascendant in a given array
|
|
9277
9277
|
* @param results defines the array where to store the descendants
|
|
@@ -9291,7 +9291,7 @@ declare module BABYLON.GUI {
|
|
|
9291
9291
|
* @param mesh defines the mesh to link with
|
|
9292
9292
|
* @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
9293
9293
|
*/
|
|
9294
|
-
linkWithMesh(mesh: Nullable<TransformNode>): void;
|
|
9294
|
+
linkWithMesh(mesh: BABYLON.Nullable<BABYLON.TransformNode>): void;
|
|
9295
9295
|
/**
|
|
9296
9296
|
* Shorthand function to set the top, right, bottom, and left padding values on the control.
|
|
9297
9297
|
* @param { string | number} paddingTop - The value of the top padding.
|
|
@@ -9334,7 +9334,7 @@ declare module BABYLON.GUI {
|
|
|
9334
9334
|
* @param context
|
|
9335
9335
|
* @hidden
|
|
9336
9336
|
*/
|
|
9337
|
-
_intersectsRect(rect: Measure, context?: ICanvasRenderingContext): boolean;
|
|
9337
|
+
_intersectsRect(rect: Measure, context?: BABYLON.ICanvasRenderingContext): boolean;
|
|
9338
9338
|
/** @hidden */
|
|
9339
9339
|
protected _computeAdditionnalOffsetX(): number;
|
|
9340
9340
|
/** @hidden */
|
|
@@ -9357,34 +9357,34 @@ declare module BABYLON.GUI {
|
|
|
9357
9357
|
* @param context
|
|
9358
9358
|
* @hidden
|
|
9359
9359
|
*/
|
|
9360
|
-
protected _transform(context?: ICanvasRenderingContext): void;
|
|
9360
|
+
protected _transform(context?: BABYLON.ICanvasRenderingContext): void;
|
|
9361
9361
|
/**
|
|
9362
9362
|
* @param context
|
|
9363
9363
|
* @hidden
|
|
9364
9364
|
*/
|
|
9365
|
-
_renderHighlight(context: ICanvasRenderingContext): void;
|
|
9365
|
+
_renderHighlight(context: BABYLON.ICanvasRenderingContext): void;
|
|
9366
9366
|
/**
|
|
9367
9367
|
* @param context
|
|
9368
9368
|
* @hidden
|
|
9369
9369
|
*/
|
|
9370
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
9370
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
9371
9371
|
/**
|
|
9372
9372
|
* @param context
|
|
9373
9373
|
* @hidden
|
|
9374
9374
|
*/
|
|
9375
|
-
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
9375
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
9376
9376
|
/**
|
|
9377
9377
|
* @param parentMeasure
|
|
9378
9378
|
* @param context
|
|
9379
9379
|
* @hidden
|
|
9380
9380
|
*/
|
|
9381
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
9381
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
9382
9382
|
/**
|
|
9383
9383
|
* @param parentMeasure
|
|
9384
9384
|
* @param context
|
|
9385
9385
|
* @hidden
|
|
9386
9386
|
*/
|
|
9387
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9387
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9388
9388
|
protected _evaluateClippingState(parentMeasure: Measure): void;
|
|
9389
9389
|
/** @hidden */
|
|
9390
9390
|
_measure(): void;
|
|
@@ -9393,24 +9393,24 @@ declare module BABYLON.GUI {
|
|
|
9393
9393
|
* @param context
|
|
9394
9394
|
* @hidden
|
|
9395
9395
|
*/
|
|
9396
|
-
protected _computeAlignment(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9396
|
+
protected _computeAlignment(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9397
9397
|
/**
|
|
9398
9398
|
* @param parentMeasure
|
|
9399
9399
|
* @param context
|
|
9400
9400
|
* @hidden
|
|
9401
9401
|
*/
|
|
9402
|
-
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9402
|
+
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9403
9403
|
/**
|
|
9404
9404
|
* @param parentMeasure
|
|
9405
9405
|
* @param context
|
|
9406
9406
|
* @hidden
|
|
9407
9407
|
*/
|
|
9408
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9408
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9409
9409
|
/**
|
|
9410
9410
|
* @param context
|
|
9411
9411
|
* @hidden
|
|
9412
9412
|
*/
|
|
9413
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
9413
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
9414
9414
|
private static _ClipMeasure;
|
|
9415
9415
|
private _tmpMeasureA;
|
|
9416
9416
|
private _clip;
|
|
@@ -9419,13 +9419,13 @@ declare module BABYLON.GUI {
|
|
|
9419
9419
|
* @param invalidatedRectangle
|
|
9420
9420
|
* @hidden
|
|
9421
9421
|
*/
|
|
9422
|
-
_render(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): boolean;
|
|
9422
|
+
_render(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): boolean;
|
|
9423
9423
|
/**
|
|
9424
9424
|
* @param context
|
|
9425
9425
|
* @param invalidatedRectangle
|
|
9426
9426
|
* @hidden
|
|
9427
9427
|
*/
|
|
9428
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Nullable<Measure>): void;
|
|
9428
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: BABYLON.Nullable<Measure>): void;
|
|
9429
9429
|
/**
|
|
9430
9430
|
* Tests if a given coordinates belong to the current control
|
|
9431
9431
|
* @param x defines x coordinate to test
|
|
@@ -9444,7 +9444,7 @@ declare module BABYLON.GUI {
|
|
|
9444
9444
|
* @param deltaY
|
|
9445
9445
|
* @hidden
|
|
9446
9446
|
*/
|
|
9447
|
-
_processPicking(x: number, y: number, pi: Nullable<PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9447
|
+
_processPicking(x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9448
9448
|
/**
|
|
9449
9449
|
* @param target
|
|
9450
9450
|
* @param coordinates
|
|
@@ -9452,20 +9452,20 @@ declare module BABYLON.GUI {
|
|
|
9452
9452
|
* @param pi
|
|
9453
9453
|
* @hidden
|
|
9454
9454
|
*/
|
|
9455
|
-
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: Nullable<PointerInfoBase>): void;
|
|
9455
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9456
9456
|
/**
|
|
9457
9457
|
* @param target
|
|
9458
9458
|
* @param pi
|
|
9459
9459
|
* @hidden
|
|
9460
9460
|
*/
|
|
9461
|
-
_onPointerEnter(target: Control, pi: Nullable<PointerInfoBase>): boolean;
|
|
9461
|
+
_onPointerEnter(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9462
9462
|
/**
|
|
9463
9463
|
* @param target
|
|
9464
9464
|
* @param pi
|
|
9465
9465
|
* @param force
|
|
9466
9466
|
* @hidden
|
|
9467
9467
|
*/
|
|
9468
|
-
_onPointerOut(target: Control, pi: Nullable<PointerInfoBase>, force?: boolean): void;
|
|
9468
|
+
_onPointerOut(target: Control, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, force?: boolean): void;
|
|
9469
9469
|
/**
|
|
9470
9470
|
* @param target
|
|
9471
9471
|
* @param coordinates
|
|
@@ -9474,7 +9474,7 @@ declare module BABYLON.GUI {
|
|
|
9474
9474
|
* @param pi
|
|
9475
9475
|
* @hidden
|
|
9476
9476
|
*/
|
|
9477
|
-
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: Nullable<PointerInfoBase>): boolean;
|
|
9477
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>): boolean;
|
|
9478
9478
|
/**
|
|
9479
9479
|
* @param target
|
|
9480
9480
|
* @param coordinates
|
|
@@ -9484,12 +9484,12 @@ declare module BABYLON.GUI {
|
|
|
9484
9484
|
* @param pi
|
|
9485
9485
|
* @hidden
|
|
9486
9486
|
*/
|
|
9487
|
-
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: Nullable<PointerInfoBase>): void;
|
|
9487
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi?: BABYLON.Nullable<BABYLON.PointerInfoBase>): void;
|
|
9488
9488
|
/**
|
|
9489
9489
|
* @param pointerId
|
|
9490
9490
|
* @hidden
|
|
9491
9491
|
*/
|
|
9492
|
-
_forcePointerUp(pointerId?: Nullable<number>): void;
|
|
9492
|
+
_forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
9493
9493
|
/**
|
|
9494
9494
|
* @param deltaX
|
|
9495
9495
|
* @param deltaY
|
|
@@ -9509,7 +9509,7 @@ declare module BABYLON.GUI {
|
|
|
9509
9509
|
* @param deltaY
|
|
9510
9510
|
* @hidden
|
|
9511
9511
|
*/
|
|
9512
|
-
_processObservables(type: number, x: number, y: number, pi: Nullable<PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9512
|
+
_processObservables(type: number, x: number, y: number, pi: BABYLON.Nullable<BABYLON.PointerInfoBase>, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
9513
9513
|
private _prepareFont;
|
|
9514
9514
|
/**
|
|
9515
9515
|
* Serializes the current control
|
|
@@ -9571,7 +9571,7 @@ declare module BABYLON.GUI {
|
|
|
9571
9571
|
* @param context
|
|
9572
9572
|
* @hidden
|
|
9573
9573
|
*/
|
|
9574
|
-
protected static drawEllipse(x: number, y: number, width: number, height: number, context: ICanvasRenderingContext): void;
|
|
9574
|
+
protected static drawEllipse(x: number, y: number, width: number, height: number, context: BABYLON.ICanvasRenderingContext): void;
|
|
9575
9575
|
}
|
|
9576
9576
|
|
|
9577
9577
|
|
|
@@ -9623,7 +9623,7 @@ declare module BABYLON.GUI {
|
|
|
9623
9623
|
* @param name defines the control name
|
|
9624
9624
|
*/
|
|
9625
9625
|
constructor(name?: string | undefined);
|
|
9626
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
9626
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
9627
9627
|
protected _getTypeName(): string;
|
|
9628
9628
|
}
|
|
9629
9629
|
|
|
@@ -9641,10 +9641,10 @@ declare module BABYLON.GUI {
|
|
|
9641
9641
|
*/
|
|
9642
9642
|
constructor(name?: string | undefined);
|
|
9643
9643
|
protected _getTypeName(): string;
|
|
9644
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
9645
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9646
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
9647
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
9644
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
9645
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9646
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
9647
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
9648
9648
|
}
|
|
9649
9649
|
|
|
9650
9650
|
|
|
@@ -9655,7 +9655,7 @@ declare module BABYLON.GUI {
|
|
|
9655
9655
|
export class FocusableButton extends Button implements IFocusableControl {
|
|
9656
9656
|
name?: string | undefined;
|
|
9657
9657
|
/** Highlight color when button is focused */
|
|
9658
|
-
focusedColor: Nullable<string>;
|
|
9658
|
+
focusedColor: BABYLON.Nullable<string>;
|
|
9659
9659
|
private _isFocused;
|
|
9660
9660
|
private _unfocusedColor;
|
|
9661
9661
|
/** BABYLON.Observable raised when the control gets the focus */
|
|
@@ -9663,7 +9663,7 @@ declare module BABYLON.GUI {
|
|
|
9663
9663
|
/** BABYLON.Observable raised when the control loses the focus */
|
|
9664
9664
|
onBlurObservable: BABYLON.Observable<Button>;
|
|
9665
9665
|
/** BABYLON.Observable raised when a key event was processed */
|
|
9666
|
-
onKeyboardEventProcessedObservable: BABYLON.Observable<IKeyboardEvent>;
|
|
9666
|
+
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
9667
9667
|
constructor(name?: string | undefined);
|
|
9668
9668
|
/** @hidden */
|
|
9669
9669
|
onBlur(): void;
|
|
@@ -9673,7 +9673,7 @@ declare module BABYLON.GUI {
|
|
|
9673
9673
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
9674
9674
|
* @returns an array of controls
|
|
9675
9675
|
*/
|
|
9676
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
9676
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
9677
9677
|
/**
|
|
9678
9678
|
* Function to focus a button programmatically
|
|
9679
9679
|
*/
|
|
@@ -9686,7 +9686,7 @@ declare module BABYLON.GUI {
|
|
|
9686
9686
|
* Handles the keyboard event
|
|
9687
9687
|
* @param evt Defines the KeyboardEvent
|
|
9688
9688
|
*/
|
|
9689
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
9689
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
9690
9690
|
/**
|
|
9691
9691
|
* @param target
|
|
9692
9692
|
* @param coordinates
|
|
@@ -9695,7 +9695,7 @@ declare module BABYLON.GUI {
|
|
|
9695
9695
|
* @param pi
|
|
9696
9696
|
* @hidden
|
|
9697
9697
|
*/
|
|
9698
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
9698
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
9699
9699
|
/** @hidden */
|
|
9700
9700
|
displose(): void;
|
|
9701
9701
|
}
|
|
@@ -9717,12 +9717,12 @@ declare module BABYLON.GUI {
|
|
|
9717
9717
|
* Function called to let the control handle keyboard events
|
|
9718
9718
|
* @param evt defines the current keyboard event
|
|
9719
9719
|
*/
|
|
9720
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
9720
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
9721
9721
|
/**
|
|
9722
9722
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
9723
9723
|
* @returns an array of controls
|
|
9724
9724
|
*/
|
|
9725
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
9725
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
9726
9726
|
/**
|
|
9727
9727
|
* Function to focus the control programmatically
|
|
9728
9728
|
*/
|
|
@@ -9764,13 +9764,13 @@ declare module BABYLON.GUI {
|
|
|
9764
9764
|
* @param index defines the index of the row
|
|
9765
9765
|
* @returns the row definition
|
|
9766
9766
|
*/
|
|
9767
|
-
getRowDefinition(index: number): Nullable<ValueAndUnit>;
|
|
9767
|
+
getRowDefinition(index: number): BABYLON.Nullable<ValueAndUnit>;
|
|
9768
9768
|
/**
|
|
9769
9769
|
* Gets the definition of a specific column
|
|
9770
9770
|
* @param index defines the index of the column
|
|
9771
9771
|
* @returns the column definition
|
|
9772
9772
|
*/
|
|
9773
|
-
getColumnDefinition(index: number): Nullable<ValueAndUnit>;
|
|
9773
|
+
getColumnDefinition(index: number): BABYLON.Nullable<ValueAndUnit>;
|
|
9774
9774
|
/**
|
|
9775
9775
|
* Adds a new row to the grid
|
|
9776
9776
|
* @param height defines the height of the row (either in pixel or a value between 0 and 1)
|
|
@@ -9807,7 +9807,7 @@ declare module BABYLON.GUI {
|
|
|
9807
9807
|
* @param column defines the column to check
|
|
9808
9808
|
* @returns the list of controls
|
|
9809
9809
|
*/
|
|
9810
|
-
getChildrenAt(row: number, column: number): Nullable<Array<Control>>;
|
|
9810
|
+
getChildrenAt(row: number, column: number): BABYLON.Nullable<Array<Control>>;
|
|
9811
9811
|
/**
|
|
9812
9812
|
* Gets a string representing the child cell info (row x column)
|
|
9813
9813
|
* @param child defines the control to get info from
|
|
@@ -9849,9 +9849,9 @@ declare module BABYLON.GUI {
|
|
|
9849
9849
|
constructor(name?: string | undefined);
|
|
9850
9850
|
protected _getTypeName(): string;
|
|
9851
9851
|
protected _getGridDefinitions(definitionCallback: (lefts: number[], tops: number[], widths: number[], heights: number[]) => void): void;
|
|
9852
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
9852
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
9853
9853
|
_flagDescendantsAsMatrixDirty(): void;
|
|
9854
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
9854
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
9855
9855
|
/** Releases associated resources */
|
|
9856
9856
|
dispose(): void;
|
|
9857
9857
|
/**
|
|
@@ -9993,17 +9993,17 @@ declare module BABYLON.GUI {
|
|
|
9993
9993
|
/**
|
|
9994
9994
|
* Gets or sets the internal DOM image used to render the control
|
|
9995
9995
|
*/
|
|
9996
|
-
set domImage(value: IImage);
|
|
9997
|
-
get domImage(): IImage;
|
|
9996
|
+
set domImage(value: BABYLON.IImage);
|
|
9997
|
+
get domImage(): BABYLON.IImage;
|
|
9998
9998
|
private _onImageLoaded;
|
|
9999
9999
|
/**
|
|
10000
10000
|
* Gets the image source url
|
|
10001
10001
|
*/
|
|
10002
|
-
get source(): Nullable<string>;
|
|
10002
|
+
get source(): BABYLON.Nullable<string>;
|
|
10003
10003
|
/**
|
|
10004
10004
|
* Gets or sets image source url
|
|
10005
10005
|
*/
|
|
10006
|
-
set source(value: Nullable<string>);
|
|
10006
|
+
set source(value: BABYLON.Nullable<string>);
|
|
10007
10007
|
/**
|
|
10008
10008
|
* Checks for svg document with icon id present
|
|
10009
10009
|
* @param value
|
|
@@ -10039,7 +10039,7 @@ declare module BABYLON.GUI {
|
|
|
10039
10039
|
* @param name defines the control name
|
|
10040
10040
|
* @param url defines the image url
|
|
10041
10041
|
*/
|
|
10042
|
-
constructor(name?: string | undefined, url?: Nullable<string>);
|
|
10042
|
+
constructor(name?: string | undefined, url?: BABYLON.Nullable<string>);
|
|
10043
10043
|
/**
|
|
10044
10044
|
* Tests if a given coordinates belong to the current control
|
|
10045
10045
|
* @param x defines x coordinate to test
|
|
@@ -10050,10 +10050,10 @@ declare module BABYLON.GUI {
|
|
|
10050
10050
|
protected _getTypeName(): string;
|
|
10051
10051
|
/** Force the control to synchronize with its content */
|
|
10052
10052
|
synchronizeSizeWithContent(): void;
|
|
10053
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
10053
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10054
10054
|
private _prepareWorkingCanvasForOpaqueDetection;
|
|
10055
10055
|
private _drawImage;
|
|
10056
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
10056
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10057
10057
|
private _renderNinePatch;
|
|
10058
10058
|
dispose(): void;
|
|
10059
10059
|
/** STRETCH_NONE */
|
|
@@ -10119,7 +10119,7 @@ declare module BABYLON.GUI {
|
|
|
10119
10119
|
private _onClipboardObserver;
|
|
10120
10120
|
private _onPointerDblTapObserver;
|
|
10121
10121
|
/** @hidden */
|
|
10122
|
-
_connectedVirtualKeyboard: Nullable<VirtualKeyboard>;
|
|
10122
|
+
_connectedVirtualKeyboard: BABYLON.Nullable<VirtualKeyboard>;
|
|
10123
10123
|
/** Gets or sets a string representing the message displayed on mobile when the control gets the focus */
|
|
10124
10124
|
promptMessage: string;
|
|
10125
10125
|
/** Force disable prompt on mobile device */
|
|
@@ -10141,7 +10141,7 @@ declare module BABYLON.GUI {
|
|
|
10141
10141
|
/** BABYLON.Observable raised when paste event is triggered */
|
|
10142
10142
|
onTextPasteObservable: BABYLON.Observable<InputText>;
|
|
10143
10143
|
/** BABYLON.Observable raised when a key event was processed */
|
|
10144
|
-
onKeyboardEventProcessedObservable: BABYLON.Observable<IKeyboardEvent>;
|
|
10144
|
+
onKeyboardEventProcessedObservable: BABYLON.Observable<BABYLON.IKeyboardEvent>;
|
|
10145
10145
|
/** Gets or sets the maximum width allowed by the control */
|
|
10146
10146
|
get maxWidth(): string | number;
|
|
10147
10147
|
/** Gets the maximum width allowed by the control in pixels */
|
|
@@ -10224,14 +10224,14 @@ declare module BABYLON.GUI {
|
|
|
10224
10224
|
* Function called to get the list of controls that should not steal the focus from this control
|
|
10225
10225
|
* @returns an array of controls
|
|
10226
10226
|
*/
|
|
10227
|
-
keepsFocusWith(): Nullable<Control[]>;
|
|
10227
|
+
keepsFocusWith(): BABYLON.Nullable<Control[]>;
|
|
10228
10228
|
/**
|
|
10229
10229
|
* @param keyCode
|
|
10230
10230
|
* @param key
|
|
10231
10231
|
* @param evt
|
|
10232
10232
|
* @hidden
|
|
10233
10233
|
*/
|
|
10234
|
-
processKey(keyCode: number, key?: string, evt?: IKeyboardEvent): void;
|
|
10234
|
+
processKey(keyCode: number, key?: string, evt?: BABYLON.IKeyboardEvent): void;
|
|
10235
10235
|
/**
|
|
10236
10236
|
* @param offset
|
|
10237
10237
|
* @hidden
|
|
@@ -10248,7 +10248,7 @@ declare module BABYLON.GUI {
|
|
|
10248
10248
|
* Handles the keyboard event
|
|
10249
10249
|
* @param evt Defines the KeyboardEvent
|
|
10250
10250
|
*/
|
|
10251
|
-
processKeyboard(evt: IKeyboardEvent): void;
|
|
10251
|
+
processKeyboard(evt: BABYLON.IKeyboardEvent): void;
|
|
10252
10252
|
/**
|
|
10253
10253
|
* @param ev
|
|
10254
10254
|
* @hidden
|
|
@@ -10264,10 +10264,10 @@ declare module BABYLON.GUI {
|
|
|
10264
10264
|
* @hidden
|
|
10265
10265
|
*/
|
|
10266
10266
|
private _onPasteText;
|
|
10267
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
10268
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
10269
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
10270
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
10267
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10268
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
10269
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
10270
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
10271
10271
|
protected _beforeRenderText(textWrapper: TextWrapper): TextWrapper;
|
|
10272
10272
|
dispose(): void;
|
|
10273
10273
|
}
|
|
@@ -10317,16 +10317,16 @@ declare module BABYLON.GUI {
|
|
|
10317
10317
|
*/
|
|
10318
10318
|
constructor(name?: string | undefined);
|
|
10319
10319
|
protected _getTypeName(): string;
|
|
10320
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
10320
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10321
10321
|
_measure(): void;
|
|
10322
10322
|
protected _computeAlignment(parentMeasure: Measure): void;
|
|
10323
10323
|
/**
|
|
10324
10324
|
* Move one end of the line given 3D cartesian coordinates.
|
|
10325
10325
|
* @param position Targeted world position
|
|
10326
|
-
* @param scene Scene
|
|
10326
|
+
* @param scene BABYLON.Scene
|
|
10327
10327
|
* @param end (opt) Set to true to assign x2 and y2 coordinates of the line. Default assign to x1 and y1.
|
|
10328
10328
|
*/
|
|
10329
|
-
moveToVector3(position: BABYLON.Vector3, scene: Scene, end?: boolean): void;
|
|
10329
|
+
moveToVector3(position: BABYLON.Vector3, scene: BABYLON.Scene, end?: boolean): void;
|
|
10330
10330
|
/**
|
|
10331
10331
|
* Move one end of the line to a position in screen absolute space.
|
|
10332
10332
|
* @param projectedPosition Position in screen absolute space (X, Y)
|
|
@@ -10401,7 +10401,7 @@ declare module BABYLON.GUI {
|
|
|
10401
10401
|
set horizontalAlignment(value: number);
|
|
10402
10402
|
set verticalAlignment(value: number);
|
|
10403
10403
|
protected _getTypeName(): string;
|
|
10404
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
10404
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10405
10405
|
protected _additionalProcessing(): void;
|
|
10406
10406
|
_measure(): void;
|
|
10407
10407
|
protected _computeAlignment(): void;
|
|
@@ -10440,8 +10440,8 @@ declare module BABYLON.GUI {
|
|
|
10440
10440
|
*/
|
|
10441
10441
|
constructor(name?: string | undefined);
|
|
10442
10442
|
protected _getTypeName(): string;
|
|
10443
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
10444
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
10443
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10444
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
10445
10445
|
/**
|
|
10446
10446
|
* Utility function to easily create a radio button with a header
|
|
10447
10447
|
* @param title defines the label to use for the header
|
|
@@ -10475,10 +10475,10 @@ declare module BABYLON.GUI {
|
|
|
10475
10475
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
|
10476
10476
|
/** @hidden */
|
|
10477
10477
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
|
10478
|
-
protected _localDraw(context: ICanvasRenderingContext): void;
|
|
10479
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
10478
|
+
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
|
10479
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10480
10480
|
private _drawRoundedRect;
|
|
10481
|
-
protected _clipForChildren(context: ICanvasRenderingContext): void;
|
|
10481
|
+
protected _clipForChildren(context: BABYLON.ICanvasRenderingContext): void;
|
|
10482
10482
|
}
|
|
10483
10483
|
|
|
10484
10484
|
|
|
@@ -10528,7 +10528,7 @@ declare module BABYLON.GUI {
|
|
|
10528
10528
|
* @param control defines the control to add
|
|
10529
10529
|
* @returns the current container
|
|
10530
10530
|
*/
|
|
10531
|
-
addControl(control: Nullable<Control>): Container;
|
|
10531
|
+
addControl(control: BABYLON.Nullable<Control>): Container;
|
|
10532
10532
|
/**
|
|
10533
10533
|
* Removes a control from the current container
|
|
10534
10534
|
* @param control defines the control to remove
|
|
@@ -10583,7 +10583,7 @@ declare module BABYLON.GUI {
|
|
|
10583
10583
|
resetWindow(): void;
|
|
10584
10584
|
protected _getTypeName(): string;
|
|
10585
10585
|
private _buildClientSizes;
|
|
10586
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
10586
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10587
10587
|
protected _postMeasure(): void;
|
|
10588
10588
|
/**
|
|
10589
10589
|
* Gets or sets the mouse wheel precision
|
|
@@ -10650,7 +10650,7 @@ declare module BABYLON.GUI {
|
|
|
10650
10650
|
private _addBar;
|
|
10651
10651
|
/** @hidden */
|
|
10652
10652
|
private _attachWheel;
|
|
10653
|
-
_renderHighlightSpecific(context: ICanvasRenderingContext): void;
|
|
10653
|
+
_renderHighlightSpecific(context: BABYLON.ICanvasRenderingContext): void;
|
|
10654
10654
|
/** Releases associated resources */
|
|
10655
10655
|
dispose(): void;
|
|
10656
10656
|
}
|
|
@@ -10693,13 +10693,13 @@ declare module BABYLON.GUI {
|
|
|
10693
10693
|
* @param context
|
|
10694
10694
|
* @hidden
|
|
10695
10695
|
*/
|
|
10696
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
10696
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
10697
10697
|
/**
|
|
10698
10698
|
* @param parentMeasure
|
|
10699
10699
|
* @param context
|
|
10700
10700
|
* @hidden
|
|
10701
10701
|
*/
|
|
10702
|
-
_layout(parentMeasure: Measure, context: ICanvasRenderingContext): boolean;
|
|
10702
|
+
_layout(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): boolean;
|
|
10703
10703
|
private _scrollChildren;
|
|
10704
10704
|
private _scrollChildrenWithBuckets;
|
|
10705
10705
|
/**
|
|
@@ -10707,7 +10707,7 @@ declare module BABYLON.GUI {
|
|
|
10707
10707
|
* @param invalidatedRectangle
|
|
10708
10708
|
* @hidden
|
|
10709
10709
|
*/
|
|
10710
|
-
_draw(context: ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
10710
|
+
_draw(context: BABYLON.ICanvasRenderingContext, invalidatedRectangle?: Measure): void;
|
|
10711
10711
|
protected _postMeasure(): void;
|
|
10712
10712
|
}
|
|
10713
10713
|
|
|
@@ -11047,9 +11047,9 @@ declare module BABYLON.GUI {
|
|
|
11047
11047
|
* @hidden
|
|
11048
11048
|
*/
|
|
11049
11049
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11050
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
11051
|
-
_onPointerMove(target: Control, coordinates: Vector2, pointerId: number, pi: PointerInfoBase): void;
|
|
11052
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
11050
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
11051
|
+
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
|
11052
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void;
|
|
11053
11053
|
_onCanvasBlur(): void;
|
|
11054
11054
|
}
|
|
11055
11055
|
|
|
@@ -11086,7 +11086,7 @@ declare module BABYLON.GUI {
|
|
|
11086
11086
|
*/
|
|
11087
11087
|
constructor(name?: string | undefined);
|
|
11088
11088
|
protected _getTypeName(): string;
|
|
11089
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
11089
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11090
11090
|
/**
|
|
11091
11091
|
* Serializes the current control
|
|
11092
11092
|
* @param serializationObject defined the JSON serialized object
|
|
@@ -11148,7 +11148,7 @@ declare module BABYLON.GUI {
|
|
|
11148
11148
|
constructor(name?: string | undefined);
|
|
11149
11149
|
protected _getTypeName(): string;
|
|
11150
11150
|
protected _getThumbThickness(): number;
|
|
11151
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
11151
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11152
11152
|
private _first;
|
|
11153
11153
|
private _originX;
|
|
11154
11154
|
private _originY;
|
|
@@ -11158,7 +11158,7 @@ declare module BABYLON.GUI {
|
|
|
11158
11158
|
* @hidden
|
|
11159
11159
|
*/
|
|
11160
11160
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11161
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
11161
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
11162
11162
|
}
|
|
11163
11163
|
|
|
11164
11164
|
|
|
@@ -11183,7 +11183,7 @@ declare module BABYLON.GUI {
|
|
|
11183
11183
|
constructor(name?: string | undefined);
|
|
11184
11184
|
protected _getTypeName(): string;
|
|
11185
11185
|
protected _getThumbThickness(): number;
|
|
11186
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
11186
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11187
11187
|
private _first;
|
|
11188
11188
|
private _originX;
|
|
11189
11189
|
private _originY;
|
|
@@ -11193,7 +11193,7 @@ declare module BABYLON.GUI {
|
|
|
11193
11193
|
* @hidden
|
|
11194
11194
|
*/
|
|
11195
11195
|
protected _updateValueFromPointer(x: number, y: number): void;
|
|
11196
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
11196
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
11197
11197
|
}
|
|
11198
11198
|
|
|
11199
11199
|
|
|
@@ -11228,7 +11228,7 @@ declare module BABYLON.GUI {
|
|
|
11228
11228
|
*/
|
|
11229
11229
|
constructor(name?: string | undefined);
|
|
11230
11230
|
protected _getTypeName(): string;
|
|
11231
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
11231
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11232
11232
|
}
|
|
11233
11233
|
|
|
11234
11234
|
|
|
@@ -11277,8 +11277,8 @@ declare module BABYLON.GUI {
|
|
|
11277
11277
|
* @param context
|
|
11278
11278
|
* @hidden
|
|
11279
11279
|
*/
|
|
11280
|
-
protected _preMeasure(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
11281
|
-
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
11280
|
+
protected _preMeasure(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11281
|
+
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11282
11282
|
protected _postMeasure(): void;
|
|
11283
11283
|
/**
|
|
11284
11284
|
* Serializes the current control
|
|
@@ -11352,7 +11352,7 @@ declare module BABYLON.GUI {
|
|
|
11352
11352
|
/**
|
|
11353
11353
|
* Function used to split a string into words. By default, a string is split at each space character found
|
|
11354
11354
|
*/
|
|
11355
|
-
wordSplittingFunction: Nullable<(line: string) => string[]>;
|
|
11355
|
+
wordSplittingFunction: BABYLON.Nullable<(line: string) => string[]>;
|
|
11356
11356
|
/**
|
|
11357
11357
|
* Return the line list (you may need to use the onLinesReadyObservable to make sure the list is ready)
|
|
11358
11358
|
*/
|
|
@@ -11448,21 +11448,21 @@ declare module BABYLON.GUI {
|
|
|
11448
11448
|
*/
|
|
11449
11449
|
name?: string | undefined, text?: string);
|
|
11450
11450
|
protected _getTypeName(): string;
|
|
11451
|
-
protected _processMeasures(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
|
11451
|
+
protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
|
11452
11452
|
private _drawText;
|
|
11453
11453
|
/**
|
|
11454
11454
|
* @param context
|
|
11455
11455
|
* @hidden
|
|
11456
11456
|
*/
|
|
11457
|
-
_draw(context: ICanvasRenderingContext): void;
|
|
11458
|
-
protected _applyStates(context: ICanvasRenderingContext): void;
|
|
11459
|
-
protected _breakLines(refWidth: number, refHeight: number, context: ICanvasRenderingContext): object[];
|
|
11460
|
-
protected _parseLine(line: string | undefined, context: ICanvasRenderingContext): object;
|
|
11457
|
+
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
|
11458
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
|
11459
|
+
protected _breakLines(refWidth: number, refHeight: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
11460
|
+
protected _parseLine(line: string | undefined, context: BABYLON.ICanvasRenderingContext): object;
|
|
11461
11461
|
private _getCharsToRemove;
|
|
11462
|
-
protected _parseLineEllipsis(line: string | undefined, width: number, context: ICanvasRenderingContext): object;
|
|
11463
|
-
protected _parseLineWordWrap(line: string | undefined, width: number, context: ICanvasRenderingContext): object[];
|
|
11464
|
-
protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: ICanvasRenderingContext): object[];
|
|
11465
|
-
protected _renderLines(context: ICanvasRenderingContext): void;
|
|
11462
|
+
protected _parseLineEllipsis(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object;
|
|
11463
|
+
protected _parseLineWordWrap(line: string | undefined, width: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
11464
|
+
protected _parseLineWordWrapEllipsis(line: string | undefined, width: number, height: number, context: BABYLON.ICanvasRenderingContext): object[];
|
|
11465
|
+
protected _renderLines(context: BABYLON.ICanvasRenderingContext): void;
|
|
11466
11466
|
private _computeHeightForLinesOf;
|
|
11467
11467
|
/**
|
|
11468
11468
|
* Given a width constraint applied on the text block, find the expected height
|
|
@@ -11566,20 +11566,20 @@ declare module BABYLON.GUI {
|
|
|
11566
11566
|
* @param deltaY
|
|
11567
11567
|
* @hidden
|
|
11568
11568
|
*/
|
|
11569
|
-
_processPicking(x: number, y: number, pi: PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
11569
|
+
_processPicking(x: number, y: number, pi: BABYLON.PointerInfoBase, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean;
|
|
11570
11570
|
/**
|
|
11571
11571
|
* @param target
|
|
11572
11572
|
* @param pi
|
|
11573
11573
|
* @hidden
|
|
11574
11574
|
*/
|
|
11575
|
-
_onPointerEnter(target: Control, pi: PointerInfoBase): boolean;
|
|
11575
|
+
_onPointerEnter(target: Control, pi: BABYLON.PointerInfoBase): boolean;
|
|
11576
11576
|
/**
|
|
11577
11577
|
* @param target
|
|
11578
11578
|
* @param pi
|
|
11579
11579
|
* @param force
|
|
11580
11580
|
* @hidden
|
|
11581
11581
|
*/
|
|
11582
|
-
_onPointerOut(target: Control, pi: PointerInfoBase, force?: boolean): void;
|
|
11582
|
+
_onPointerOut(target: Control, pi: BABYLON.PointerInfoBase, force?: boolean): void;
|
|
11583
11583
|
/**
|
|
11584
11584
|
* @param target
|
|
11585
11585
|
* @param coordinates
|
|
@@ -11588,7 +11588,7 @@ declare module BABYLON.GUI {
|
|
|
11588
11588
|
* @param pi
|
|
11589
11589
|
* @hidden
|
|
11590
11590
|
*/
|
|
11591
|
-
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
|
11591
|
+
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
|
11592
11592
|
/**
|
|
11593
11593
|
* @param target
|
|
11594
11594
|
* @param coordinates
|
|
@@ -11598,7 +11598,7 @@ declare module BABYLON.GUI {
|
|
|
11598
11598
|
* @param pi
|
|
11599
11599
|
* @hidden
|
|
11600
11600
|
*/
|
|
11601
|
-
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: PointerInfoBase): void;
|
|
11601
|
+
_onPointerUp(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean, pi: BABYLON.PointerInfoBase): void;
|
|
11602
11602
|
}
|
|
11603
11603
|
|
|
11604
11604
|
|
|
@@ -11668,7 +11668,7 @@ declare module BABYLON.GUI {
|
|
|
11668
11668
|
private _connectedInputTexts;
|
|
11669
11669
|
private _onKeyPressObserver;
|
|
11670
11670
|
/** Gets the input text control currently attached to the keyboard */
|
|
11671
|
-
get connectedInputText(): Nullable<InputText>;
|
|
11671
|
+
get connectedInputText(): BABYLON.Nullable<InputText>;
|
|
11672
11672
|
/**
|
|
11673
11673
|
* Connects the keyboard with an input text control
|
|
11674
11674
|
*
|
|
@@ -11811,7 +11811,7 @@ declare module BABYLON.GUI {
|
|
|
11811
11811
|
* @param parentMatrix defines the parent matrix to multiply by (can be null)
|
|
11812
11812
|
* @param result defines the target matrix
|
|
11813
11813
|
*/
|
|
11814
|
-
static ComposeToRef(tx: number, ty: number, angle: number, scaleX: number, scaleY: number, parentMatrix: Nullable<Matrix2D>, result: Matrix2D): void;
|
|
11814
|
+
static ComposeToRef(tx: number, ty: number, angle: number, scaleX: number, scaleY: number, parentMatrix: BABYLON.Nullable<Matrix2D>, result: Matrix2D): void;
|
|
11815
11815
|
}
|
|
11816
11816
|
|
|
11817
11817
|
|
|
@@ -11919,11 +11919,11 @@ declare module BABYLON.GUI {
|
|
|
11919
11919
|
get y(): string | number;
|
|
11920
11920
|
set y(value: string | number);
|
|
11921
11921
|
/** Gets or sets the control associated with this point */
|
|
11922
|
-
get control(): Nullable<Control>;
|
|
11923
|
-
set control(value: Nullable<Control>);
|
|
11922
|
+
get control(): BABYLON.Nullable<Control>;
|
|
11923
|
+
set control(value: BABYLON.Nullable<Control>);
|
|
11924
11924
|
/** Gets or sets the mesh associated with this point */
|
|
11925
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
11926
|
-
set mesh(value: Nullable<AbstractMesh>);
|
|
11925
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
11926
|
+
set mesh(value: BABYLON.Nullable<BABYLON.AbstractMesh>);
|
|
11927
11927
|
/** Resets links */
|
|
11928
11928
|
resetLinks(): void;
|
|
11929
11929
|
/**
|
|
@@ -11941,7 +11941,7 @@ declare module BABYLON.GUI {
|
|
|
11941
11941
|
* Define a style used by control to automatically setup properties based on a template.
|
|
11942
11942
|
* Only support font related properties so far
|
|
11943
11943
|
*/
|
|
11944
|
-
export class Style implements IDisposable {
|
|
11944
|
+
export class Style implements BABYLON.IDisposable {
|
|
11945
11945
|
private _fontFamily;
|
|
11946
11946
|
private _fontStyle;
|
|
11947
11947
|
private _fontWeight;
|
|
@@ -12120,7 +12120,7 @@ declare module BABYLON.GUI {
|
|
|
12120
12120
|
* @param onSuccess defines the callback called on layout load successfully.
|
|
12121
12121
|
* @param onError defines the callback called on layout load failure.
|
|
12122
12122
|
*/
|
|
12123
|
-
loadLayout(xmlFile: any, rootNode: any, onSuccess?: Nullable<() => void>, onError?: Nullable<(error: string) => void>): void;
|
|
12123
|
+
loadLayout(xmlFile: any, rootNode: any, onSuccess?: BABYLON.Nullable<() => void>, onError?: BABYLON.Nullable<(error: string) => void>): void;
|
|
12124
12124
|
/**
|
|
12125
12125
|
* Initiates the xml layout loading asynchronously
|
|
12126
12126
|
* @param xmlFile defines the xml layout to load
|
|
@@ -12136,7 +12136,7 @@ declare module BABYLON.GUI {
|
|
|
12136
12136
|
* Handles a BABYLON.FollowBehavior, SixDofBehavior and BABYLON.SurfaceMagnetismBehavior
|
|
12137
12137
|
* @since 5.0.0
|
|
12138
12138
|
*/
|
|
12139
|
-
export class DefaultBehavior implements Behavior<Mesh> {
|
|
12139
|
+
export class DefaultBehavior implements BABYLON.Behavior<BABYLON.Mesh> {
|
|
12140
12140
|
private _scene;
|
|
12141
12141
|
private _followBehavior;
|
|
12142
12142
|
private _sixDofDragBehavior;
|
|
@@ -12150,7 +12150,7 @@ declare module BABYLON.GUI {
|
|
|
12150
12150
|
/**
|
|
12151
12151
|
* Attached node of this behavior
|
|
12152
12152
|
*/
|
|
12153
|
-
attachedNode: Nullable<Mesh>;
|
|
12153
|
+
attachedNode: BABYLON.Nullable<BABYLON.Mesh>;
|
|
12154
12154
|
/**
|
|
12155
12155
|
* The name of the behavior
|
|
12156
12156
|
*/
|
|
@@ -12189,7 +12189,7 @@ declare module BABYLON.GUI {
|
|
|
12189
12189
|
* @param draggablesMeshes Descendant meshes that can be used for dragging the owner mesh
|
|
12190
12190
|
* @param sceneUnderstandingMeshes Meshes from the scene understanding that will be used for surface magnetism
|
|
12191
12191
|
*/
|
|
12192
|
-
attach(ownerMesh: Mesh, draggablesMeshes?: Mesh[], sceneUnderstandingMeshes?: AbstractMesh[]): void;
|
|
12192
|
+
attach(ownerMesh: BABYLON.Mesh, draggablesMeshes?: BABYLON.Mesh[], sceneUnderstandingMeshes?: BABYLON.AbstractMesh[]): void;
|
|
12193
12193
|
/**
|
|
12194
12194
|
* Detaches the behavior from the mesh
|
|
12195
12195
|
*/
|
|
@@ -12209,7 +12209,7 @@ declare module BABYLON.GUI {
|
|
|
12209
12209
|
*/
|
|
12210
12210
|
constructor(name?: string);
|
|
12211
12211
|
protected _getTypeName(): string;
|
|
12212
|
-
protected _createNode(scene: Scene): BABYLON.TransformNode;
|
|
12212
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12213
12213
|
}
|
|
12214
12214
|
|
|
12215
12215
|
|
|
@@ -12218,7 +12218,7 @@ declare module BABYLON.GUI {
|
|
|
12218
12218
|
*/
|
|
12219
12219
|
export class Button3D extends AbstractButton3D {
|
|
12220
12220
|
/** @hidden */
|
|
12221
|
-
protected _currentMaterial: Material;
|
|
12221
|
+
protected _currentMaterial: BABYLON.Material;
|
|
12222
12222
|
/**
|
|
12223
12223
|
* Creates a new button
|
|
12224
12224
|
* @param name defines the control name
|
|
@@ -12230,8 +12230,8 @@ declare module BABYLON.GUI {
|
|
|
12230
12230
|
*/
|
|
12231
12231
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
12232
12232
|
protected _getTypeName(): string;
|
|
12233
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12234
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
12233
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12234
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12235
12235
|
/**
|
|
12236
12236
|
* Releases all associated resources
|
|
12237
12237
|
*/
|
|
@@ -12284,7 +12284,7 @@ declare module BABYLON.GUI {
|
|
|
12284
12284
|
* This function will be called everytime a new control is added
|
|
12285
12285
|
*/
|
|
12286
12286
|
protected _arrangeChildren(): void;
|
|
12287
|
-
protected _createNode(scene: Scene): Nullable<BABYLON.TransformNode>;
|
|
12287
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
12288
12288
|
/**
|
|
12289
12289
|
* Removes a control from the children of this control
|
|
12290
12290
|
* @param control defines the control to remove
|
|
@@ -12341,7 +12341,7 @@ declare module BABYLON.GUI {
|
|
|
12341
12341
|
/**
|
|
12342
12342
|
* Class used as base class for controls
|
|
12343
12343
|
*/
|
|
12344
|
-
export class Control3D implements IDisposable, IBehaviorAware<Control3D> {
|
|
12344
|
+
export class Control3D implements BABYLON.IDisposable, BABYLON.IBehaviorAware<Control3D> {
|
|
12345
12345
|
/** Defines the control name */
|
|
12346
12346
|
name?: string | undefined;
|
|
12347
12347
|
/** @hidden */
|
|
@@ -12394,34 +12394,34 @@ declare module BABYLON.GUI {
|
|
|
12394
12394
|
/**
|
|
12395
12395
|
* Gets or sets the parent container
|
|
12396
12396
|
*/
|
|
12397
|
-
parent: Nullable<Container3D>;
|
|
12397
|
+
parent: BABYLON.Nullable<Container3D>;
|
|
12398
12398
|
private _behaviors;
|
|
12399
12399
|
/**
|
|
12400
12400
|
* Gets the list of attached behaviors
|
|
12401
12401
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
12402
12402
|
*/
|
|
12403
|
-
get behaviors(): Behavior<Control3D>[];
|
|
12403
|
+
get behaviors(): BABYLON.Behavior<Control3D>[];
|
|
12404
12404
|
/**
|
|
12405
12405
|
* Attach a behavior to the control
|
|
12406
12406
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
12407
12407
|
* @param behavior defines the behavior to attach
|
|
12408
12408
|
* @returns the current control
|
|
12409
12409
|
*/
|
|
12410
|
-
addBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
12410
|
+
addBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
12411
12411
|
/**
|
|
12412
12412
|
* Remove an attached behavior
|
|
12413
12413
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
12414
12414
|
* @param behavior defines the behavior to attach
|
|
12415
12415
|
* @returns the current control
|
|
12416
12416
|
*/
|
|
12417
|
-
removeBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
12417
|
+
removeBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
12418
12418
|
/**
|
|
12419
12419
|
* Gets an attached behavior by name
|
|
12420
12420
|
* @param name defines the name of the behavior to look for
|
|
12421
12421
|
* @see https://doc.babylonjs.com/features/behaviour
|
|
12422
12422
|
* @returns null if behavior was not found else the requested behavior
|
|
12423
12423
|
*/
|
|
12424
|
-
getBehaviorByName(name: string): Nullable<Behavior<Control3D>>;
|
|
12424
|
+
getBehaviorByName(name: string): BABYLON.Nullable<BABYLON.Behavior<Control3D>>;
|
|
12425
12425
|
/** Gets or sets a boolean indicating if the control is visible */
|
|
12426
12426
|
get isVisible(): boolean;
|
|
12427
12427
|
set isVisible(value: boolean);
|
|
@@ -12445,30 +12445,30 @@ declare module BABYLON.GUI {
|
|
|
12445
12445
|
/**
|
|
12446
12446
|
* Gets the transform node used by this control
|
|
12447
12447
|
*/
|
|
12448
|
-
get node(): Nullable<TransformNode>;
|
|
12448
|
+
get node(): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
12449
12449
|
/**
|
|
12450
12450
|
* Gets the mesh used to render this control
|
|
12451
12451
|
*/
|
|
12452
|
-
get mesh(): Nullable<BABYLON.AbstractMesh>;
|
|
12452
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
12453
12453
|
/**
|
|
12454
12454
|
* Link the control as child of the given node
|
|
12455
12455
|
* @param node defines the node to link to. Use null to unlink the control
|
|
12456
12456
|
* @returns the current control
|
|
12457
12457
|
*/
|
|
12458
|
-
linkToTransformNode(node: Nullable<TransformNode>): Control3D;
|
|
12458
|
+
linkToTransformNode(node: BABYLON.Nullable<BABYLON.TransformNode>): Control3D;
|
|
12459
12459
|
/**
|
|
12460
12460
|
* @param scene
|
|
12461
12461
|
* @hidden*
|
|
12462
12462
|
*/
|
|
12463
|
-
_prepareNode(scene: Scene): void;
|
|
12464
|
-
protected _injectGUI3DReservedDataStore(node: TransformNode): any;
|
|
12463
|
+
_prepareNode(scene: BABYLON.Scene): void;
|
|
12464
|
+
protected _injectGUI3DReservedDataStore(node: BABYLON.TransformNode): any;
|
|
12465
12465
|
/**
|
|
12466
12466
|
* Node creation.
|
|
12467
12467
|
* Can be overriden by children
|
|
12468
12468
|
* @param scene defines the scene where the node must be attached
|
|
12469
12469
|
* @returns the attached node or null if none. Must return a Mesh or BABYLON.AbstractMesh if there is an attached visible object
|
|
12470
12470
|
*/
|
|
12471
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
12471
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
12472
12472
|
/**
|
|
12473
12473
|
* Affect a material to the given mesh
|
|
12474
12474
|
* @param mesh defines the mesh which will represent the control
|
|
@@ -12512,7 +12512,7 @@ declare module BABYLON.GUI {
|
|
|
12512
12512
|
* @param pointerId
|
|
12513
12513
|
* @hidden
|
|
12514
12514
|
*/
|
|
12515
|
-
forcePointerUp(pointerId?: Nullable<number>): void;
|
|
12515
|
+
forcePointerUp(pointerId?: BABYLON.Nullable<number>): void;
|
|
12516
12516
|
/**
|
|
12517
12517
|
* @param type
|
|
12518
12518
|
* @param pickedPoint
|
|
@@ -12521,7 +12521,7 @@ declare module BABYLON.GUI {
|
|
|
12521
12521
|
* @param buttonIndex
|
|
12522
12522
|
* @hidden
|
|
12523
12523
|
*/
|
|
12524
|
-
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
12524
|
+
_processObservables(type: number, pickedPoint: BABYLON.Vector3, originMeshPosition: BABYLON.Nullable<BABYLON.Vector3>, pointerId: number, buttonIndex: number): boolean;
|
|
12525
12525
|
/** @hidden */
|
|
12526
12526
|
_disposeNode(): void;
|
|
12527
12527
|
/**
|
|
@@ -12539,8 +12539,8 @@ declare module BABYLON.GUI {
|
|
|
12539
12539
|
/**
|
|
12540
12540
|
* Gets or sets the radius of the cylinder where to project controls (5 by default)
|
|
12541
12541
|
*/
|
|
12542
|
-
get radius(): float;
|
|
12543
|
-
set radius(value: float);
|
|
12542
|
+
get radius(): BABYLON.float;
|
|
12543
|
+
set radius(value: BABYLON.float);
|
|
12544
12544
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
12545
12545
|
private _cylindricalMapping;
|
|
12546
12546
|
}
|
|
@@ -12556,13 +12556,13 @@ declare module BABYLON.GUI {
|
|
|
12556
12556
|
* The hand constraint behavior setting the transformation of this node
|
|
12557
12557
|
*/
|
|
12558
12558
|
get handConstraintBehavior(): BABYLON.HandConstraintBehavior;
|
|
12559
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
12559
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
12560
12560
|
/**
|
|
12561
12561
|
* Creates a hand menu GUI 3D control
|
|
12562
|
-
* @param xr the WebXRExperienceHelper used to link this control to the enabled WebXRHandTracking feature
|
|
12562
|
+
* @param xr the BABYLON.WebXRExperienceHelper used to link this control to the enabled WebXRHandTracking feature
|
|
12563
12563
|
* @param name name of the hand menu
|
|
12564
12564
|
*/
|
|
12565
|
-
constructor(xr: WebXRExperienceHelper, name?: string);
|
|
12565
|
+
constructor(xr: BABYLON.WebXRExperienceHelper, name?: string);
|
|
12566
12566
|
/**
|
|
12567
12567
|
* Disposes the hand menu
|
|
12568
12568
|
*/
|
|
@@ -12606,9 +12606,9 @@ declare module BABYLON.GUI {
|
|
|
12606
12606
|
*/
|
|
12607
12607
|
constructor(name?: string, _shareMaterials?: boolean);
|
|
12608
12608
|
protected _getTypeName(): string;
|
|
12609
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12609
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12610
12610
|
private _createMaterial;
|
|
12611
|
-
protected _affectMaterial(mesh: Mesh): void;
|
|
12611
|
+
protected _affectMaterial(mesh: BABYLON.Mesh): void;
|
|
12612
12612
|
/**
|
|
12613
12613
|
* Releases all associated resources
|
|
12614
12614
|
*/
|
|
@@ -12645,8 +12645,8 @@ declare module BABYLON.GUI {
|
|
|
12645
12645
|
/**
|
|
12646
12646
|
* Text to be displayed on the tooltip shown when hovering on the button. When set to null tooltip is disabled. (Default: null)
|
|
12647
12647
|
*/
|
|
12648
|
-
set tooltipText(text: Nullable<string>);
|
|
12649
|
-
get tooltipText(): Nullable<string>;
|
|
12648
|
+
set tooltipText(text: BABYLON.Nullable<string>);
|
|
12649
|
+
get tooltipText(): BABYLON.Nullable<string>;
|
|
12650
12650
|
/**
|
|
12651
12651
|
* Gets or sets text for the button
|
|
12652
12652
|
*/
|
|
@@ -12681,7 +12681,7 @@ declare module BABYLON.GUI {
|
|
|
12681
12681
|
constructor(name?: string, shareMaterials?: boolean);
|
|
12682
12682
|
protected _getTypeName(): string;
|
|
12683
12683
|
private _rebuildContent;
|
|
12684
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12684
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12685
12685
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
12686
12686
|
private _createBackMaterial;
|
|
12687
12687
|
private _createFrontMaterial;
|
|
@@ -12797,14 +12797,14 @@ declare module BABYLON.GUI {
|
|
|
12797
12797
|
* @hidden
|
|
12798
12798
|
*/
|
|
12799
12799
|
_updatePivot(): void;
|
|
12800
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12800
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12801
12801
|
private _attachContentPlateBehavior;
|
|
12802
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
12802
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12803
12803
|
/**
|
|
12804
12804
|
* @param scene
|
|
12805
12805
|
* @hidden*
|
|
12806
12806
|
*/
|
|
12807
|
-
_prepareNode(scene: Scene): void;
|
|
12807
|
+
_prepareNode(scene: BABYLON.Scene): void;
|
|
12808
12808
|
/**
|
|
12809
12809
|
* Resets the aspect and pose of the slate so it is right in front of the active camera, facing towards it.
|
|
12810
12810
|
* @param resetAspect Should the slate's dimensions/aspect ratio be reset as well
|
|
@@ -12824,16 +12824,16 @@ declare module BABYLON.GUI {
|
|
|
12824
12824
|
*/
|
|
12825
12825
|
export class MeshButton3D extends Button3D {
|
|
12826
12826
|
/** @hidden */
|
|
12827
|
-
protected _currentMesh: Mesh;
|
|
12827
|
+
protected _currentMesh: BABYLON.Mesh;
|
|
12828
12828
|
/**
|
|
12829
12829
|
* Creates a new 3D button based on a mesh
|
|
12830
12830
|
* @param mesh mesh to become a 3D button
|
|
12831
12831
|
* @param name defines the control name
|
|
12832
12832
|
*/
|
|
12833
|
-
constructor(mesh: Mesh, name?: string);
|
|
12833
|
+
constructor(mesh: BABYLON.Mesh, name?: string);
|
|
12834
12834
|
protected _getTypeName(): string;
|
|
12835
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12836
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
12835
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12836
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12837
12837
|
}
|
|
12838
12838
|
|
|
12839
12839
|
|
|
@@ -12864,7 +12864,7 @@ declare module BABYLON.GUI {
|
|
|
12864
12864
|
get isPinned(): boolean;
|
|
12865
12865
|
set isPinned(value: boolean);
|
|
12866
12866
|
private _createPinButton;
|
|
12867
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
12867
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
12868
12868
|
protected _finalProcessing(): void;
|
|
12869
12869
|
/**
|
|
12870
12870
|
* Creates a near menu GUI 3D control
|
|
@@ -12894,8 +12894,8 @@ declare module BABYLON.GUI {
|
|
|
12894
12894
|
/**
|
|
12895
12895
|
* Gets or sets the number of iteration to use to scatter the controls (100 by default)
|
|
12896
12896
|
*/
|
|
12897
|
-
get iteration(): float;
|
|
12898
|
-
set iteration(value: float);
|
|
12897
|
+
get iteration(): BABYLON.float;
|
|
12898
|
+
set iteration(value: BABYLON.float);
|
|
12899
12899
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
12900
12900
|
private _scatterMapping;
|
|
12901
12901
|
protected _finalProcessing(): void;
|
|
@@ -12937,7 +12937,7 @@ declare module BABYLON.GUI {
|
|
|
12937
12937
|
/**
|
|
12938
12938
|
* Gets the mesh used to render this control
|
|
12939
12939
|
*/
|
|
12940
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
12940
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
12941
12941
|
/** Gets or sets minimum value */
|
|
12942
12942
|
get minimum(): number;
|
|
12943
12943
|
set minimum(value: number);
|
|
@@ -12964,8 +12964,8 @@ declare module BABYLON.GUI {
|
|
|
12964
12964
|
* Gets the slider backplate material used by this control
|
|
12965
12965
|
*/
|
|
12966
12966
|
get sliderBackplateMaterial(): MRDLBackplateMaterial;
|
|
12967
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
12968
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
12967
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
12968
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
12969
12969
|
private _createBehavior;
|
|
12970
12970
|
private _convertToPosition;
|
|
12971
12971
|
private _convertToValue;
|
|
@@ -12984,8 +12984,8 @@ declare module BABYLON.GUI {
|
|
|
12984
12984
|
/**
|
|
12985
12985
|
* Gets or sets the radius of the sphere where to project controls (5 by default)
|
|
12986
12986
|
*/
|
|
12987
|
-
get radius(): float;
|
|
12988
|
-
set radius(value: float);
|
|
12987
|
+
get radius(): BABYLON.float;
|
|
12988
|
+
set radius(value: BABYLON.float);
|
|
12989
12989
|
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
12990
12990
|
private _sphericalMapping;
|
|
12991
12991
|
}
|
|
@@ -13034,7 +13034,7 @@ declare module BABYLON.GUI {
|
|
|
13034
13034
|
* @param name defines the control name
|
|
13035
13035
|
* @param collisionMesh mesh to track collisions with
|
|
13036
13036
|
*/
|
|
13037
|
-
constructor(name?: string, collisionMesh?: Mesh);
|
|
13037
|
+
constructor(name?: string, collisionMesh?: BABYLON.Mesh);
|
|
13038
13038
|
/**
|
|
13039
13039
|
* Whether the current interaction is caused by near interaction or not
|
|
13040
13040
|
*/
|
|
@@ -13052,7 +13052,7 @@ declare module BABYLON.GUI {
|
|
|
13052
13052
|
* Sets the mesh used for testing input collision
|
|
13053
13053
|
* @param collisionMesh the new collision mesh for the button
|
|
13054
13054
|
*/
|
|
13055
|
-
set collisionMesh(collisionMesh: Mesh);
|
|
13055
|
+
set collisionMesh(collisionMesh: BABYLON.Mesh);
|
|
13056
13056
|
/**
|
|
13057
13057
|
* Setter for if this TouchButton3D should be treated as a toggle button
|
|
13058
13058
|
* @param value If this TouchHolographicButton should act like a toggle button
|
|
@@ -13082,7 +13082,7 @@ declare module BABYLON.GUI {
|
|
|
13082
13082
|
*/
|
|
13083
13083
|
_generatePointerEventType(providedType: number, nearMeshPosition: BABYLON.Vector3, activeInteractionCount: number): number;
|
|
13084
13084
|
protected _getTypeName(): string;
|
|
13085
|
-
protected _createNode(scene: Scene): TransformNode;
|
|
13085
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
13086
13086
|
/**
|
|
13087
13087
|
* Releases all associated resources
|
|
13088
13088
|
*/
|
|
@@ -13134,12 +13134,12 @@ declare module BABYLON.GUI {
|
|
|
13134
13134
|
/**
|
|
13135
13135
|
* Gets the mesh used to render this control
|
|
13136
13136
|
*/
|
|
13137
|
-
get mesh(): Nullable<AbstractMesh>;
|
|
13137
|
+
get mesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
13138
13138
|
/**
|
|
13139
13139
|
* Text to be displayed on the tooltip shown when hovering on the button. When set to null tooltip is disabled. (Default: null)
|
|
13140
13140
|
*/
|
|
13141
|
-
set tooltipText(text: Nullable<string>);
|
|
13142
|
-
get tooltipText(): Nullable<string>;
|
|
13141
|
+
set tooltipText(text: BABYLON.Nullable<string>);
|
|
13142
|
+
get tooltipText(): BABYLON.Nullable<string>;
|
|
13143
13143
|
/**
|
|
13144
13144
|
* Gets or sets text for the button
|
|
13145
13145
|
*/
|
|
@@ -13178,7 +13178,7 @@ declare module BABYLON.GUI {
|
|
|
13178
13178
|
constructor(name?: string, shareMaterials?: boolean);
|
|
13179
13179
|
protected _getTypeName(): string;
|
|
13180
13180
|
private _rebuildContent;
|
|
13181
|
-
protected _createNode(scene: Scene): BABYLON.TransformNode;
|
|
13181
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.TransformNode;
|
|
13182
13182
|
protected _applyFacade(facadeTexture: AdvancedDynamicTexture): void;
|
|
13183
13183
|
private _createBackMaterial;
|
|
13184
13184
|
private _createFrontMaterial;
|
|
@@ -13212,9 +13212,9 @@ declare module BABYLON.GUI {
|
|
|
13212
13212
|
*/
|
|
13213
13213
|
get backPlateMargin(): number;
|
|
13214
13214
|
set backPlateMargin(value: number);
|
|
13215
|
-
protected _createNode(scene: Scene): Nullable<TransformNode>;
|
|
13216
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
13217
|
-
protected _mapGridNode(control: Control3D, nodePosition: Vector3): void;
|
|
13215
|
+
protected _createNode(scene: BABYLON.Scene): BABYLON.Nullable<BABYLON.TransformNode>;
|
|
13216
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
13217
|
+
protected _mapGridNode(control: Control3D, nodePosition: BABYLON.Vector3): void;
|
|
13218
13218
|
protected _finalProcessing(): void;
|
|
13219
13219
|
private _updateCurrentMinMax;
|
|
13220
13220
|
private _updateMargins;
|
|
@@ -13251,16 +13251,16 @@ declare module BABYLON.GUI {
|
|
|
13251
13251
|
*/
|
|
13252
13252
|
export class TouchMeshButton3D extends TouchButton3D {
|
|
13253
13253
|
/** @hidden */
|
|
13254
|
-
protected _currentMesh: Mesh;
|
|
13254
|
+
protected _currentMesh: BABYLON.Mesh;
|
|
13255
13255
|
/**
|
|
13256
13256
|
* Creates a new 3D button based on a mesh
|
|
13257
13257
|
* @param mesh mesh to become a 3D button. By default this is also the mesh for near interaction collision checking
|
|
13258
13258
|
* @param name defines the control name
|
|
13259
13259
|
*/
|
|
13260
|
-
constructor(mesh: Mesh, name?: string);
|
|
13260
|
+
constructor(mesh: BABYLON.Mesh, name?: string);
|
|
13261
13261
|
protected _getTypeName(): string;
|
|
13262
|
-
protected _createNode(): TransformNode;
|
|
13263
|
-
protected _affectMaterial(mesh: AbstractMesh): void;
|
|
13262
|
+
protected _createNode(): BABYLON.TransformNode;
|
|
13263
|
+
protected _affectMaterial(mesh: BABYLON.AbstractMesh): void;
|
|
13264
13264
|
}
|
|
13265
13265
|
|
|
13266
13266
|
|
|
@@ -13294,14 +13294,14 @@ declare module BABYLON.GUI {
|
|
|
13294
13294
|
* Gets or sets the number of columns requested (10 by default).
|
|
13295
13295
|
* The panel will automatically compute the number of rows based on number of child controls.
|
|
13296
13296
|
*/
|
|
13297
|
-
get columns(): int;
|
|
13298
|
-
set columns(value: int);
|
|
13297
|
+
get columns(): BABYLON.int;
|
|
13298
|
+
set columns(value: BABYLON.int);
|
|
13299
13299
|
/**
|
|
13300
13300
|
* Gets or sets a the number of rows requested.
|
|
13301
13301
|
* The panel will automatically compute the number of columns based on number of child controls.
|
|
13302
13302
|
*/
|
|
13303
|
-
get rows(): int;
|
|
13304
|
-
set rows(value: int);
|
|
13303
|
+
get rows(): BABYLON.int;
|
|
13304
|
+
set rows(value: BABYLON.int);
|
|
13305
13305
|
/**
|
|
13306
13306
|
* Creates new VolumeBasedPanel
|
|
13307
13307
|
* @param name
|
|
@@ -13336,7 +13336,7 @@ declare module BABYLON.GUI {
|
|
|
13336
13336
|
* Base class for SlateGizmo handles
|
|
13337
13337
|
*/
|
|
13338
13338
|
export abstract class GizmoHandle {
|
|
13339
|
-
protected _scene: Scene;
|
|
13339
|
+
protected _scene: BABYLON.Scene;
|
|
13340
13340
|
protected _state: HandleState;
|
|
13341
13341
|
protected _materials: HandleMaterial[];
|
|
13342
13342
|
private _dragStartObserver;
|
|
@@ -13372,7 +13372,7 @@ declare module BABYLON.GUI {
|
|
|
13372
13372
|
* @param gizmo associated SlateGizmo
|
|
13373
13373
|
* @param scene scene
|
|
13374
13374
|
*/
|
|
13375
|
-
constructor(gizmo: SlateGizmo, scene: Scene);
|
|
13375
|
+
constructor(gizmo: SlateGizmo, scene: BABYLON.Scene);
|
|
13376
13376
|
protected _createMaterial(positionOffset?: BABYLON.Vector3): HandleMaterial;
|
|
13377
13377
|
private _updateMaterial;
|
|
13378
13378
|
/**
|
|
@@ -13454,16 +13454,16 @@ declare module BABYLON.GUI {
|
|
|
13454
13454
|
/**
|
|
13455
13455
|
* The slate attached to this gizmo
|
|
13456
13456
|
*/
|
|
13457
|
-
set attachedSlate(control: Nullable<HolographicSlate>);
|
|
13458
|
-
get attachedSlate(): Nullable<HolographicSlate>;
|
|
13459
|
-
constructor(utilityLayer?: UtilityLayerRenderer);
|
|
13457
|
+
set attachedSlate(control: BABYLON.Nullable<HolographicSlate>);
|
|
13458
|
+
get attachedSlate(): BABYLON.Nullable<HolographicSlate>;
|
|
13459
|
+
constructor(utilityLayer?: BABYLON.UtilityLayerRenderer);
|
|
13460
13460
|
private _createNode;
|
|
13461
13461
|
private _keepAspectRatio;
|
|
13462
13462
|
private _clampDimensions;
|
|
13463
13463
|
private _moveHandle;
|
|
13464
13464
|
private _assignDragBehaviorCorners;
|
|
13465
13465
|
private _assignDragBehaviorSides;
|
|
13466
|
-
protected _attachedNodeChanged(value: Nullable<AbstractMesh>): void;
|
|
13466
|
+
protected _attachedNodeChanged(value: BABYLON.Nullable<BABYLON.AbstractMesh>): void;
|
|
13467
13467
|
/**
|
|
13468
13468
|
* Updates the bounding box information for the gizmo
|
|
13469
13469
|
*/
|
|
@@ -13479,7 +13479,7 @@ declare module BABYLON.GUI {
|
|
|
13479
13479
|
* Class used to manage 3D user interface
|
|
13480
13480
|
* @see https://doc.babylonjs.com/how_to/gui3d
|
|
13481
13481
|
*/
|
|
13482
|
-
export class GUI3DManager implements IDisposable {
|
|
13482
|
+
export class GUI3DManager implements BABYLON.IDisposable {
|
|
13483
13483
|
private _scene;
|
|
13484
13484
|
private _sceneDisposeObserver;
|
|
13485
13485
|
private _utilityLayer;
|
|
@@ -13501,23 +13501,23 @@ declare module BABYLON.GUI {
|
|
|
13501
13501
|
/**
|
|
13502
13502
|
* BABYLON.Observable raised when the point picked by the pointer events changed
|
|
13503
13503
|
*/
|
|
13504
|
-
onPickedPointChangedObservable: BABYLON.Observable<Nullable<BABYLON.Vector3>>;
|
|
13504
|
+
onPickedPointChangedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector3>>;
|
|
13505
13505
|
/**
|
|
13506
13506
|
* BABYLON.Observable raised when a picking happens
|
|
13507
13507
|
*/
|
|
13508
|
-
onPickingObservable: BABYLON.Observable<Nullable<AbstractMesh>>;
|
|
13508
|
+
onPickingObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.AbstractMesh>>;
|
|
13509
13509
|
/** @hidden */
|
|
13510
13510
|
_sharedMaterials: {
|
|
13511
|
-
[key: string]: Material;
|
|
13511
|
+
[key: string]: BABYLON.Material;
|
|
13512
13512
|
};
|
|
13513
13513
|
/** @hidden */
|
|
13514
13514
|
_touchSharedMaterials: {
|
|
13515
|
-
[key: string]: Material;
|
|
13515
|
+
[key: string]: BABYLON.Material;
|
|
13516
13516
|
};
|
|
13517
13517
|
/** Gets the hosting scene */
|
|
13518
|
-
get scene(): Scene;
|
|
13518
|
+
get scene(): BABYLON.Scene;
|
|
13519
13519
|
/** Gets associated utility layer */
|
|
13520
|
-
get utilityLayer(): Nullable<BABYLON.UtilityLayerRenderer>;
|
|
13520
|
+
get utilityLayer(): BABYLON.Nullable<BABYLON.UtilityLayerRenderer>;
|
|
13521
13521
|
/** Gets the scaling for all UI elements owned by this manager */
|
|
13522
13522
|
get controlScaling(): number;
|
|
13523
13523
|
/** Sets the scaling adjustment for all UI elements owned by this manager */
|
|
@@ -13530,7 +13530,7 @@ declare module BABYLON.GUI {
|
|
|
13530
13530
|
* Creates a new GUI3DManager
|
|
13531
13531
|
* @param scene
|
|
13532
13532
|
*/
|
|
13533
|
-
constructor(scene?: Scene);
|
|
13533
|
+
constructor(scene?: BABYLON.Scene);
|
|
13534
13534
|
private _handlePointerOut;
|
|
13535
13535
|
private _doPicking;
|
|
13536
13536
|
/**
|
|
@@ -13622,25 +13622,25 @@ declare module BABYLON.GUI {
|
|
|
13622
13622
|
hoverPosition: BABYLON.Vector3;
|
|
13623
13623
|
private _albedoTexture;
|
|
13624
13624
|
/** Gets or sets the texture to use for albedo color */
|
|
13625
|
-
albedoTexture: Nullable<BaseTexture>;
|
|
13625
|
+
albedoTexture: BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
13626
13626
|
/**
|
|
13627
13627
|
* Creates a new Fluent material
|
|
13628
13628
|
* @param name defines the name of the material
|
|
13629
13629
|
* @param scene defines the hosting scene
|
|
13630
13630
|
*/
|
|
13631
|
-
constructor(name: string, scene?: Scene);
|
|
13631
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13632
13632
|
needAlphaBlending(): boolean;
|
|
13633
13633
|
needAlphaTesting(): boolean;
|
|
13634
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
13635
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
13636
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
13637
|
-
getActiveTextures(): BaseTexture[];
|
|
13638
|
-
hasTexture(texture: BaseTexture): boolean;
|
|
13634
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
13635
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
13636
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
13637
|
+
getActiveTextures(): BABYLON.BaseTexture[];
|
|
13638
|
+
hasTexture(texture: BABYLON.BaseTexture): boolean;
|
|
13639
13639
|
dispose(forceDisposeEffect?: boolean): void;
|
|
13640
13640
|
clone(name: string): FluentMaterial;
|
|
13641
13641
|
serialize(): any;
|
|
13642
13642
|
getClassName(): string;
|
|
13643
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentMaterial;
|
|
13643
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentMaterial;
|
|
13644
13644
|
}
|
|
13645
13645
|
|
|
13646
13646
|
|
|
@@ -13785,22 +13785,22 @@ declare module BABYLON.GUI {
|
|
|
13785
13785
|
*/
|
|
13786
13786
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
13787
13787
|
private _globalRightIndexTipPosition4;
|
|
13788
|
-
constructor(name: string, scene?: Scene);
|
|
13788
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13789
13789
|
needAlphaBlending(): boolean;
|
|
13790
13790
|
needAlphaTesting(): boolean;
|
|
13791
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
13792
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
13793
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
13791
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
13792
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
13793
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
13794
13794
|
/**
|
|
13795
13795
|
* Get the list of animatables in the material.
|
|
13796
13796
|
* @returns the list of animatables object used in the material
|
|
13797
13797
|
*/
|
|
13798
|
-
getAnimatables(): IAnimatable[];
|
|
13798
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
13799
13799
|
dispose(forceDisposeEffect?: boolean): void;
|
|
13800
13800
|
clone(name: string): FluentBackplateMaterial;
|
|
13801
13801
|
serialize(): any;
|
|
13802
13802
|
getClassName(): string;
|
|
13803
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentBackplateMaterial;
|
|
13803
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentBackplateMaterial;
|
|
13804
13804
|
}
|
|
13805
13805
|
|
|
13806
13806
|
|
|
@@ -13980,22 +13980,22 @@ declare module BABYLON.GUI {
|
|
|
13980
13980
|
*/
|
|
13981
13981
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
13982
13982
|
private _blobTexture;
|
|
13983
|
-
constructor(name: string, scene?: Scene);
|
|
13983
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
13984
13984
|
needAlphaBlending(): boolean;
|
|
13985
13985
|
needAlphaTesting(): boolean;
|
|
13986
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
13987
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
13988
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
13986
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
13987
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
13988
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
13989
13989
|
/**
|
|
13990
13990
|
* Get the list of animatables in the material.
|
|
13991
13991
|
* @returns the list of animatables object used in the material
|
|
13992
13992
|
*/
|
|
13993
|
-
getAnimatables(): IAnimatable[];
|
|
13993
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
13994
13994
|
dispose(forceDisposeEffect?: boolean): void;
|
|
13995
13995
|
clone(name: string): FluentButtonMaterial;
|
|
13996
13996
|
serialize(): any;
|
|
13997
13997
|
getClassName(): string;
|
|
13998
|
-
static Parse(source: any, scene: Scene, rootUrl: string): FluentButtonMaterial;
|
|
13998
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentButtonMaterial;
|
|
13999
13999
|
}
|
|
14000
14000
|
|
|
14001
14001
|
|
|
@@ -14073,9 +14073,9 @@ declare module BABYLON.GUI {
|
|
|
14073
14073
|
/**
|
|
14074
14074
|
* Creates a handle material
|
|
14075
14075
|
* @param name Name of the material
|
|
14076
|
-
* @param scene Scene
|
|
14076
|
+
* @param scene BABYLON.Scene
|
|
14077
14077
|
*/
|
|
14078
|
-
constructor(name: string, scene: Scene);
|
|
14078
|
+
constructor(name: string, scene: BABYLON.Scene);
|
|
14079
14079
|
private _updateInterpolationTarget;
|
|
14080
14080
|
/**
|
|
14081
14081
|
* Disposes the handle material
|
|
@@ -14222,22 +14222,22 @@ declare module BABYLON.GUI {
|
|
|
14222
14222
|
* Gets or sets the edge width of the backplate.
|
|
14223
14223
|
*/
|
|
14224
14224
|
edgeLineGradientBlend: number;
|
|
14225
|
-
constructor(name: string, scene?: Scene);
|
|
14225
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
14226
14226
|
needAlphaBlending(): boolean;
|
|
14227
14227
|
needAlphaTesting(): boolean;
|
|
14228
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
14229
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
14230
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
14228
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
14229
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
14230
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
14231
14231
|
/**
|
|
14232
14232
|
* Get the list of animatables in the material.
|
|
14233
14233
|
* @returns the list of animatables object used in the material
|
|
14234
14234
|
*/
|
|
14235
|
-
getAnimatables(): IAnimatable[];
|
|
14235
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
14236
14236
|
dispose(forceDisposeEffect?: boolean): void;
|
|
14237
14237
|
clone(name: string): MRDLBackplateMaterial;
|
|
14238
14238
|
serialize(): any;
|
|
14239
14239
|
getClassName(): string;
|
|
14240
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLBackplateMaterial;
|
|
14240
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLBackplateMaterial;
|
|
14241
14241
|
}
|
|
14242
14242
|
|
|
14243
14243
|
|
|
@@ -14544,22 +14544,22 @@ declare module BABYLON.GUI {
|
|
|
14544
14544
|
* @hidden
|
|
14545
14545
|
*/
|
|
14546
14546
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
14547
|
-
constructor(name: string, scene?: Scene);
|
|
14547
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
14548
14548
|
needAlphaBlending(): boolean;
|
|
14549
14549
|
needAlphaTesting(): boolean;
|
|
14550
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
14551
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
14552
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
14550
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
14551
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
14552
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
14553
14553
|
/**
|
|
14554
14554
|
* Get the list of animatables in the material.
|
|
14555
14555
|
* @returns the list of animatables object used in the material
|
|
14556
14556
|
*/
|
|
14557
|
-
getAnimatables(): IAnimatable[];
|
|
14557
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
14558
14558
|
dispose(forceDisposeEffect?: boolean): void;
|
|
14559
14559
|
clone(name: string): MRDLSliderBarMaterial;
|
|
14560
14560
|
serialize(): any;
|
|
14561
14561
|
getClassName(): string;
|
|
14562
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLSliderBarMaterial;
|
|
14562
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLSliderBarMaterial;
|
|
14563
14563
|
}
|
|
14564
14564
|
|
|
14565
14565
|
|
|
@@ -14866,22 +14866,22 @@ declare module BABYLON.GUI {
|
|
|
14866
14866
|
* @hidden
|
|
14867
14867
|
*/
|
|
14868
14868
|
globalRightIndexMiddlePosition: BABYLON.Vector4;
|
|
14869
|
-
constructor(name: string, scene?: Scene);
|
|
14869
|
+
constructor(name: string, scene?: BABYLON.Scene);
|
|
14870
14870
|
needAlphaBlending(): boolean;
|
|
14871
14871
|
needAlphaTesting(): boolean;
|
|
14872
|
-
getAlphaTestTexture(): Nullable<BaseTexture>;
|
|
14873
|
-
isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh): boolean;
|
|
14874
|
-
bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
|
|
14872
|
+
getAlphaTestTexture(): BABYLON.Nullable<BABYLON.BaseTexture>;
|
|
14873
|
+
isReadyForSubMesh(mesh: BABYLON.AbstractMesh, subMesh: BABYLON.SubMesh): boolean;
|
|
14874
|
+
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
14875
14875
|
/**
|
|
14876
14876
|
* Get the list of animatables in the material.
|
|
14877
14877
|
* @returns the list of animatables object used in the material
|
|
14878
14878
|
*/
|
|
14879
|
-
getAnimatables(): IAnimatable[];
|
|
14879
|
+
getAnimatables(): BABYLON.IAnimatable[];
|
|
14880
14880
|
dispose(forceDisposeEffect?: boolean): void;
|
|
14881
14881
|
clone(name: string): MRDLSliderThumbMaterial;
|
|
14882
14882
|
serialize(): any;
|
|
14883
14883
|
getClassName(): string;
|
|
14884
|
-
static Parse(source: any, scene: Scene, rootUrl: string): MRDLSliderThumbMaterial;
|
|
14884
|
+
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): MRDLSliderThumbMaterial;
|
|
14885
14885
|
}
|
|
14886
14886
|
|
|
14887
14887
|
|