C# Class Axiom.ParticleSystems.Particle

Class representing a single particle instance.
ファイルを表示 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_oe property

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

Direction public_oe property

public Vector3 Direction
return Vector3

Position public_oe property

public Vector3 Position
return Vector3

hasOwnDimensions public_oe property

public bool hasOwnDimensions
return bool

height public_oe property

public float height
return float

parentSystem protected_oe property

protected ParticleSystem parentSystem
return ParticleSystem

particleType protected_oe property

protected ParticleType particleType
return ParticleType

rotationInRadians public_oe property

public float rotationInRadians
return float

timeToLive public_oe property

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

totalTimeToLive public_oe property

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

visual protected_oe property

protected ParticleVisualData,Axiom.ParticleSystems visual
return ParticleVisualData

width public_oe property

public float width
return float