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>)>)>..::..UpdateParticleTransparencyToFadeInUsingLerp Method
gradient

Linearly interpolates the Particle's Transparency to fade in based on the Particle's Normalized Elapsed Time.

If you are also updating the Particle Color using an EveryTime Event, be sure to set the ExecutionOrder of the event calling this function to be greater than that one, so that this function is called AFTER the color update function.

Namespace: DPSF

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

collapse_allSyntax

C#

protected void UpdateParticleTransparencyToFadeInUsingLerp(

 DPSFDefaultBaseParticle cParticle,

 float fElapsedTimeInSeconds

)

Visual Basic

Protected Sub UpdateParticleTransparencyToFadeInUsingLerp (

 cParticle As DPSFDefaultBaseParticle,

 fElapsedTimeInSeconds As Single

)

Visual C++

protected:

void UpdateParticleTransparencyToFadeInUsingLerp(

 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