babylon.particle.js 543 B

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