public ParticleEmitter(ParticleSystem system) { this.particleSystem = system; }
public PointEmitter(ParticleSystem system, EmitterParameters parameters,IParticleClass particleClass) : base(system) { this.emitterParameters = parameters; this.particleClass = particleClass; timeSinceLastEmit = parameters.ParticleReuse; Position = new MyVector(0, 0, 0); Velocity = new MyVector(0, 0, 0); Orientation = MyQuaternion.FromEulerAngles(0, 0, 0); }