![collapse_all](collapse_all.gif)
Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
(<'Particle, Vertex>)>)>..::..CParticleEvents..::..AddTimedEvent Method (Single, DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate, Int32, Int32)
|
|
Adds a new Timed Event. 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
Syntax
C#
|
public void AddTimedEvent(
float fTimeToFire,
DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate cFunctionToCall,
int iExecutionOrder,
int iGroup
)
|
Visual Basic
|
Public Sub AddTimedEvent (
fTimeToFire As Single,
cFunctionToCall As DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate,
iExecutionOrder As Integer,
iGroup As Integer
)
|
Visual C++
|
public:
void AddTimedEvent(
float fTimeToFire,
DPSF<(Of <(<'Particle, Vertex>)>)>..::..UpdateParticleDelegate^ cFunctionToCall,
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>)>)>..::..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.
iGroup
Type: System..::..Int32
The Group that this Event should belong to
See Also
DPSF<(Of <(<'Particle, Vertex>)>)>..::..CParticleEvents Class
DPSF<(Of <(<'Particle, Vertex>)>)>..::..CParticleEvents Members
AddTimedEvent Overload
DPSF Namespace
![footer](footer.gif)
Send comments on this topic to
|