David Catuhe 7 年之前
父节点
当前提交
f0becd4940
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Particles/babylon.particleHelper.ts

+ 2 - 1
src/Particles/babylon.particleHelper.ts

@@ -11,10 +11,11 @@ module BABYLON {
         /**
          * Create a default particle system that you can tweak
          * @param emitter defines the emitter to use
+         * @param capacity defines the system capacity (default is 500 particles)
          * @param scene defines the hosting scene
          * @returns the new Particle system
          */
-        public static CreateDefault(emitter: Nullable<AbstractMesh | Vector3>,  capacity = 500, scene?: Scene): ParticleSystem {
+        public static CreateDefault(emitter: Nullable<AbstractMesh | Vector3>, capacity = 500, scene?: Scene): ParticleSystem {
             var system = new ParticleSystem("default system", capacity, scene!);
         
             system.emitter = emitter;