OmegaEngine API  1.0.3
Public Member Functions | Public Attributes | Properties | List of all members
OmegaEngine.Graphics.Renderables.CpuParticle Class Reference

A particle used by the CpuParticleSystem More...

Inheritance diagram for OmegaEngine.Graphics.Renderables.CpuParticle:
OmegaEngine.Collections.IPoolable< CpuParticle > OmegaEngine.IPositionable

Public Member Functions

 CpuParticle (DoubleVector3 position, CpuParticleParametersStruct parameters1, CpuParticleParametersStruct parameters2)
 Creates a new particle More...
 

Public Attributes

CpuParticleParametersStruct Parameters1
 The initial configuration of this particle More...
 
CpuParticleParametersStruct Parameters2
 The configuration this particle will take in its "second life" More...
 

Properties

bool Alive [get, set]
 Is this particle currently alive/visible? More...
 
bool SecondLife [get, set]
 Is this particle currently in its second life? More...
 
DoubleVector3 Position [get, set]
 The particle's position in world space More...
 
Vector3 Velocity [get, set]
 The movement of this particle in one second More...
 
Color4 Color [get, set]
 The current color of this particle More...
 
float Size [get]
 The current size of the particle More...
 
- Properties inherited from OmegaEngine.Collections.IPoolable< CpuParticle >
NextElement [get, set]
 A reference to the next element in the Pool<T> chain. More...
 
- Properties inherited from OmegaEngine.IPositionable
DoubleVector3 Position [get, set]
 The object's position More...
 

Detailed Description

A particle used by the CpuParticleSystem

Constructor & Destructor Documentation

◆ CpuParticle()

OmegaEngine.Graphics.Renderables.CpuParticle.CpuParticle ( DoubleVector3  position,
CpuParticleParametersStruct  parameters1,
CpuParticleParametersStruct  parameters2 
)
inline

Creates a new particle

Parameters
positionThe initial position of the particle
parameters1The initial configuration of this particle
parameters2The configuration this particle will take in its "second life"

Member Data Documentation

◆ Parameters1

CpuParticleParametersStruct OmegaEngine.Graphics.Renderables.CpuParticle.Parameters1

The initial configuration of this particle

◆ Parameters2

CpuParticleParametersStruct OmegaEngine.Graphics.Renderables.CpuParticle.Parameters2

The configuration this particle will take in its "second life"

Property Documentation

◆ Alive

bool OmegaEngine.Graphics.Renderables.CpuParticle.Alive
getset

Is this particle currently alive/visible?

◆ Color

Color4 OmegaEngine.Graphics.Renderables.CpuParticle.Color
getset

The current color of this particle

◆ Position

DoubleVector3 OmegaEngine.Graphics.Renderables.CpuParticle.Position
getset

The particle's position in world space

◆ SecondLife

bool OmegaEngine.Graphics.Renderables.CpuParticle.SecondLife
getset

Is this particle currently in its second life?

◆ Size

float OmegaEngine.Graphics.Renderables.CpuParticle.Size
get

The current size of the particle

◆ Velocity

Vector3 OmegaEngine.Graphics.Renderables.CpuParticle.Velocity
getset

The movement of this particle in one second


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