babylon.particle.js 560 B

123456789101112131415161718
  1. "use strict";
  2. var BABYLON = BABYLON || {};
  3. (function () {
  4. BABYLON.Particle = function () {
  5. this.position = BABYLON.Vector3.Zero();
  6. this.direction = BABYLON.Vector3.Zero();
  7. this.color = new BABYLON.Color4(0, 0, 0, 0);
  8. this.colorStep = new BABYLON.Color4(0, 0, 0, 0);
  9. };
  10. BABYLON.Particle.prototype.lifeTime = 1.0;
  11. BABYLON.Particle.prototype.age = 0;
  12. BABYLON.Particle.prototype.size = 0;
  13. BABYLON.Particle.prototype.angle = 0;
  14. BABYLON.Particle.prototype.angularSpeed = 0;
  15. })();