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

DPSFDefaultSpriteParticleSystem
<
(Of
<
(<'Particle, Vertex>)>)>..::..UpdateParticleDepthFromFrontToBackUsingLerp Method
gradient

Linearly interpolate the Particle's Position.Z value from 0.0 (front) to 1.0 (back) according to the Particle's Normalized Lifetime

Namespace: DPSF

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

collapse_allSyntax

C#

protected void UpdateParticleDepthFromFrontToBackUsingLerp(

 DefaultSpriteParticle cParticle,

 float fElapsedTimeInSeconds

)

Visual Basic

Protected Sub UpdateParticleDepthFromFrontToBackUsingLerp (

 cParticle As DefaultSpriteParticle,

 fElapsedTimeInSeconds As Single

)

Visual C++

protected:

void UpdateParticleDepthFromFrontToBackUsingLerp(

 DefaultSpriteParticlecParticle,

 float fElapsedTimeInSeconds

)

Parameters

cParticle

Type: DPSF..::..DefaultSpriteParticle

The Particle to update

fElapsedTimeInSeconds

Type: System..::..Single

How long it has been since the last update

collapse_allSee Also

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

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

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com