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
DPSFDefaultBaseParticleSystem
<
(Of
<
(<'Particle, Vertex>)>)>..::..UpdateParticlePositionAndVelocityUsingAcceleration Method
gradient

Updates a Particle's Velocity according to its Acceleration, and then the Position according to the new Velocity

Namespace: DPSF

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

collapse_allSyntax

C#

protected void UpdateParticlePositionAndVelocityUsingAcceleration(

 DPSFDefaultBaseParticle cParticle,

 float fElapsedTimeInSeconds

)

Visual Basic

Protected Sub UpdateParticlePositionAndVelocityUsingAcceleration (

 cParticle As DPSFDefaultBaseParticle,

 fElapsedTimeInSeconds As Single

)

Visual C++

protected:

void UpdateParticlePositionAndVelocityUsingAcceleration(

 DPSFDefaultBaseParticlecParticle,

 float fElapsedTimeInSeconds

)

Parameters

cParticle

Type: DPSF..::..DPSFDefaultBaseParticle

The Particle to update

fElapsedTimeInSeconds

Type: System..::..Single

How long it has been since the last update

collapse_allSee Also

DPSFDefaultBaseParticleSystem<(Of <(<'Particle, Vertex>)>)> Class

DPSFDefaultBaseParticleSystem<(Of <(<'Particle, Vertex>)>)> Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com