David Catuhe 7 anos atrás
pai
commit
1180848f9d

Diferenças do arquivo suprimidas por serem muito extensas
+ 11799 - 11793
dist/preview release/babylon.d.ts


Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 4
dist/preview release/babylon.js


+ 15 - 10
dist/preview release/babylon.max.js

@@ -56479,11 +56479,13 @@ var BABYLON;
         /**
          * Creates a Sphere Emitter for the particle system. (emits along the sphere radius)
          * @param radius The radius of the sphere to emit from
+         * @param radiusRange The range of the sphere to emit from [0-1] 0 Surface Only, 1 Entire Radius
          * @returns the emitter
          */
-        ParticleSystem.prototype.createSphereEmitter = function (radius) {
+        ParticleSystem.prototype.createSphereEmitter = function (radius, radiusRange) {
             if (radius === void 0) { radius = 1; }
-            var particleEmitter = new BABYLON.SphereParticleEmitter(radius);
+            if (radiusRange === void 0) { radiusRange = 1; }
+            var particleEmitter = new BABYLON.SphereParticleEmitter(radius, radiusRange);
             this.particleEmitterType = particleEmitter;
             return particleEmitter;
         };
@@ -57163,27 +57165,30 @@ var BABYLON;
      */
     var SphereParticleEmitter = /** @class */ (function () {
         /**
-         * Creates a new instance SphereParticleEmitter
-         * @param radius the radius of the emission sphere (1 by default)
-         * @param directionRandomizer defines how much to randomize the particle direction [0-1]
-         */
+        * Creates a new instance SphereParticleEmitter
+        * @param radius the radius of the emission sphere (1 by default)
+        * @param radiusRange the range of the emission sphere [0-1] 0 Surface only, 1 Entire Radius (1 by default)
+        * @param directionRandomizer defines how much to randomize the particle direction [0-1]
+        */
         function SphereParticleEmitter(
         /**
          * The radius of the emission sphere.
          */
         radius, 
         /**
+         * The range of emission [0-1] 0 Surface only, 1 Entire Radius.
+         */
+        radiusRange, 
+        /**
          * How much to randomize the particle direction [0-1].
          */
         directionRandomizer) {
             if (radius === void 0) { radius = 1; }
+            if (radiusRange === void 0) { radiusRange = 1; }
             if (directionRandomizer === void 0) { directionRandomizer = 0; }
             this.radius = radius;
+            this.radiusRange = radiusRange;
             this.directionRandomizer = directionRandomizer;
-            /**
-             * Gets or sets a value indicating where on the radius the start position should be picked (1 = everywhere, 0 = only surface)
-             */
-            this.radiusRange = 1;
         }
         /**
          * Called by the particle System when the direction is computed for the created particle.

+ 15 - 10
dist/preview release/babylon.no-module.max.js

@@ -56446,11 +56446,13 @@ var BABYLON;
         /**
          * Creates a Sphere Emitter for the particle system. (emits along the sphere radius)
          * @param radius The radius of the sphere to emit from
+         * @param radiusRange The range of the sphere to emit from [0-1] 0 Surface Only, 1 Entire Radius
          * @returns the emitter
          */
-        ParticleSystem.prototype.createSphereEmitter = function (radius) {
+        ParticleSystem.prototype.createSphereEmitter = function (radius, radiusRange) {
             if (radius === void 0) { radius = 1; }
-            var particleEmitter = new BABYLON.SphereParticleEmitter(radius);
+            if (radiusRange === void 0) { radiusRange = 1; }
+            var particleEmitter = new BABYLON.SphereParticleEmitter(radius, radiusRange);
             this.particleEmitterType = particleEmitter;
             return particleEmitter;
         };
@@ -57130,27 +57132,30 @@ var BABYLON;
      */
     var SphereParticleEmitter = /** @class */ (function () {
         /**
-         * Creates a new instance SphereParticleEmitter
-         * @param radius the radius of the emission sphere (1 by default)
-         * @param directionRandomizer defines how much to randomize the particle direction [0-1]
-         */
+        * Creates a new instance SphereParticleEmitter
+        * @param radius the radius of the emission sphere (1 by default)
+        * @param radiusRange the range of the emission sphere [0-1] 0 Surface only, 1 Entire Radius (1 by default)
+        * @param directionRandomizer defines how much to randomize the particle direction [0-1]
+        */
         function SphereParticleEmitter(
         /**
          * The radius of the emission sphere.
          */
         radius, 
         /**
+         * The range of emission [0-1] 0 Surface only, 1 Entire Radius.
+         */
+        radiusRange, 
+        /**
          * How much to randomize the particle direction [0-1].
          */
         directionRandomizer) {
             if (radius === void 0) { radius = 1; }
+            if (radiusRange === void 0) { radiusRange = 1; }
             if (directionRandomizer === void 0) { directionRandomizer = 0; }
             this.radius = radius;
+            this.radiusRange = radiusRange;
             this.directionRandomizer = directionRandomizer;
-            /**
-             * Gets or sets a value indicating where on the radius the start position should be picked (1 = everywhere, 0 = only surface)
-             */
-            this.radiusRange = 1;
         }
         /**
          * Called by the particle System when the direction is computed for the created particle.

Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 4
dist/preview release/babylon.worker.js


+ 15 - 10
dist/preview release/es6.js

@@ -56446,11 +56446,13 @@ var BABYLON;
         /**
          * Creates a Sphere Emitter for the particle system. (emits along the sphere radius)
          * @param radius The radius of the sphere to emit from
+         * @param radiusRange The range of the sphere to emit from [0-1] 0 Surface Only, 1 Entire Radius
          * @returns the emitter
          */
-        ParticleSystem.prototype.createSphereEmitter = function (radius) {
+        ParticleSystem.prototype.createSphereEmitter = function (radius, radiusRange) {
             if (radius === void 0) { radius = 1; }
-            var particleEmitter = new BABYLON.SphereParticleEmitter(radius);
+            if (radiusRange === void 0) { radiusRange = 1; }
+            var particleEmitter = new BABYLON.SphereParticleEmitter(radius, radiusRange);
             this.particleEmitterType = particleEmitter;
             return particleEmitter;
         };
@@ -57130,27 +57132,30 @@ var BABYLON;
      */
     var SphereParticleEmitter = /** @class */ (function () {
         /**
-         * Creates a new instance SphereParticleEmitter
-         * @param radius the radius of the emission sphere (1 by default)
-         * @param directionRandomizer defines how much to randomize the particle direction [0-1]
-         */
+        * Creates a new instance SphereParticleEmitter
+        * @param radius the radius of the emission sphere (1 by default)
+        * @param radiusRange the range of the emission sphere [0-1] 0 Surface only, 1 Entire Radius (1 by default)
+        * @param directionRandomizer defines how much to randomize the particle direction [0-1]
+        */
         function SphereParticleEmitter(
         /**
          * The radius of the emission sphere.
          */
         radius, 
         /**
+         * The range of emission [0-1] 0 Surface only, 1 Entire Radius.
+         */
+        radiusRange, 
+        /**
          * How much to randomize the particle direction [0-1].
          */
         directionRandomizer) {
             if (radius === void 0) { radius = 1; }
+            if (radiusRange === void 0) { radiusRange = 1; }
             if (directionRandomizer === void 0) { directionRandomizer = 0; }
             this.radius = radius;
+            this.radiusRange = radiusRange;
             this.directionRandomizer = directionRandomizer;
-            /**
-             * Gets or sets a value indicating where on the radius the start position should be picked (1 = everywhere, 0 = only surface)
-             */
-            this.radiusRange = 1;
         }
         /**
          * Called by the particle System when the direction is computed for the created particle.