|
@@ -26197,6 +26197,7 @@ declare module "babylonjs/Particles/solidParticleSystem" {
|
|
private _expandable;
|
|
private _expandable;
|
|
private _shapeCounter;
|
|
private _shapeCounter;
|
|
private _copy;
|
|
private _copy;
|
|
|
|
+ private _mustResetCopy;
|
|
private _color;
|
|
private _color;
|
|
private _computeParticleColor;
|
|
private _computeParticleColor;
|
|
private _computeParticleTexture;
|
|
private _computeParticleTexture;
|
|
@@ -62125,21 +62126,21 @@ declare module "babylonjs/Particles/pointsCloudSystem" {
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
* @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
- * @param color (color3) to be used when colorWith is stated
|
|
|
|
|
|
+ * @param color (color4) to be used when colorWith is stated or color (number) when used to specify texture position
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @returns the number of groups in the system
|
|
* @returns the number of groups in the system
|
|
*/
|
|
*/
|
|
- addSurfacePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number;
|
|
|
|
|
|
+ addSurfacePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4 | number, range?: number): number;
|
|
/**
|
|
/**
|
|
* Adds points to the PCS inside the model shape
|
|
* Adds points to the PCS inside the model shape
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
- * @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible),
|
|
|
|
- * @param color (color4) to be used when colorWith is stated
|
|
|
|
|
|
+ * @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
|
|
+ * @param color (color4) to be used when colorWith is stated or color (number) when used to specify texture position
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @returns the number of groups in the system
|
|
* @returns the number of groups in the system
|
|
*/
|
|
*/
|
|
- addVolumePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number;
|
|
|
|
|
|
+ addVolumePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4 | number, range?: number): number;
|
|
/**
|
|
/**
|
|
* Sets all the particles : this method actually really updates the mesh according to the particle positions, rotations, colors, textures, etc.
|
|
* Sets all the particles : this method actually really updates the mesh according to the particle positions, rotations, colors, textures, etc.
|
|
* This method calls `updateParticle()` for each particle of the SPS.
|
|
* This method calls `updateParticle()` for each particle of the SPS.
|
|
@@ -62417,6 +62418,11 @@ declare module "babylonjs/Particles/cloudPoint" {
|
|
*/
|
|
*/
|
|
_groupDensity: number[];
|
|
_groupDensity: number[];
|
|
/**
|
|
/**
|
|
|
|
+ * Only when points are colored by texture carries pointer to texture list array
|
|
|
|
+ * @hidden
|
|
|
|
+ */
|
|
|
|
+ _textureNb: number;
|
|
|
|
+ /**
|
|
* Creates a points group object. This is an internal reference to produce particles for the PCS.
|
|
* Creates a points group object. This is an internal reference to produce particles for the PCS.
|
|
* PCS internal tool, don't use it manually.
|
|
* PCS internal tool, don't use it manually.
|
|
* @hidden
|
|
* @hidden
|
|
@@ -93470,6 +93476,7 @@ declare module BABYLON {
|
|
private _expandable;
|
|
private _expandable;
|
|
private _shapeCounter;
|
|
private _shapeCounter;
|
|
private _copy;
|
|
private _copy;
|
|
|
|
+ private _mustResetCopy;
|
|
private _color;
|
|
private _color;
|
|
private _computeParticleColor;
|
|
private _computeParticleColor;
|
|
private _computeParticleTexture;
|
|
private _computeParticleTexture;
|
|
@@ -127063,21 +127070,21 @@ declare module BABYLON {
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
* @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
- * @param color (color3) to be used when colorWith is stated
|
|
|
|
|
|
+ * @param color (color4) to be used when colorWith is stated or color (number) when used to specify texture position
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @returns the number of groups in the system
|
|
* @returns the number of groups in the system
|
|
*/
|
|
*/
|
|
- addSurfacePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number;
|
|
|
|
|
|
+ addSurfacePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4 | number, range?: number): number;
|
|
/**
|
|
/**
|
|
* Adds points to the PCS inside the model shape
|
|
* Adds points to the PCS inside the model shape
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param mesh is any Mesh object that will be used as a surface model for the points
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
* @param nb (positive integer) the number of particles to be created from this model
|
|
- * @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible),
|
|
|
|
- * @param color (color4) to be used when colorWith is stated
|
|
|
|
|
|
+ * @param colorWith determines whether a point is colored using color (default), uv, random, stated or none (invisible)
|
|
|
|
+ * @param color (color4) to be used when colorWith is stated or color (number) when used to specify texture position
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @param range (number from 0 to 1) to determine the variation in shape and tone for a stated color
|
|
* @returns the number of groups in the system
|
|
* @returns the number of groups in the system
|
|
*/
|
|
*/
|
|
- addVolumePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number;
|
|
|
|
|
|
+ addVolumePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4 | number, range?: number): number;
|
|
/**
|
|
/**
|
|
* Sets all the particles : this method actually really updates the mesh according to the particle positions, rotations, colors, textures, etc.
|
|
* Sets all the particles : this method actually really updates the mesh according to the particle positions, rotations, colors, textures, etc.
|
|
* This method calls `updateParticle()` for each particle of the SPS.
|
|
* This method calls `updateParticle()` for each particle of the SPS.
|
|
@@ -127350,6 +127357,11 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
_groupDensity: number[];
|
|
_groupDensity: number[];
|
|
/**
|
|
/**
|
|
|
|
+ * Only when points are colored by texture carries pointer to texture list array
|
|
|
|
+ * @hidden
|
|
|
|
+ */
|
|
|
|
+ _textureNb: number;
|
|
|
|
+ /**
|
|
* Creates a points group object. This is an internal reference to produce particles for the PCS.
|
|
* Creates a points group object. This is an internal reference to produce particles for the PCS.
|
|
* PCS internal tool, don't use it manually.
|
|
* PCS internal tool, don't use it manually.
|
|
* @hidden
|
|
* @hidden
|