C# Class ParticleEditor.ParticleSystem

ファイルを表示 Open project: fallahn/xygine Class Usage Examples

Public Methods

Method Description
Draw ( RenderTarget target, RenderStates states ) : void
ParticleSystem ( ) : System
addAffector ( IAffector affector ) : void
move ( Vector2f distance ) : void
start ( byte releaseCount, float startDelay, float duration ) : void
stop ( ) : void
update ( float dt ) : void

Private Methods

Method Description
addParticle ( Vector2f position ) : void
addVertex ( Vector2f position, float u, float v, SFML colour ) : void
emit ( float dt ) : void
updateVertices ( ) : void

Method Details

Draw() public method

public Draw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states RenderStates
return void

ParticleSystem() public method

public ParticleSystem ( ) : System
return System

addAffector() public method

public addAffector ( IAffector affector ) : void
affector IAffector
return void

move() public method

public move ( Vector2f distance ) : void
distance Vector2f
return void

start() public method

public start ( byte releaseCount, float startDelay, float duration ) : void
releaseCount byte
startDelay float
duration float
return void

stop() public method

public stop ( ) : void
return void

update() public method

public update ( float dt ) : void
dt float
return void