David Catuhe 7 years ago
parent
commit
f0becd4940
1 changed files with 2 additions and 1 deletions
  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
          * Create a default particle system that you can tweak
          * @param emitter defines the emitter to use
          * @param emitter defines the emitter to use
+         * @param capacity defines the system capacity (default is 500 particles)
          * @param scene defines the hosting scene
          * @param scene defines the hosting scene
          * @returns the new Particle system
          * @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!);
             var system = new ParticleSystem("default system", capacity, scene!);
         
         
             system.emitter = emitter;
             system.emitter = emitter;