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

Quickly fades the particle in when born and slowly fades it out as it gets closer to death.

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 UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut(

 DPSFDefaultBaseParticle cParticle,

 float fElapsedTimeInSeconds

)

Visual Basic

Protected Sub UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut (

 cParticle As DPSFDefaultBaseParticle,

 fElapsedTimeInSeconds As Single

)

Visual C++

protected:

void UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut(

 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