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
ファイルを表示 Open project: WolfgangSt/axiom

Public Methods

Method 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 method

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.
return void

DirectionRandomizerAffector() public method

public DirectionRandomizerAffector ( ) : System
return System