|
@@ -12,7 +12,7 @@ declare module "babylonjs-gui/2D/valueAndUnit" {
|
|
private _originalUnit;
|
|
private _originalUnit;
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
|
|
* Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
ignoreAdaptiveScaling: boolean;
|
|
ignoreAdaptiveScaling: boolean;
|
|
/**
|
|
/**
|
|
@@ -343,7 +343,7 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Class used to create texture to support 2D GUI elements
|
|
* Class used to create texture to support 2D GUI elements
|
|
- * @see http://doc.babylonjs.com/how_to/gui
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui
|
|
*/
|
|
*/
|
|
export class AdvancedDynamicTexture extends DynamicTexture {
|
|
export class AdvancedDynamicTexture extends DynamicTexture {
|
|
private _isDirty;
|
|
private _isDirty;
|
|
@@ -441,32 +441,32 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
|
|
/**
|
|
/**
|
|
* Gets or sets the ideal width used to design controls.
|
|
* Gets or sets the ideal width used to design controls.
|
|
* The GUI will then rescale everything accordingly
|
|
* The GUI will then rescale everything accordingly
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get idealWidth(): number;
|
|
get idealWidth(): number;
|
|
set idealWidth(value: number);
|
|
set idealWidth(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the ideal height used to design controls.
|
|
* Gets or sets the ideal height used to design controls.
|
|
* The GUI will then rescale everything accordingly
|
|
* The GUI will then rescale everything accordingly
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get idealHeight(): number;
|
|
get idealHeight(): number;
|
|
set idealHeight(value: number);
|
|
set idealHeight(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get useSmallestIdeal(): boolean;
|
|
get useSmallestIdeal(): boolean;
|
|
set useSmallestIdeal(value: boolean);
|
|
set useSmallestIdeal(value: boolean);
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get renderAtIdealSize(): boolean;
|
|
get renderAtIdealSize(): boolean;
|
|
set renderAtIdealSize(value: boolean);
|
|
set renderAtIdealSize(value: boolean);
|
|
/**
|
|
/**
|
|
* Gets the ratio used when in "ideal mode"
|
|
* Gets the ratio used when in "ideal mode"
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
* */
|
|
* */
|
|
get idealRatio(): number;
|
|
get idealRatio(): number;
|
|
/**
|
|
/**
|
|
@@ -548,7 +548,7 @@ declare module "babylonjs-gui/2D/advancedDynamicTexture" {
|
|
/**
|
|
/**
|
|
* Helper function used to create a new style
|
|
* Helper function used to create a new style
|
|
* @returns a new style
|
|
* @returns a new style
|
|
- * @see http://doc.babylonjs.com/how_to/gui#styles
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#styles
|
|
*/
|
|
*/
|
|
createStyle(): Style;
|
|
createStyle(): Style;
|
|
/**
|
|
/**
|
|
@@ -659,7 +659,7 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
import { Matrix2D, Vector2WithInfo } from "babylonjs-gui/2D/math2D";
|
|
import { Matrix2D, Vector2WithInfo } from "babylonjs-gui/2D/math2D";
|
|
/**
|
|
/**
|
|
* Root class used for all 2D controls
|
|
* Root class used for all 2D controls
|
|
- * @see http://doc.babylonjs.com/how_to/gui#controls
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#controls
|
|
*/
|
|
*/
|
|
export class Control {
|
|
export class Control {
|
|
/** defines the name of the control */
|
|
/** defines the name of the control */
|
|
@@ -880,63 +880,63 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
get isHighlighted(): boolean;
|
|
get isHighlighted(): boolean;
|
|
set isHighlighted(value: boolean);
|
|
set isHighlighted(value: boolean);
|
|
/** Gets or sets a value indicating the scale factor on X axis (1 by default)
|
|
/** Gets or sets a value indicating the scale factor on X axis (1 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get scaleX(): number;
|
|
get scaleX(): number;
|
|
set scaleX(value: number);
|
|
set scaleX(value: number);
|
|
/** Gets or sets a value indicating the scale factor on Y axis (1 by default)
|
|
/** Gets or sets a value indicating the scale factor on Y axis (1 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get scaleY(): number;
|
|
get scaleY(): number;
|
|
set scaleY(value: number);
|
|
set scaleY(value: number);
|
|
/** Gets or sets the rotation angle (0 by default)
|
|
/** Gets or sets the rotation angle (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get rotation(): number;
|
|
get rotation(): number;
|
|
set rotation(value: number);
|
|
set rotation(value: number);
|
|
/** Gets or sets the transformation center on Y axis (0 by default)
|
|
/** Gets or sets the transformation center on Y axis (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get transformCenterY(): number;
|
|
get transformCenterY(): number;
|
|
set transformCenterY(value: number);
|
|
set transformCenterY(value: number);
|
|
/** Gets or sets the transformation center on X axis (0 by default)
|
|
/** Gets or sets the transformation center on X axis (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get transformCenterX(): number;
|
|
get transformCenterX(): number;
|
|
set transformCenterX(value: number);
|
|
set transformCenterX(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the horizontal alignment
|
|
* Gets or sets the horizontal alignment
|
|
- * @see http://doc.babylonjs.com/how_to/gui#alignments
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#alignments
|
|
*/
|
|
*/
|
|
get horizontalAlignment(): number;
|
|
get horizontalAlignment(): number;
|
|
set horizontalAlignment(value: number);
|
|
set horizontalAlignment(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the vertical alignment
|
|
* Gets or sets the vertical alignment
|
|
- * @see http://doc.babylonjs.com/how_to/gui#alignments
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#alignments
|
|
*/
|
|
*/
|
|
get verticalAlignment(): number;
|
|
get verticalAlignment(): number;
|
|
set verticalAlignment(value: number);
|
|
set verticalAlignment(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets control width
|
|
* Gets or sets control width
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get width(): string | number;
|
|
get width(): string | number;
|
|
set width(value: string | number);
|
|
set width(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets the control width in pixel
|
|
* Gets or sets the control width in pixel
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get widthInPixels(): number;
|
|
get widthInPixels(): number;
|
|
set widthInPixels(value: number);
|
|
set widthInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height
|
|
* Gets or sets control height
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get height(): string | number;
|
|
get height(): string | number;
|
|
set height(value: string | number);
|
|
set height(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height in pixel
|
|
* Gets or sets control height in pixel
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get heightInPixels(): number;
|
|
get heightInPixels(): number;
|
|
set heightInPixels(value: number);
|
|
set heightInPixels(value: number);
|
|
@@ -951,7 +951,7 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
set fontWeight(value: string);
|
|
set fontWeight(value: string);
|
|
/**
|
|
/**
|
|
* Gets or sets style
|
|
* Gets or sets style
|
|
- * @see http://doc.babylonjs.com/how_to/gui#styles
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#styles
|
|
*/
|
|
*/
|
|
get style(): Nullable<Style>;
|
|
get style(): Nullable<Style>;
|
|
set style(value: Nullable<Style>);
|
|
set style(value: Nullable<Style>);
|
|
@@ -983,97 +983,97 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
get linkedMesh(): Nullable<AbstractMesh>;
|
|
get linkedMesh(): Nullable<AbstractMesh>;
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingLeft(): string | number;
|
|
get paddingLeft(): string | number;
|
|
set paddingLeft(value: string | number);
|
|
set paddingLeft(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the left of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the left of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingLeftInPixels(): number;
|
|
get paddingLeftInPixels(): number;
|
|
set paddingLeftInPixels(value: number);
|
|
set paddingLeftInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingRight(): string | number;
|
|
get paddingRight(): string | number;
|
|
set paddingRight(value: string | number);
|
|
set paddingRight(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the right of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the right of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingRightInPixels(): number;
|
|
get paddingRightInPixels(): number;
|
|
set paddingRightInPixels(value: number);
|
|
set paddingRightInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingTop(): string | number;
|
|
get paddingTop(): string | number;
|
|
set paddingTop(value: string | number);
|
|
set paddingTop(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the top of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the top of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingTopInPixels(): number;
|
|
get paddingTopInPixels(): number;
|
|
set paddingTopInPixels(value: number);
|
|
set paddingTopInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingBottom(): string | number;
|
|
get paddingBottom(): string | number;
|
|
set paddingBottom(value: string | number);
|
|
set paddingBottom(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the bottom of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the bottom of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingBottomInPixels(): number;
|
|
get paddingBottomInPixels(): number;
|
|
set paddingBottomInPixels(value: number);
|
|
set paddingBottomInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the left coordinate of the control
|
|
* Gets or sets a value indicating the left coordinate of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get left(): string | number;
|
|
get left(): string | number;
|
|
set left(value: string | number);
|
|
set left(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the left coordinate in pixels of the control
|
|
* Gets or sets a value indicating the left coordinate in pixels of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get leftInPixels(): number;
|
|
get leftInPixels(): number;
|
|
set leftInPixels(value: number);
|
|
set leftInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the top coordinate of the control
|
|
* Gets or sets a value indicating the top coordinate of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get top(): string | number;
|
|
get top(): string | number;
|
|
set top(value: string | number);
|
|
set top(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the top coordinate in pixels of the control
|
|
* Gets or sets a value indicating the top coordinate in pixels of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get topInPixels(): number;
|
|
get topInPixels(): number;
|
|
set topInPixels(value: number);
|
|
set topInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset on X axis to the linked mesh
|
|
* Gets or sets a value indicating the offset on X axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetX(): string | number;
|
|
get linkOffsetX(): string | number;
|
|
set linkOffsetX(value: string | number);
|
|
set linkOffsetX(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
|
|
* Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetXInPixels(): number;
|
|
get linkOffsetXInPixels(): number;
|
|
set linkOffsetXInPixels(value: number);
|
|
set linkOffsetXInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset on Y axis to the linked mesh
|
|
* Gets or sets a value indicating the offset on Y axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetY(): string | number;
|
|
get linkOffsetY(): string | number;
|
|
set linkOffsetY(value: string | number);
|
|
set linkOffsetY(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
|
|
* Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetYInPixels(): number;
|
|
get linkOffsetYInPixels(): number;
|
|
set linkOffsetYInPixels(value: number);
|
|
set linkOffsetYInPixels(value: number);
|
|
@@ -1155,7 +1155,7 @@ declare module "babylonjs-gui/2D/controls/control" {
|
|
/**
|
|
/**
|
|
* Link current control with a target mesh
|
|
* Link current control with a target mesh
|
|
* @param mesh defines the mesh to link with
|
|
* @param mesh defines the mesh to link with
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
linkWithMesh(mesh: Nullable<AbstractMesh>): void;
|
|
linkWithMesh(mesh: Nullable<AbstractMesh>): void;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
@@ -1286,7 +1286,7 @@ declare module "babylonjs-gui/2D/controls/container" {
|
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
|
/**
|
|
/**
|
|
* Root class for 2D containers
|
|
* Root class for 2D containers
|
|
- * @see http://doc.babylonjs.com/how_to/gui#containers
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#containers
|
|
*/
|
|
*/
|
|
export class Container extends Control {
|
|
export class Container extends Control {
|
|
name?: string | undefined;
|
|
name?: string | undefined;
|
|
@@ -1668,7 +1668,7 @@ declare module "babylonjs-gui/2D/controls/image" {
|
|
get svgAttributesComputationCompleted(): boolean;
|
|
get svgAttributesComputationCompleted(): boolean;
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if the image can force its container to adapt its size
|
|
* Gets or sets a boolean indicating if the image can force its container to adapt its size
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get autoScale(): boolean;
|
|
get autoScale(): boolean;
|
|
set autoScale(value: boolean);
|
|
set autoScale(value: boolean);
|
|
@@ -1701,19 +1701,19 @@ declare module "babylonjs-gui/2D/controls/image" {
|
|
private _getSVGAttribs;
|
|
private _getSVGAttribs;
|
|
/**
|
|
/**
|
|
* Gets or sets the cell width to use when animation sheet is enabled
|
|
* Gets or sets the cell width to use when animation sheet is enabled
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellWidth(): number;
|
|
get cellWidth(): number;
|
|
set cellWidth(value: number);
|
|
set cellWidth(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the cell height to use when animation sheet is enabled
|
|
* Gets or sets the cell height to use when animation sheet is enabled
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellHeight(): number;
|
|
get cellHeight(): number;
|
|
set cellHeight(value: number);
|
|
set cellHeight(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the cell id to use (this will turn on the animation sheet mode)
|
|
* Gets or sets the cell id to use (this will turn on the animation sheet mode)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellId(): number;
|
|
get cellId(): number;
|
|
set cellId(value: number);
|
|
set cellId(value: number);
|
|
@@ -2361,13 +2361,13 @@ declare module "babylonjs-gui/2D/controls/colorpicker" {
|
|
set value(value: Color3);
|
|
set value(value: Color3);
|
|
/**
|
|
/**
|
|
* Gets or sets control width
|
|
* Gets or sets control width
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get width(): string | number;
|
|
get width(): string | number;
|
|
set width(value: string | number);
|
|
set width(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height
|
|
* Gets or sets control height
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get height(): string | number;
|
|
get height(): string | number;
|
|
/** Gets or sets control height */
|
|
/** Gets or sets control height */
|
|
@@ -2902,7 +2902,7 @@ declare module "babylonjs-gui/2D/controls/selector" {
|
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
}
|
|
}
|
|
/** Class used to hold the controls for the checkboxes, radio buttons and sliders
|
|
/** Class used to hold the controls for the checkboxes, radio buttons and sliders
|
|
- * @see http://doc.babylonjs.com/how_to/selector
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/selector
|
|
*/
|
|
*/
|
|
export class SelectionPanel extends Rectangle {
|
|
export class SelectionPanel extends Rectangle {
|
|
/** name of SelectionPanel */
|
|
/** name of SelectionPanel */
|
|
@@ -3659,7 +3659,7 @@ declare module "babylonjs-gui/3D/gui3DManager" {
|
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
import { Control3D } from "babylonjs-gui/3D/controls/control3D";
|
|
/**
|
|
/**
|
|
* Class used to manage 3D user interface
|
|
* Class used to manage 3D user interface
|
|
- * @see http://doc.babylonjs.com/how_to/gui3d
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui3d
|
|
*/
|
|
*/
|
|
export class GUI3DManager implements IDisposable {
|
|
export class GUI3DManager implements IDisposable {
|
|
private _scene;
|
|
private _scene;
|
|
@@ -3812,19 +3812,19 @@ declare module "babylonjs-gui/3D/controls/control3D" {
|
|
private _behaviors;
|
|
private _behaviors;
|
|
/**
|
|
/**
|
|
* Gets the list of attached behaviors
|
|
* Gets the list of attached behaviors
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
*/
|
|
*/
|
|
get behaviors(): Behavior<Control3D>[];
|
|
get behaviors(): Behavior<Control3D>[];
|
|
/**
|
|
/**
|
|
* Attach a behavior to the control
|
|
* Attach a behavior to the control
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @param behavior defines the behavior to attach
|
|
* @param behavior defines the behavior to attach
|
|
* @returns the current control
|
|
* @returns the current control
|
|
*/
|
|
*/
|
|
addBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
addBehavior(behavior: Behavior<Control3D>): Control3D;
|
|
/**
|
|
/**
|
|
* Remove an attached behavior
|
|
* Remove an attached behavior
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @param behavior defines the behavior to attach
|
|
* @param behavior defines the behavior to attach
|
|
* @returns the current control
|
|
* @returns the current control
|
|
*/
|
|
*/
|
|
@@ -3832,7 +3832,7 @@ declare module "babylonjs-gui/3D/controls/control3D" {
|
|
/**
|
|
/**
|
|
* Gets an attached behavior by name
|
|
* Gets an attached behavior by name
|
|
* @param name defines the name of the behavior to look for
|
|
* @param name defines the name of the behavior to look for
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @returns null if behavior was not found else the requested behavior
|
|
* @returns null if behavior was not found else the requested behavior
|
|
*/
|
|
*/
|
|
getBehaviorByName(name: string): Nullable<Behavior<Control3D>>;
|
|
getBehaviorByName(name: string): Nullable<Behavior<Control3D>>;
|
|
@@ -4390,7 +4390,7 @@ declare module BABYLON.GUI {
|
|
private _originalUnit;
|
|
private _originalUnit;
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
|
|
* Gets or sets a value indicating that this value will not scale accordingly with adaptive scaling property
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
ignoreAdaptiveScaling: boolean;
|
|
ignoreAdaptiveScaling: boolean;
|
|
/**
|
|
/**
|
|
@@ -4702,7 +4702,7 @@ declare module BABYLON.GUI {
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Class used to create texture to support 2D GUI elements
|
|
* Class used to create texture to support 2D GUI elements
|
|
- * @see http://doc.babylonjs.com/how_to/gui
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui
|
|
*/
|
|
*/
|
|
export class AdvancedDynamicTexture extends BABYLON.DynamicTexture {
|
|
export class AdvancedDynamicTexture extends BABYLON.DynamicTexture {
|
|
private _isDirty;
|
|
private _isDirty;
|
|
@@ -4800,32 +4800,32 @@ declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Gets or sets the ideal width used to design controls.
|
|
* Gets or sets the ideal width used to design controls.
|
|
* The GUI will then rescale everything accordingly
|
|
* The GUI will then rescale everything accordingly
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get idealWidth(): number;
|
|
get idealWidth(): number;
|
|
set idealWidth(value: number);
|
|
set idealWidth(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the ideal height used to design controls.
|
|
* Gets or sets the ideal height used to design controls.
|
|
* The GUI will then rescale everything accordingly
|
|
* The GUI will then rescale everything accordingly
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get idealHeight(): number;
|
|
get idealHeight(): number;
|
|
set idealHeight(value: number);
|
|
set idealHeight(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
|
* Gets or sets a boolean indicating if the smallest ideal value must be used if idealWidth and idealHeight are both set
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get useSmallestIdeal(): boolean;
|
|
get useSmallestIdeal(): boolean;
|
|
set useSmallestIdeal(value: boolean);
|
|
set useSmallestIdeal(value: boolean);
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
|
* Gets or sets a boolean indicating if adaptive scaling must be used
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
*/
|
|
*/
|
|
get renderAtIdealSize(): boolean;
|
|
get renderAtIdealSize(): boolean;
|
|
set renderAtIdealSize(value: boolean);
|
|
set renderAtIdealSize(value: boolean);
|
|
/**
|
|
/**
|
|
* Gets the ratio used when in "ideal mode"
|
|
* Gets the ratio used when in "ideal mode"
|
|
- * @see http://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#adaptive-scaling
|
|
* */
|
|
* */
|
|
get idealRatio(): number;
|
|
get idealRatio(): number;
|
|
/**
|
|
/**
|
|
@@ -4907,7 +4907,7 @@ declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Helper function used to create a new style
|
|
* Helper function used to create a new style
|
|
* @returns a new style
|
|
* @returns a new style
|
|
- * @see http://doc.babylonjs.com/how_to/gui#styles
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#styles
|
|
*/
|
|
*/
|
|
createStyle(): Style;
|
|
createStyle(): Style;
|
|
/**
|
|
/**
|
|
@@ -5007,7 +5007,7 @@ declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Root class used for all 2D controls
|
|
* Root class used for all 2D controls
|
|
- * @see http://doc.babylonjs.com/how_to/gui#controls
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#controls
|
|
*/
|
|
*/
|
|
export class Control {
|
|
export class Control {
|
|
/** defines the name of the control */
|
|
/** defines the name of the control */
|
|
@@ -5228,63 +5228,63 @@ declare module BABYLON.GUI {
|
|
get isHighlighted(): boolean;
|
|
get isHighlighted(): boolean;
|
|
set isHighlighted(value: boolean);
|
|
set isHighlighted(value: boolean);
|
|
/** Gets or sets a value indicating the scale factor on X axis (1 by default)
|
|
/** Gets or sets a value indicating the scale factor on X axis (1 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get scaleX(): number;
|
|
get scaleX(): number;
|
|
set scaleX(value: number);
|
|
set scaleX(value: number);
|
|
/** Gets or sets a value indicating the scale factor on Y axis (1 by default)
|
|
/** Gets or sets a value indicating the scale factor on Y axis (1 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get scaleY(): number;
|
|
get scaleY(): number;
|
|
set scaleY(value: number);
|
|
set scaleY(value: number);
|
|
/** Gets or sets the rotation angle (0 by default)
|
|
/** Gets or sets the rotation angle (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get rotation(): number;
|
|
get rotation(): number;
|
|
set rotation(value: number);
|
|
set rotation(value: number);
|
|
/** Gets or sets the transformation center on Y axis (0 by default)
|
|
/** Gets or sets the transformation center on Y axis (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get transformCenterY(): number;
|
|
get transformCenterY(): number;
|
|
set transformCenterY(value: number);
|
|
set transformCenterY(value: number);
|
|
/** Gets or sets the transformation center on X axis (0 by default)
|
|
/** Gets or sets the transformation center on X axis (0 by default)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#rotation-and-scaling
|
|
*/
|
|
*/
|
|
get transformCenterX(): number;
|
|
get transformCenterX(): number;
|
|
set transformCenterX(value: number);
|
|
set transformCenterX(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the horizontal alignment
|
|
* Gets or sets the horizontal alignment
|
|
- * @see http://doc.babylonjs.com/how_to/gui#alignments
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#alignments
|
|
*/
|
|
*/
|
|
get horizontalAlignment(): number;
|
|
get horizontalAlignment(): number;
|
|
set horizontalAlignment(value: number);
|
|
set horizontalAlignment(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the vertical alignment
|
|
* Gets or sets the vertical alignment
|
|
- * @see http://doc.babylonjs.com/how_to/gui#alignments
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#alignments
|
|
*/
|
|
*/
|
|
get verticalAlignment(): number;
|
|
get verticalAlignment(): number;
|
|
set verticalAlignment(value: number);
|
|
set verticalAlignment(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets control width
|
|
* Gets or sets control width
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get width(): string | number;
|
|
get width(): string | number;
|
|
set width(value: string | number);
|
|
set width(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets the control width in pixel
|
|
* Gets or sets the control width in pixel
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get widthInPixels(): number;
|
|
get widthInPixels(): number;
|
|
set widthInPixels(value: number);
|
|
set widthInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height
|
|
* Gets or sets control height
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get height(): string | number;
|
|
get height(): string | number;
|
|
set height(value: string | number);
|
|
set height(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height in pixel
|
|
* Gets or sets control height in pixel
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get heightInPixels(): number;
|
|
get heightInPixels(): number;
|
|
set heightInPixels(value: number);
|
|
set heightInPixels(value: number);
|
|
@@ -5299,7 +5299,7 @@ declare module BABYLON.GUI {
|
|
set fontWeight(value: string);
|
|
set fontWeight(value: string);
|
|
/**
|
|
/**
|
|
* Gets or sets style
|
|
* Gets or sets style
|
|
- * @see http://doc.babylonjs.com/how_to/gui#styles
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#styles
|
|
*/
|
|
*/
|
|
get style(): BABYLON.Nullable<Style>;
|
|
get style(): BABYLON.Nullable<Style>;
|
|
set style(value: BABYLON.Nullable<Style>);
|
|
set style(value: BABYLON.Nullable<Style>);
|
|
@@ -5331,97 +5331,97 @@ declare module BABYLON.GUI {
|
|
get linkedMesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
get linkedMesh(): BABYLON.Nullable<BABYLON.AbstractMesh>;
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
* Gets or sets a value indicating the padding to use on the left of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingLeft(): string | number;
|
|
get paddingLeft(): string | number;
|
|
set paddingLeft(value: string | number);
|
|
set paddingLeft(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the left of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the left of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingLeftInPixels(): number;
|
|
get paddingLeftInPixels(): number;
|
|
set paddingLeftInPixels(value: number);
|
|
set paddingLeftInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
* Gets or sets a value indicating the padding to use on the right of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingRight(): string | number;
|
|
get paddingRight(): string | number;
|
|
set paddingRight(value: string | number);
|
|
set paddingRight(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the right of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the right of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingRightInPixels(): number;
|
|
get paddingRightInPixels(): number;
|
|
set paddingRightInPixels(value: number);
|
|
set paddingRightInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
* Gets or sets a value indicating the padding to use on the top of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingTop(): string | number;
|
|
get paddingTop(): string | number;
|
|
set paddingTop(value: string | number);
|
|
set paddingTop(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the top of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the top of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingTopInPixels(): number;
|
|
get paddingTopInPixels(): number;
|
|
set paddingTopInPixels(value: number);
|
|
set paddingTopInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
* Gets or sets a value indicating the padding to use on the bottom of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingBottom(): string | number;
|
|
get paddingBottom(): string | number;
|
|
set paddingBottom(value: string | number);
|
|
set paddingBottom(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the padding in pixels to use on the bottom of the control
|
|
* Gets or sets a value indicating the padding in pixels to use on the bottom of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get paddingBottomInPixels(): number;
|
|
get paddingBottomInPixels(): number;
|
|
set paddingBottomInPixels(value: number);
|
|
set paddingBottomInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the left coordinate of the control
|
|
* Gets or sets a value indicating the left coordinate of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get left(): string | number;
|
|
get left(): string | number;
|
|
set left(value: string | number);
|
|
set left(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the left coordinate in pixels of the control
|
|
* Gets or sets a value indicating the left coordinate in pixels of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get leftInPixels(): number;
|
|
get leftInPixels(): number;
|
|
set leftInPixels(value: number);
|
|
set leftInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the top coordinate of the control
|
|
* Gets or sets a value indicating the top coordinate of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get top(): string | number;
|
|
get top(): string | number;
|
|
set top(value: string | number);
|
|
set top(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the top coordinate in pixels of the control
|
|
* Gets or sets a value indicating the top coordinate in pixels of the control
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get topInPixels(): number;
|
|
get topInPixels(): number;
|
|
set topInPixels(value: number);
|
|
set topInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset on X axis to the linked mesh
|
|
* Gets or sets a value indicating the offset on X axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetX(): string | number;
|
|
get linkOffsetX(): string | number;
|
|
set linkOffsetX(value: string | number);
|
|
set linkOffsetX(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
|
|
* Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetXInPixels(): number;
|
|
get linkOffsetXInPixels(): number;
|
|
set linkOffsetXInPixels(value: number);
|
|
set linkOffsetXInPixels(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset on Y axis to the linked mesh
|
|
* Gets or sets a value indicating the offset on Y axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetY(): string | number;
|
|
get linkOffsetY(): string | number;
|
|
set linkOffsetY(value: string | number);
|
|
set linkOffsetY(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
|
|
* Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
get linkOffsetYInPixels(): number;
|
|
get linkOffsetYInPixels(): number;
|
|
set linkOffsetYInPixels(value: number);
|
|
set linkOffsetYInPixels(value: number);
|
|
@@ -5503,7 +5503,7 @@ declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Link current control with a target mesh
|
|
* Link current control with a target mesh
|
|
* @param mesh defines the mesh to link with
|
|
* @param mesh defines the mesh to link with
|
|
- * @see http://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#tracking-positions
|
|
*/
|
|
*/
|
|
linkWithMesh(mesh: BABYLON.Nullable<BABYLON.AbstractMesh>): void;
|
|
linkWithMesh(mesh: BABYLON.Nullable<BABYLON.AbstractMesh>): void;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
@@ -5630,7 +5630,7 @@ declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Root class for 2D containers
|
|
* Root class for 2D containers
|
|
- * @see http://doc.babylonjs.com/how_to/gui#containers
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#containers
|
|
*/
|
|
*/
|
|
export class Container extends Control {
|
|
export class Container extends Control {
|
|
name?: string | undefined;
|
|
name?: string | undefined;
|
|
@@ -6002,7 +6002,7 @@ declare module BABYLON.GUI {
|
|
get svgAttributesComputationCompleted(): boolean;
|
|
get svgAttributesComputationCompleted(): boolean;
|
|
/**
|
|
/**
|
|
* Gets or sets a boolean indicating if the image can force its container to adapt its size
|
|
* Gets or sets a boolean indicating if the image can force its container to adapt its size
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get autoScale(): boolean;
|
|
get autoScale(): boolean;
|
|
set autoScale(value: boolean);
|
|
set autoScale(value: boolean);
|
|
@@ -6035,19 +6035,19 @@ declare module BABYLON.GUI {
|
|
private _getSVGAttribs;
|
|
private _getSVGAttribs;
|
|
/**
|
|
/**
|
|
* Gets or sets the cell width to use when animation sheet is enabled
|
|
* Gets or sets the cell width to use when animation sheet is enabled
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellWidth(): number;
|
|
get cellWidth(): number;
|
|
set cellWidth(value: number);
|
|
set cellWidth(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the cell height to use when animation sheet is enabled
|
|
* Gets or sets the cell height to use when animation sheet is enabled
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellHeight(): number;
|
|
get cellHeight(): number;
|
|
set cellHeight(value: number);
|
|
set cellHeight(value: number);
|
|
/**
|
|
/**
|
|
* Gets or sets the cell id to use (this will turn on the animation sheet mode)
|
|
* Gets or sets the cell id to use (this will turn on the animation sheet mode)
|
|
- * @see http://doc.babylonjs.com/how_to/gui#image
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#image
|
|
*/
|
|
*/
|
|
get cellId(): number;
|
|
get cellId(): number;
|
|
set cellId(value: number);
|
|
set cellId(value: number);
|
|
@@ -6659,13 +6659,13 @@ declare module BABYLON.GUI {
|
|
set value(value: BABYLON.Color3);
|
|
set value(value: BABYLON.Color3);
|
|
/**
|
|
/**
|
|
* Gets or sets control width
|
|
* Gets or sets control width
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get width(): string | number;
|
|
get width(): string | number;
|
|
set width(value: string | number);
|
|
set width(value: string | number);
|
|
/**
|
|
/**
|
|
* Gets or sets control height
|
|
* Gets or sets control height
|
|
- * @see http://doc.babylonjs.com/how_to/gui#position-and-size
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui#position-and-size
|
|
*/
|
|
*/
|
|
get height(): string | number;
|
|
get height(): string | number;
|
|
/** Gets or sets control height */
|
|
/** Gets or sets control height */
|
|
@@ -7170,7 +7170,7 @@ declare module BABYLON.GUI {
|
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
_setSelectorButtonBackground(selectorNb: number, color: string): void;
|
|
}
|
|
}
|
|
/** Class used to hold the controls for the checkboxes, radio buttons and sliders
|
|
/** Class used to hold the controls for the checkboxes, radio buttons and sliders
|
|
- * @see http://doc.babylonjs.com/how_to/selector
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/selector
|
|
*/
|
|
*/
|
|
export class SelectionPanel extends Rectangle {
|
|
export class SelectionPanel extends Rectangle {
|
|
/** name of SelectionPanel */
|
|
/** name of SelectionPanel */
|
|
@@ -7847,7 +7847,7 @@ declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Class used to manage 3D user interface
|
|
* Class used to manage 3D user interface
|
|
- * @see http://doc.babylonjs.com/how_to/gui3d
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/how_to/gui3d
|
|
*/
|
|
*/
|
|
export class GUI3DManager implements BABYLON.IDisposable {
|
|
export class GUI3DManager implements BABYLON.IDisposable {
|
|
private _scene;
|
|
private _scene;
|
|
@@ -7989,19 +7989,19 @@ declare module BABYLON.GUI {
|
|
private _behaviors;
|
|
private _behaviors;
|
|
/**
|
|
/**
|
|
* Gets the list of attached behaviors
|
|
* Gets the list of attached behaviors
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
*/
|
|
*/
|
|
get behaviors(): BABYLON.Behavior<Control3D>[];
|
|
get behaviors(): BABYLON.Behavior<Control3D>[];
|
|
/**
|
|
/**
|
|
* Attach a behavior to the control
|
|
* Attach a behavior to the control
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @param behavior defines the behavior to attach
|
|
* @param behavior defines the behavior to attach
|
|
* @returns the current control
|
|
* @returns the current control
|
|
*/
|
|
*/
|
|
addBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
addBehavior(behavior: BABYLON.Behavior<Control3D>): Control3D;
|
|
/**
|
|
/**
|
|
* Remove an attached behavior
|
|
* Remove an attached behavior
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @param behavior defines the behavior to attach
|
|
* @param behavior defines the behavior to attach
|
|
* @returns the current control
|
|
* @returns the current control
|
|
*/
|
|
*/
|
|
@@ -8009,7 +8009,7 @@ declare module BABYLON.GUI {
|
|
/**
|
|
/**
|
|
* Gets an attached behavior by name
|
|
* Gets an attached behavior by name
|
|
* @param name defines the name of the behavior to look for
|
|
* @param name defines the name of the behavior to look for
|
|
- * @see http://doc.babylonjs.com/features/behaviour
|
|
|
|
|
|
+ * @see https://doc.babylonjs.com/features/behaviour
|
|
* @returns null if behavior was not found else the requested behavior
|
|
* @returns null if behavior was not found else the requested behavior
|
|
*/
|
|
*/
|
|
getBehaviorByName(name: string): BABYLON.Nullable<BABYLON.Behavior<Control3D>>;
|
|
getBehaviorByName(name: string): BABYLON.Nullable<BABYLON.Behavior<Control3D>>;
|