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

Adds a new Timed Event. Timed Events fire when the Particle System'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>)>)>..::..UpdateParticleSystemDelegate cFunctionToCall,

 int iExecutionOrder,

 int iGroup

)

Visual Basic

Public Sub AddTimedEvent (

 fTimeToFire As Single,

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

 iExecutionOrder As Integer,

 iGroup As Integer

)

Visual C++

public:

void AddTimedEvent(

 float fTimeToFire,

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

 int iExecutionOrder,

 int iGroup

)

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>)>)>..::..UpdateParticleSystemDelegate

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.

iGroup

Type: System..::..Int32

The Group that this Event should belong to

collapse_allSee Also

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

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

AddTimedEvent Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com