C# Class Axiom.ParticleSystems.Particle

Class representing a single particle instance.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
Color Axiom.Core.ColorEx
Direction Vector3
Position Vector3
hasOwnDimensions bool
height float
rotationInRadians float
timeToLive float
totalTimeToLive float
width float

Protected Properties

Property Type Description
parentSystem ParticleSystem
particleType ParticleType
visual ParticleVisualData

Public Methods

Method Description
NotifyOwner ( ParticleSystem owner ) : void
NotifyVisualData ( ParticleVisualData vdata ) : void
Particle ( ) : System

Default constructor.

ResetDimensions ( ) : void
SetDimensions ( float width, float height ) : void

Method Details

NotifyOwner() public method

public NotifyOwner ( ParticleSystem owner ) : void
owner ParticleSystem
return void

NotifyVisualData() public method

public NotifyVisualData ( ParticleVisualData vdata ) : void
vdata ParticleVisualData
return void

Particle() public method

Default constructor.
public Particle ( ) : System
return System

ResetDimensions() public method

public ResetDimensions ( ) : void
return void

SetDimensions() public method

public SetDimensions ( float width, float height ) : void
width float
height float
return void

Property Details

Color public property

public ColorEx,Axiom.Core Color
return Axiom.Core.ColorEx

Direction public property

public Vector3 Direction
return Vector3

Position public property

public Vector3 Position
return Vector3

hasOwnDimensions public property

public bool hasOwnDimensions
return bool

height public property

public float height
return float

parentSystem protected property

protected ParticleSystem parentSystem
return ParticleSystem

particleType protected property

protected ParticleType particleType
return ParticleType

rotationInRadians public property

public float rotationInRadians
return float

timeToLive public property

Time (in seconds) before this particle is destroyed.
public float timeToLive
return float

totalTimeToLive public property

Total Time to live, number of seconds of particles natural life
public float totalTimeToLive
return float

visual protected property

protected ParticleVisualData,Axiom.ParticleSystems visual
return ParticleVisualData

width public property

public float width
return float