David Catuhe vor 7 Jahren
Ursprung
Commit
2f2ff554f6

Datei-Diff unterdrückt, da er zu groß ist
+ 14305 - 14302
Playground/babylon.d.txt


Datei-Diff unterdrückt, da er zu groß ist
+ 17428 - 17425
dist/preview release/babylon.d.ts


Datei-Diff unterdrückt, da er zu groß ist
+ 8 - 8
dist/preview release/babylon.js


+ 22 - 4
dist/preview release/babylon.max.js

@@ -55591,9 +55591,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        ParticleSystem.prototype.start = function () {
+        ParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._actualFrame = 0;
@@ -59705,9 +59714,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        GPUParticleSystem.prototype.start = function () {
+        GPUParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._preWarmDone = false;

+ 22 - 4
dist/preview release/babylon.no-module.max.js

@@ -55558,9 +55558,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        ParticleSystem.prototype.start = function () {
+        ParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._actualFrame = 0;
@@ -59672,9 +59681,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        GPUParticleSystem.prototype.start = function () {
+        GPUParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._preWarmDone = false;

Datei-Diff unterdrückt, da er zu groß ist
+ 8 - 8
dist/preview release/babylon.worker.js


+ 22 - 4
dist/preview release/es6.js

@@ -55558,9 +55558,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        ParticleSystem.prototype.start = function () {
+        ParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._actualFrame = 0;
@@ -59672,9 +59681,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        GPUParticleSystem.prototype.start = function () {
+        GPUParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._preWarmDone = false;

Datei-Diff unterdrückt, da er zu groß ist
+ 8 - 8
dist/preview release/viewer/babylon.viewer.js


+ 22 - 4
dist/preview release/viewer/babylon.viewer.max.js

@@ -55679,9 +55679,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        ParticleSystem.prototype.start = function () {
+        ParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._actualFrame = 0;
@@ -59793,9 +59802,18 @@ var BABYLON;
             return this._started;
         };
         /**
-         * Starts the particle system and begins to emit.
+         * Starts the particle system and begins to emit
+         * @param delay defines the delay in milliseconds before starting the system (0 by default)
          */
-        GPUParticleSystem.prototype.start = function () {
+        GPUParticleSystem.prototype.start = function (delay) {
+            var _this = this;
+            if (delay === void 0) { delay = 0; }
+            if (delay) {
+                setTimeout(function () {
+                    _this.start(0);
+                }, delay);
+                return;
+            }
             this._started = true;
             this._stopped = false;
             this._preWarmDone = false;