|
@@ -9534,6 +9534,7 @@ declare module "babylonjs/Actions/action" {
|
|
|
import { Observable } from "babylonjs/Misc/observable";
|
|
|
import { Condition } from "babylonjs/Actions/condition";
|
|
|
import { AbstractActionManager } from "babylonjs/Actions/abstractActionManager";
|
|
|
+ import { Nullable } from "babylonjs/types";
|
|
|
import { Scene } from "babylonjs/scene";
|
|
|
import { ActionManager } from "babylonjs/Actions/actionManager";
|
|
|
import { ActionEvent } from "babylonjs/Actions/actionEvent";
|
|
@@ -9573,7 +9574,7 @@ declare module "babylonjs/Actions/action" {
|
|
|
* Internal only - manager for action
|
|
|
* @hidden
|
|
|
*/
|
|
|
- _actionManager: AbstractActionManager;
|
|
|
+ _actionManager: Nullable<AbstractActionManager>;
|
|
|
/**
|
|
|
* Adds action to chain of actions, may be a DoNothingAction
|
|
|
* @param action defines the next action to execute
|
|
@@ -11924,7 +11925,6 @@ declare module "babylonjs/Materials/Textures/Procedurals/proceduralTexture" {
|
|
|
* @see https://doc.babylonjs.com/how_to/how_to_use_procedural_textures
|
|
|
*/
|
|
|
export class ProceduralTexture extends Texture {
|
|
|
- isCube: boolean;
|
|
|
/**
|
|
|
* Define if the texture is enabled or not (disabled texture will not render)
|
|
|
*/
|
|
@@ -24320,7 +24320,6 @@ declare module "babylonjs/Materials/Textures/renderTargetTexture" {
|
|
|
* Actually, It is the base of lot of effects in the framework like post process, shadows, effect layers and rendering pipelines...
|
|
|
*/
|
|
|
export class RenderTargetTexture extends Texture {
|
|
|
- isCube: boolean;
|
|
|
/**
|
|
|
* The texture will only be rendered once which can be useful to improve performance if everything in your render is static for instance.
|
|
|
*/
|
|
@@ -24365,10 +24364,6 @@ declare module "babylonjs/Materials/Textures/renderTargetTexture" {
|
|
|
*/
|
|
|
renderSprites: boolean;
|
|
|
/**
|
|
|
- * Override the default coordinates mode to projection for RTT as it is the most common case for rendered textures.
|
|
|
- */
|
|
|
- coordinatesMode: number;
|
|
|
- /**
|
|
|
* Define the camera used to render the texture.
|
|
|
*/
|
|
|
activeCamera: Nullable<Camera>;
|
|
@@ -24459,7 +24454,7 @@ declare module "babylonjs/Materials/Textures/renderTargetTexture" {
|
|
|
_generateMipMaps: boolean;
|
|
|
protected _renderingManager: RenderingManager;
|
|
|
/** @hidden */
|
|
|
- _waitingRenderList: string[];
|
|
|
+ _waitingRenderList?: string[];
|
|
|
protected _doNotChangeAspectRatio: boolean;
|
|
|
protected _currentRefreshId: number;
|
|
|
protected _refreshRate: number;
|
|
@@ -30407,11 +30402,13 @@ declare module "babylonjs/Cameras/camera" {
|
|
|
*/
|
|
|
get position(): Vector3;
|
|
|
set position(newPosition: Vector3);
|
|
|
+ protected _upVector: Vector3;
|
|
|
/**
|
|
|
* The vector the camera should consider as up.
|
|
|
* (default is Vector3(0, 1, 0) aka Vector3.Up())
|
|
|
*/
|
|
|
- upVector: Vector3;
|
|
|
+ set upVector(vec: Vector3);
|
|
|
+ get upVector(): Vector3;
|
|
|
/**
|
|
|
* Define the current limit on the left side for an orthographic camera
|
|
|
* In scene unit
|
|
@@ -33276,11 +33273,13 @@ declare module "babylonjs/Meshes/abstractMesh" {
|
|
|
* Gets or sets a boolean indicating that pointer move events must be supported on this mesh (false by default)
|
|
|
*/
|
|
|
enablePointerMoveEvents: boolean;
|
|
|
+ private _renderingGroupId;
|
|
|
/**
|
|
|
* Specifies the rendering group id for this mesh (0 by default)
|
|
|
* @see https://doc.babylonjs.com/resources/transparency_and_how_meshes_are_rendered#rendering-groups
|
|
|
*/
|
|
|
- renderingGroupId: number;
|
|
|
+ get renderingGroupId(): number;
|
|
|
+ set renderingGroupId(value: number);
|
|
|
private _material;
|
|
|
/** Gets or sets current material */
|
|
|
get material(): Nullable<Material>;
|
|
@@ -35065,7 +35064,7 @@ declare module "babylonjs/Materials/Textures/baseTexture" {
|
|
|
* This is part of the texture as textures usually maps to one uv set.
|
|
|
*/
|
|
|
coordinatesIndex: number;
|
|
|
- private _coordinatesMode;
|
|
|
+ protected _coordinatesMode: number;
|
|
|
/**
|
|
|
* How a texture is mapped.
|
|
|
*
|
|
@@ -35084,6 +35083,7 @@ declare module "babylonjs/Materials/Textures/baseTexture" {
|
|
|
*/
|
|
|
set coordinatesMode(value: number);
|
|
|
get coordinatesMode(): number;
|
|
|
+ private _wrapU;
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -35091,7 +35091,9 @@ declare module "babylonjs/Materials/Textures/baseTexture" {
|
|
|
* | 1 | WRAP_ADDRESSMODE | |
|
|
|
* | 2 | MIRROR_ADDRESSMODE | |
|
|
|
*/
|
|
|
- wrapU: number;
|
|
|
+ get wrapU(): number;
|
|
|
+ set wrapU(value: number);
|
|
|
+ private _wrapV;
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -35099,7 +35101,8 @@ declare module "babylonjs/Materials/Textures/baseTexture" {
|
|
|
* | 1 | WRAP_ADDRESSMODE | |
|
|
|
* | 2 | MIRROR_ADDRESSMODE | |
|
|
|
*/
|
|
|
- wrapV: number;
|
|
|
+ get wrapV(): number;
|
|
|
+ set wrapV(value: number);
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -40731,8 +40734,6 @@ declare module "babylonjs/scene" {
|
|
|
* The material properties need to be setup according to the type of texture in use.
|
|
|
*/
|
|
|
environmentBRDFTexture: BaseTexture;
|
|
|
- /** @hidden */
|
|
|
- protected _environmentTexture: Nullable<BaseTexture>;
|
|
|
/**
|
|
|
* Texture used in all pbr material as the reflection texture.
|
|
|
* As in the majority of the scene they are the same (exception for multi room and so on),
|
|
@@ -42795,10 +42796,15 @@ declare module "babylonjs/abstractScene" {
|
|
|
* Textures to keep.
|
|
|
*/
|
|
|
textures: BaseTexture[];
|
|
|
+ /** @hidden */
|
|
|
+ protected _environmentTexture: Nullable<BaseTexture>;
|
|
|
/**
|
|
|
- * Environment texture for the scene
|
|
|
+ * Texture used in all pbr material as the reflection texture.
|
|
|
+ * As in the majority of the scene they are the same (exception for multi room and so on),
|
|
|
+ * this is easier to reference from here than from all the materials.
|
|
|
*/
|
|
|
- environmentTexture: Nullable<BaseTexture>;
|
|
|
+ get environmentTexture(): Nullable<BaseTexture>;
|
|
|
+ set environmentTexture(value: Nullable<BaseTexture>);
|
|
|
/**
|
|
|
* The list of postprocesses added to the scene
|
|
|
*/
|
|
@@ -44312,7 +44318,6 @@ declare module "babylonjs/Cameras/arcRotateCamera" {
|
|
|
*/
|
|
|
get position(): Vector3;
|
|
|
set position(newPosition: Vector3);
|
|
|
- protected _upVector: Vector3;
|
|
|
protected _upToYMatrix: Matrix;
|
|
|
protected _YToUpMatrix: Matrix;
|
|
|
/**
|
|
@@ -52255,7 +52260,12 @@ declare module "babylonjs/Gizmos/gizmo" {
|
|
|
/**
|
|
|
* Ratio for the scale of the gizmo (Default: 1)
|
|
|
*/
|
|
|
- scaleRatio: number;
|
|
|
+ protected _scaleRatio: number;
|
|
|
+ /**
|
|
|
+ * Ratio for the scale of the gizmo (Default: 1)
|
|
|
+ */
|
|
|
+ set scaleRatio(value: number);
|
|
|
+ get scaleRatio(): number;
|
|
|
/**
|
|
|
* If a custom mesh has been set (Default: false)
|
|
|
*/
|
|
@@ -52277,10 +52287,12 @@ declare module "babylonjs/Gizmos/gizmo" {
|
|
|
* @param mesh The mesh to replace the default mesh of the gizmo
|
|
|
*/
|
|
|
setCustomMesh(mesh: Mesh): void;
|
|
|
+ protected _updateGizmoRotationToMatchAttachedMesh: boolean;
|
|
|
/**
|
|
|
* If set the gizmo's rotation will be updated to match the attached mesh each frame (Default: true)
|
|
|
*/
|
|
|
- updateGizmoRotationToMatchAttachedMesh: boolean;
|
|
|
+ set updateGizmoRotationToMatchAttachedMesh(value: boolean);
|
|
|
+ get updateGizmoRotationToMatchAttachedMesh(): boolean;
|
|
|
/**
|
|
|
* If set the gizmo's position will be updated to match the attached mesh each frame (Default: true)
|
|
|
*/
|
|
@@ -52421,9 +52433,7 @@ declare module "babylonjs/Gizmos/positionGizmo" {
|
|
|
*/
|
|
|
private _meshAttached;
|
|
|
private _nodeAttached;
|
|
|
- private _updateGizmoRotationToMatchAttachedMesh;
|
|
|
private _snapDistance;
|
|
|
- private _scaleRatio;
|
|
|
/** Fires an event when any of it's sub gizmos are dragged */
|
|
|
onDragStartObservable: Observable<unknown>;
|
|
|
/** Fires an event when any of it's sub gizmos are released from dragging */
|
|
@@ -52550,7 +52560,7 @@ declare module "babylonjs/Debug/axesViewer" {
|
|
|
/**
|
|
|
* Gets the hosting scene
|
|
|
*/
|
|
|
- scene: Scene;
|
|
|
+ scene: Nullable<Scene>;
|
|
|
/**
|
|
|
* Gets or sets a number used to scale line length
|
|
|
*/
|
|
@@ -55638,9 +55648,7 @@ declare module "babylonjs/Gizmos/scaleGizmo" {
|
|
|
uniformScaleGizmo: AxisScaleGizmo;
|
|
|
private _meshAttached;
|
|
|
private _nodeAttached;
|
|
|
- private _updateGizmoRotationToMatchAttachedMesh;
|
|
|
private _snapDistance;
|
|
|
- private _scaleRatio;
|
|
|
private _uniformScalingMesh;
|
|
|
private _octahedron;
|
|
|
private _sensitivity;
|
|
@@ -63036,10 +63044,6 @@ declare module "babylonjs/Materials/Textures/hdrCubeTexture" {
|
|
|
* The texture URL.
|
|
|
*/
|
|
|
url: string;
|
|
|
- /**
|
|
|
- * The texture coordinates mode. As this texture is stored in a cube format, please modify carefully.
|
|
|
- */
|
|
|
- coordinatesMode: number;
|
|
|
protected _isBlocking: boolean;
|
|
|
/**
|
|
|
* Sets wether or not the texture is blocking during loading.
|
|
@@ -64219,8 +64223,6 @@ declare module "babylonjs/Materials/Textures/equiRectangularCubeTexture" {
|
|
|
private _height;
|
|
|
/** The URL to the image. */
|
|
|
url: string;
|
|
|
- /** The texture coordinates mode. As this texture is stored in a cube format, please modify carefully. */
|
|
|
- coordinatesMode: number;
|
|
|
/**
|
|
|
* Instantiates an EquiRectangularCubeTexture from the following parameters.
|
|
|
* @param url The location of the image
|
|
@@ -89036,7 +89038,7 @@ declare module BABYLON {
|
|
|
* Internal only - manager for action
|
|
|
* @hidden
|
|
|
*/
|
|
|
- _actionManager: AbstractActionManager;
|
|
|
+ _actionManager: Nullable<AbstractActionManager>;
|
|
|
/**
|
|
|
* Adds action to chain of actions, may be a DoNothingAction
|
|
|
* @param action defines the next action to execute
|
|
@@ -91285,7 +91287,6 @@ declare module BABYLON {
|
|
|
* @see https://doc.babylonjs.com/how_to/how_to_use_procedural_textures
|
|
|
*/
|
|
|
export class ProceduralTexture extends Texture {
|
|
|
- isCube: boolean;
|
|
|
/**
|
|
|
* Define if the texture is enabled or not (disabled texture will not render)
|
|
|
*/
|
|
@@ -103090,7 +103091,6 @@ declare module BABYLON {
|
|
|
* Actually, It is the base of lot of effects in the framework like post process, shadows, effect layers and rendering pipelines...
|
|
|
*/
|
|
|
export class RenderTargetTexture extends Texture {
|
|
|
- isCube: boolean;
|
|
|
/**
|
|
|
* The texture will only be rendered once which can be useful to improve performance if everything in your render is static for instance.
|
|
|
*/
|
|
@@ -103135,10 +103135,6 @@ declare module BABYLON {
|
|
|
*/
|
|
|
renderSprites: boolean;
|
|
|
/**
|
|
|
- * Override the default coordinates mode to projection for RTT as it is the most common case for rendered textures.
|
|
|
- */
|
|
|
- coordinatesMode: number;
|
|
|
- /**
|
|
|
* Define the camera used to render the texture.
|
|
|
*/
|
|
|
activeCamera: Nullable<Camera>;
|
|
@@ -103229,7 +103225,7 @@ declare module BABYLON {
|
|
|
_generateMipMaps: boolean;
|
|
|
protected _renderingManager: RenderingManager;
|
|
|
/** @hidden */
|
|
|
- _waitingRenderList: string[];
|
|
|
+ _waitingRenderList?: string[];
|
|
|
protected _doNotChangeAspectRatio: boolean;
|
|
|
protected _currentRefreshId: number;
|
|
|
protected _refreshRate: number;
|
|
@@ -108996,11 +108992,13 @@ declare module BABYLON {
|
|
|
*/
|
|
|
get position(): Vector3;
|
|
|
set position(newPosition: Vector3);
|
|
|
+ protected _upVector: Vector3;
|
|
|
/**
|
|
|
* The vector the camera should consider as up.
|
|
|
* (default is Vector3(0, 1, 0) aka Vector3.Up())
|
|
|
*/
|
|
|
- upVector: Vector3;
|
|
|
+ set upVector(vec: Vector3);
|
|
|
+ get upVector(): Vector3;
|
|
|
/**
|
|
|
* Define the current limit on the left side for an orthographic camera
|
|
|
* In scene unit
|
|
@@ -111744,11 +111742,13 @@ declare module BABYLON {
|
|
|
* Gets or sets a boolean indicating that pointer move events must be supported on this mesh (false by default)
|
|
|
*/
|
|
|
enablePointerMoveEvents: boolean;
|
|
|
+ private _renderingGroupId;
|
|
|
/**
|
|
|
* Specifies the rendering group id for this mesh (0 by default)
|
|
|
* @see https://doc.babylonjs.com/resources/transparency_and_how_meshes_are_rendered#rendering-groups
|
|
|
*/
|
|
|
- renderingGroupId: number;
|
|
|
+ get renderingGroupId(): number;
|
|
|
+ set renderingGroupId(value: number);
|
|
|
private _material;
|
|
|
/** Gets or sets current material */
|
|
|
get material(): Nullable<Material>;
|
|
@@ -113480,7 +113480,7 @@ declare module BABYLON {
|
|
|
* This is part of the texture as textures usually maps to one uv set.
|
|
|
*/
|
|
|
coordinatesIndex: number;
|
|
|
- private _coordinatesMode;
|
|
|
+ protected _coordinatesMode: number;
|
|
|
/**
|
|
|
* How a texture is mapped.
|
|
|
*
|
|
@@ -113499,6 +113499,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
set coordinatesMode(value: number);
|
|
|
get coordinatesMode(): number;
|
|
|
+ private _wrapU;
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -113506,7 +113507,9 @@ declare module BABYLON {
|
|
|
* | 1 | WRAP_ADDRESSMODE | |
|
|
|
* | 2 | MIRROR_ADDRESSMODE | |
|
|
|
*/
|
|
|
- wrapU: number;
|
|
|
+ get wrapU(): number;
|
|
|
+ set wrapU(value: number);
|
|
|
+ private _wrapV;
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -113514,7 +113517,8 @@ declare module BABYLON {
|
|
|
* | 1 | WRAP_ADDRESSMODE | |
|
|
|
* | 2 | MIRROR_ADDRESSMODE | |
|
|
|
*/
|
|
|
- wrapV: number;
|
|
|
+ get wrapV(): number;
|
|
|
+ set wrapV(value: number);
|
|
|
/**
|
|
|
* | Value | Type | Description |
|
|
|
* | ----- | ------------------ | ----------- |
|
|
@@ -118975,8 +118979,6 @@ declare module BABYLON {
|
|
|
* The material properties need to be setup according to the type of texture in use.
|
|
|
*/
|
|
|
environmentBRDFTexture: BaseTexture;
|
|
|
- /** @hidden */
|
|
|
- protected _environmentTexture: Nullable<BaseTexture>;
|
|
|
/**
|
|
|
* Texture used in all pbr material as the reflection texture.
|
|
|
* As in the majority of the scene they are the same (exception for multi room and so on),
|
|
@@ -121012,10 +121014,15 @@ declare module BABYLON {
|
|
|
* Textures to keep.
|
|
|
*/
|
|
|
textures: BaseTexture[];
|
|
|
+ /** @hidden */
|
|
|
+ protected _environmentTexture: Nullable<BaseTexture>;
|
|
|
/**
|
|
|
- * Environment texture for the scene
|
|
|
+ * Texture used in all pbr material as the reflection texture.
|
|
|
+ * As in the majority of the scene they are the same (exception for multi room and so on),
|
|
|
+ * this is easier to reference from here than from all the materials.
|
|
|
*/
|
|
|
- environmentTexture: Nullable<BaseTexture>;
|
|
|
+ get environmentTexture(): Nullable<BaseTexture>;
|
|
|
+ set environmentTexture(value: Nullable<BaseTexture>);
|
|
|
/**
|
|
|
* The list of postprocesses added to the scene
|
|
|
*/
|
|
@@ -122434,7 +122441,6 @@ declare module BABYLON {
|
|
|
*/
|
|
|
get position(): Vector3;
|
|
|
set position(newPosition: Vector3);
|
|
|
- protected _upVector: Vector3;
|
|
|
protected _upToYMatrix: Matrix;
|
|
|
protected _YToUpMatrix: Matrix;
|
|
|
/**
|
|
@@ -129899,7 +129905,12 @@ declare module BABYLON {
|
|
|
/**
|
|
|
* Ratio for the scale of the gizmo (Default: 1)
|
|
|
*/
|
|
|
- scaleRatio: number;
|
|
|
+ protected _scaleRatio: number;
|
|
|
+ /**
|
|
|
+ * Ratio for the scale of the gizmo (Default: 1)
|
|
|
+ */
|
|
|
+ set scaleRatio(value: number);
|
|
|
+ get scaleRatio(): number;
|
|
|
/**
|
|
|
* If a custom mesh has been set (Default: false)
|
|
|
*/
|
|
@@ -129921,10 +129932,12 @@ declare module BABYLON {
|
|
|
* @param mesh The mesh to replace the default mesh of the gizmo
|
|
|
*/
|
|
|
setCustomMesh(mesh: Mesh): void;
|
|
|
+ protected _updateGizmoRotationToMatchAttachedMesh: boolean;
|
|
|
/**
|
|
|
* If set the gizmo's rotation will be updated to match the attached mesh each frame (Default: true)
|
|
|
*/
|
|
|
- updateGizmoRotationToMatchAttachedMesh: boolean;
|
|
|
+ set updateGizmoRotationToMatchAttachedMesh(value: boolean);
|
|
|
+ get updateGizmoRotationToMatchAttachedMesh(): boolean;
|
|
|
/**
|
|
|
* If set the gizmo's position will be updated to match the attached mesh each frame (Default: true)
|
|
|
*/
|
|
@@ -130044,9 +130057,7 @@ declare module BABYLON {
|
|
|
*/
|
|
|
private _meshAttached;
|
|
|
private _nodeAttached;
|
|
|
- private _updateGizmoRotationToMatchAttachedMesh;
|
|
|
private _snapDistance;
|
|
|
- private _scaleRatio;
|
|
|
/** Fires an event when any of it's sub gizmos are dragged */
|
|
|
onDragStartObservable: Observable<unknown>;
|
|
|
/** Fires an event when any of it's sub gizmos are released from dragging */
|
|
@@ -130157,7 +130168,7 @@ declare module BABYLON.Debug {
|
|
|
/**
|
|
|
* Gets the hosting scene
|
|
|
*/
|
|
|
- scene: Scene;
|
|
|
+ scene: Nullable<Scene>;
|
|
|
/**
|
|
|
* Gets or sets a number used to scale line length
|
|
|
*/
|
|
@@ -133006,9 +133017,7 @@ declare module BABYLON {
|
|
|
uniformScaleGizmo: AxisScaleGizmo;
|
|
|
private _meshAttached;
|
|
|
private _nodeAttached;
|
|
|
- private _updateGizmoRotationToMatchAttachedMesh;
|
|
|
private _snapDistance;
|
|
|
- private _scaleRatio;
|
|
|
private _uniformScalingMesh;
|
|
|
private _octahedron;
|
|
|
private _sensitivity;
|
|
@@ -139856,10 +139865,6 @@ declare module BABYLON {
|
|
|
* The texture URL.
|
|
|
*/
|
|
|
url: string;
|
|
|
- /**
|
|
|
- * The texture coordinates mode. As this texture is stored in a cube format, please modify carefully.
|
|
|
- */
|
|
|
- coordinatesMode: number;
|
|
|
protected _isBlocking: boolean;
|
|
|
/**
|
|
|
* Sets wether or not the texture is blocking during loading.
|
|
@@ -140964,8 +140969,6 @@ declare module BABYLON {
|
|
|
private _height;
|
|
|
/** The URL to the image. */
|
|
|
url: string;
|
|
|
- /** The texture coordinates mode. As this texture is stored in a cube format, please modify carefully. */
|
|
|
- coordinatesMode: number;
|
|
|
/**
|
|
|
* Instantiates an EquiRectangularCubeTexture from the following parameters.
|
|
|
* @param url The location of the image
|