소스 검색

doc error corrected

Guide 5 년 전
부모
커밋
731d67a4d8
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/Particles/pointsCloudSystem.ts

+ 3 - 1
src/Particles/pointsCloudSystem.ts

@@ -615,8 +615,9 @@ export class PointsCloudSystem implements IDisposable {
      * Adds points to the PCS from the surface of the model shape
      * @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 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 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
      */
     public addSurfacePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number {
@@ -657,6 +658,7 @@ export class PointsCloudSystem implements IDisposable {
      * @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 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
      */
     public addVolumePoints(mesh: Mesh, nb: number, colorWith?: number, color?: Color4, range?: number): number {