Applies an acceleration to a particle parameter.

Namespace: DigitalRune.Particles.Effectors
Assembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.1.0.0 (1.1.0.9492)

Syntax

C#
public class LinearAccelerationEffector : ParticleEffector
Visual Basic
Public Class LinearAccelerationEffector _
	Inherits ParticleEffector
Visual C++
public ref class LinearAccelerationEffector : public ParticleEffector

Remarks

This effector changes a linear velocity by applying an acceleration.

Used particle parameters:

Particle ParameterDescription
DirectionParameter A normalized Vector3F parameter that defines the movement direction (direction of the linear velocity vector). This parameter is modified by applying the acceleration. Per default, the parameter "Direction" is used.
SpeedParameter A Single parameter that defines the movement speed (magnitude of the linear velocity vector). This parameter is modified by applying the acceleration. Per default, the parameter "LinearSpeed" is used.
AccelerationParameter A Vector3F parameter that defines the acceleration vector. The direction of the vector defines the acceleration direction. The length of the vector defines the magnitude of the acceleration. Per default, the parameter "LinearAcceleration" is used.

Inheritance Hierarchy

System..::..Object
  DigitalRune.Particles..::..ParticleEffector
    DigitalRune.Particles.Effectors..::..LinearAccelerationEffector

See Also