CSS Logo XNACS1Lib Library Documentation
XNACS1Particle.TravelPrimitive Method 

Game-Themed Introductory Programming Project   

Overloaded TravelPrimitive for Particles. Moves the particle during each update cycle. This function is automacially called for all visible particle. Default behavior is to move the particle if: . Primitive is visible (invivislble primitive is not updated) . ShouldTravel is true . HasNonZeroVelocity() is true This method moves the particle in the direction of its velocity and also displaces it according to the ParticleTravelMode chosen.

public override void TravelPrimitive();

See Also

XNACS1Particle Class | XNACS1Lib Namespace