collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

DPSF API Documentation
ParticleEmitter
.
.
::
..UpdateAndGetNumberOfParticlesToEmit Method
gradient

Updates the Emitter's Position and Orientation according to its Velocities and Accelerations, and returns how many Particles should be emitted this frame.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public int UpdateAndGetNumberOfParticlesToEmit(

 float fElapsedTimeInSeconds

)

Visual Basic

Public Function UpdateAndGetNumberOfParticlesToEmit (

 fElapsedTimeInSeconds As Single

As Integer

Visual C++

public:

int UpdateAndGetNumberOfParticlesToEmit(

 float fElapsedTimeInSeconds

)

Parameters

fElapsedTimeInSeconds

Type: System..::..Single

How long (in seconds) it has been since this function was called.

Return Value

Type: Int32

Returns the number of Particles that should be emitted.

collapse_allSee Also

ParticleEmitter Class

ParticleEmitter Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com