Generate(ParticleSystem.Particle defaultParticle) { defaultParticle.position = position.Regenerate(); defaultParticle.velocity = velocity.Regenerate(); defaultParticle.rotation = rotation; defaultParticle.angularVelocity = angularVelocity; defaultParticle.remainingLifetime = lifeTime; return(defaultParticle); }
public Vector3 Lerp(Vector3Data other, float factor) { return(Vector3.Lerp(this.Regenerate(), other.Regenerate(), factor)); }