C# Class Axiom.ParticleFX.DirectionRandomizerAffector

This class defines a ParticleAffector which applies randomness to the movement of the particles. This affector ParticleAffector applies randomness to the movement of the particles by changing the direction vectors.
Inheritance: Axiom.ParticleSystems.ParticleAffector
Afficher le fichier Open project: WolfgangSt/axiom

Méthodes publiques

Méthode Description
AffectParticles ( ParticleSystem system, float timeElapsed ) : void

Method called to allow the affector to 'do it's stuff' on all active particles in the system.

This is where the affector gets the chance to apply it's effects to the particles of a system. The affector is expected to apply it's effect to some or all of the particles in the system passed to it, depending on the affector's approach.

DirectionRandomizerAffector ( ) : System

Method Details

AffectParticles() public méthode

Method called to allow the affector to 'do it's stuff' on all active particles in the system.
This is where the affector gets the chance to apply it's effects to the particles of a system. The affector is expected to apply it's effect to some or all of the particles in the system passed to it, depending on the affector's approach.
public AffectParticles ( ParticleSystem system, float timeElapsed ) : void
system ParticleSystem Reference to a ParticleSystem to affect.
timeElapsed float The number of seconds which have elapsed since the last call.
Résultat void

DirectionRandomizerAffector() public méthode

public DirectionRandomizerAffector ( ) : System
Résultat System