OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Package Functions | Package Attributes | Properties | List of all members
OmegaEngine.Graphics.Renderables.CpuParticleParameters Class Reference

A set of information about a particle in a particle system More...

Package Functions

CpuParticleParameters CloneParameters ()
 Creates a plain copy of the this particle system parameter set More...
 

Package Attributes

const float InfiniteFlag = -32768
 This value for LifeTime is a flag for infinite life More...
 

Properties

float LifeTime [get, set]
 How many seconds this particle will exist. Set to 0 never create. Set to InfiniteFlag for infinite. More...
 
float Friction [get, set]
 How much the velocity will be reduced in one second as a value between 0 and 1 More...
 
float Size [get, set]
 The size of the particle More...
 
float DeltaSize [get, set]
 How much the particle will grow per second More...
 
Color Color [get, set]
 The color of the particle More...
 
XColor Color4 = Color.White [get, set]
 Used for XML serialization. More...
 
float DeltaColor [get, set]
 How much the particle gets darker per second More...
 

Detailed Description

A set of information about a particle in a particle system

Member Function Documentation

CpuParticleParameters OmegaEngine.Graphics.Renderables.CpuParticleParameters.CloneParameters ( )
inlinepackage

Creates a plain copy of the this particle system parameter set

Member Data Documentation

const float OmegaEngine.Graphics.Renderables.CpuParticleParameters.InfiniteFlag = -32768
package

This value for LifeTime is a flag for infinite life

Property Documentation

Color OmegaEngine.Graphics.Renderables.CpuParticleParameters.Color
getset

The color of the particle

Is not serialized/stored, Color4 is used for that.

XColor OmegaEngine.Graphics.Renderables.CpuParticleParameters.Color4 = Color.White
getset

Used for XML serialization.

See Also
Color
float OmegaEngine.Graphics.Renderables.CpuParticleParameters.DeltaColor
getset

How much the particle gets darker per second

float OmegaEngine.Graphics.Renderables.CpuParticleParameters.DeltaSize
getset

How much the particle will grow per second

float OmegaEngine.Graphics.Renderables.CpuParticleParameters.Friction
getset

How much the velocity will be reduced in one second as a value between 0 and 1

float OmegaEngine.Graphics.Renderables.CpuParticleParameters.LifeTime
getset

How many seconds this particle will exist. Set to 0 never create. Set to InfiniteFlag for infinite.

float OmegaEngine.Graphics.Renderables.CpuParticleParameters.Size
getset

The size of the particle


The documentation for this class was generated from the following file: