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
DPSF
<
(Of
<
(<'Particle, Vertex>)>)>..::..CParticleEvents..::..AddTimedEvent Method (Single, DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate, Int32)
gradient

Adds a new Timed Event with a default Group of zero. Timed Events fire when the Particle's Elapsed Time reaches the specified Time To Fire.

Namespace: DPSF

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

collapse_allSyntax

C#

public void AddTimedEvent(

 float fTimeToFire,

 DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate cFunctionToCall,

 int iExecutionOrder

)

Visual Basic

Public Sub AddTimedEvent (

 fTimeToFire As Single,

 cFunctionToCall As DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate,

 iExecutionOrder As Integer

)

Visual C++

public:

void AddTimedEvent(

 float fTimeToFire,

 DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegatecFunctionToCall,

 int iExecutionOrder

)

Parameters

fTimeToFire

Type: System..::..Single

The Time when the Event should fire (i.e. when the Function should be called)

cFunctionToCall

Type: DPSF..::..DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate

The Function To Call when the Event fires

iExecutionOrder

Type: System..::..Int32

The Order, relative to other Events, of when this Event should Execute.

NOTE: Events with lower Execution Order are executed first.

NOTE: Events with the same Execution Order are not guaranteed to be executed in the order they are added.

collapse_allSee Also

DPSF<(Of <(<'Particle, Vertex>)>)>..::..CParticleEvents Class

DPSF<(Of <(<'Particle, Vertex>)>)>..::..CParticleEvents Members

AddTimedEvent Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com