|
@@ -8391,7 +8391,7 @@ declare module "babylonjs/Cameras/targetCamera" {
|
|
_reset: () => void;
|
|
_reset: () => void;
|
|
private _defaultUp;
|
|
private _defaultUp;
|
|
/**
|
|
/**
|
|
- * Instantiates a target camera that takes a meshor position as a target and continues to look at it while it moves.
|
|
|
|
|
|
+ * Instantiates a target camera that takes a mesh or position as a target and continues to look at it while it moves.
|
|
* This is the base of the follow, arc rotate cameras and Free camera
|
|
* This is the base of the follow, arc rotate cameras and Free camera
|
|
* @see http://doc.babylonjs.com/features/cameras
|
|
* @see http://doc.babylonjs.com/features/cameras
|
|
* @param name Defines the name of the camera in the scene
|
|
* @param name Defines the name of the camera in the scene
|
|
@@ -26077,7 +26077,7 @@ declare module "babylonjs/Particles/solidParticle" {
|
|
*/
|
|
*/
|
|
shapeId: number;
|
|
shapeId: number;
|
|
/**
|
|
/**
|
|
- * Index of the particle in its shape id (Internal use)
|
|
|
|
|
|
+ * Index of the particle in its shape id
|
|
*/
|
|
*/
|
|
idxInShape: number;
|
|
idxInShape: number;
|
|
/**
|
|
/**
|
|
@@ -44706,6 +44706,8 @@ declare module "babylonjs/Meshes/Builders/boxBuilder" {
|
|
declare module "babylonjs/Meshes/Builders/sphereBuilder" {
|
|
declare module "babylonjs/Meshes/Builders/sphereBuilder" {
|
|
import { Vector4 } from "babylonjs/Maths/math.vector";
|
|
import { Vector4 } from "babylonjs/Maths/math.vector";
|
|
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
import { Mesh } from "babylonjs/Meshes/mesh";
|
|
|
|
+ import { Scene } from "babylonjs/scene";
|
|
|
|
+ import { Nullable } from "babylonjs/types";
|
|
/**
|
|
/**
|
|
* Class containing static functions to help procedurally build meshes
|
|
* Class containing static functions to help procedurally build meshes
|
|
*/
|
|
*/
|
|
@@ -44738,7 +44740,7 @@ declare module "babylonjs/Meshes/Builders/sphereBuilder" {
|
|
frontUVs?: Vector4;
|
|
frontUVs?: Vector4;
|
|
backUVs?: Vector4;
|
|
backUVs?: Vector4;
|
|
updatable?: boolean;
|
|
updatable?: boolean;
|
|
- }, scene: any): Mesh;
|
|
|
|
|
|
+ }, scene?: Nullable<Scene>): Mesh;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module "babylonjs/Debug/physicsViewer" {
|
|
declare module "babylonjs/Debug/physicsViewer" {
|
|
@@ -56046,7 +56048,11 @@ declare module "babylonjs/Materials/Node/Blocks/trigonometryBlock" {
|
|
/** Sin */
|
|
/** Sin */
|
|
Sin = 1,
|
|
Sin = 1,
|
|
/** Abs */
|
|
/** Abs */
|
|
- Abs = 2
|
|
|
|
|
|
+ Abs = 2,
|
|
|
|
+ /** Exp */
|
|
|
|
+ Exp = 3,
|
|
|
|
+ /** Exp2 */
|
|
|
|
+ Exp2 = 4
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Block used to apply trigonometry operation to floats
|
|
* Block used to apply trigonometry operation to floats
|
|
@@ -56807,7 +56813,7 @@ declare module "babylonjs/Meshes/csg" {
|
|
* @param keepSubMeshes Specifies if the submeshes should be kept
|
|
* @param keepSubMeshes Specifies if the submeshes should be kept
|
|
* @returns A new Mesh
|
|
* @returns A new Mesh
|
|
*/
|
|
*/
|
|
- buildMeshGeometry(name: string, scene: Scene, keepSubMeshes: boolean): Mesh;
|
|
|
|
|
|
+ buildMeshGeometry(name: string, scene?: Scene, keepSubMeshes?: boolean): Mesh;
|
|
/**
|
|
/**
|
|
* Build Mesh from CSG taking material and transforms into account
|
|
* Build Mesh from CSG taking material and transforms into account
|
|
* @param name The name of the Mesh
|
|
* @param name The name of the Mesh
|
|
@@ -56816,7 +56822,7 @@ declare module "babylonjs/Meshes/csg" {
|
|
* @param keepSubMeshes Specifies if submeshes should be kept
|
|
* @param keepSubMeshes Specifies if submeshes should be kept
|
|
* @returns The new Mesh
|
|
* @returns The new Mesh
|
|
*/
|
|
*/
|
|
- toMesh(name: string, material: Nullable<Material>, scene: Scene, keepSubMeshes: boolean): Mesh;
|
|
|
|
|
|
+ toMesh(name: string, material?: Nullable<Material>, scene?: Scene, keepSubMeshes?: boolean): Mesh;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module "babylonjs/Meshes/trailMesh" {
|
|
declare module "babylonjs/Meshes/trailMesh" {
|
|
@@ -73122,7 +73128,7 @@ declare module BABYLON {
|
|
_reset: () => void;
|
|
_reset: () => void;
|
|
private _defaultUp;
|
|
private _defaultUp;
|
|
/**
|
|
/**
|
|
- * Instantiates a target camera that takes a meshor position as a target and continues to look at it while it moves.
|
|
|
|
|
|
+ * Instantiates a target camera that takes a mesh or position as a target and continues to look at it while it moves.
|
|
* This is the base of the follow, arc rotate cameras and Free camera
|
|
* This is the base of the follow, arc rotate cameras and Free camera
|
|
* @see http://doc.babylonjs.com/features/cameras
|
|
* @see http://doc.babylonjs.com/features/cameras
|
|
* @param name Defines the name of the camera in the scene
|
|
* @param name Defines the name of the camera in the scene
|
|
@@ -90182,7 +90188,7 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
shapeId: number;
|
|
shapeId: number;
|
|
/**
|
|
/**
|
|
- * Index of the particle in its shape id (Internal use)
|
|
|
|
|
|
+ * Index of the particle in its shape id
|
|
*/
|
|
*/
|
|
idxInShape: number;
|
|
idxInShape: number;
|
|
/**
|
|
/**
|
|
@@ -107923,7 +107929,7 @@ declare module BABYLON {
|
|
frontUVs?: Vector4;
|
|
frontUVs?: Vector4;
|
|
backUVs?: Vector4;
|
|
backUVs?: Vector4;
|
|
updatable?: boolean;
|
|
updatable?: boolean;
|
|
- }, scene: any): Mesh;
|
|
|
|
|
|
+ }, scene?: Nullable<Scene>): Mesh;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON.Debug {
|
|
declare module BABYLON.Debug {
|
|
@@ -118300,7 +118306,11 @@ declare module BABYLON {
|
|
/** Sin */
|
|
/** Sin */
|
|
Sin = 1,
|
|
Sin = 1,
|
|
/** Abs */
|
|
/** Abs */
|
|
- Abs = 2
|
|
|
|
|
|
+ Abs = 2,
|
|
|
|
+ /** Exp */
|
|
|
|
+ Exp = 3,
|
|
|
|
+ /** Exp2 */
|
|
|
|
+ Exp2 = 4
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Block used to apply trigonometry operation to floats
|
|
* Block used to apply trigonometry operation to floats
|
|
@@ -118961,7 +118971,7 @@ declare module BABYLON {
|
|
* @param keepSubMeshes Specifies if the submeshes should be kept
|
|
* @param keepSubMeshes Specifies if the submeshes should be kept
|
|
* @returns A new Mesh
|
|
* @returns A new Mesh
|
|
*/
|
|
*/
|
|
- buildMeshGeometry(name: string, scene: Scene, keepSubMeshes: boolean): Mesh;
|
|
|
|
|
|
+ buildMeshGeometry(name: string, scene?: Scene, keepSubMeshes?: boolean): Mesh;
|
|
/**
|
|
/**
|
|
* Build Mesh from CSG taking material and transforms into account
|
|
* Build Mesh from CSG taking material and transforms into account
|
|
* @param name The name of the Mesh
|
|
* @param name The name of the Mesh
|
|
@@ -118970,7 +118980,7 @@ declare module BABYLON {
|
|
* @param keepSubMeshes Specifies if submeshes should be kept
|
|
* @param keepSubMeshes Specifies if submeshes should be kept
|
|
* @returns The new Mesh
|
|
* @returns The new Mesh
|
|
*/
|
|
*/
|
|
- toMesh(name: string, material: Nullable<Material>, scene: Scene, keepSubMeshes: boolean): Mesh;
|
|
|
|
|
|
+ toMesh(name: string, material?: Nullable<Material>, scene?: Scene, keepSubMeshes?: boolean): Mesh;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|