Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
DPSFDefaultBaseParticleSystem
(<'Particle, Vertex>)>)>..::..UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut Method
|
|
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
Syntax
C#
|
protected void UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut(
DPSFDefaultBaseParticle cParticle,
float fElapsedTimeInSeconds
)
|
Visual Basic
|
Protected Sub UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut (
cParticle As DPSFDefaultBaseParticle,
fElapsedTimeInSeconds As Single
)
|
Visual C++
|
protected:
void UpdateParticleTransparencyWithQuickFadeInAndSlowFadeOut(
DPSFDefaultBaseParticle^ cParticle,
float fElapsedTimeInSeconds
)
|
Parameters
cParticle
Type: DPSF..::..DPSFDefaultBaseParticle
The Particle to update
fElapsedTimeInSeconds
Type: System..::..Single
How long it has been since the last update
See Also
DPSFDefaultBaseParticleSystem<(Of <(<'Particle, Vertex>)>)> Class
DPSFDefaultBaseParticleSystem<(Of <(<'Particle, Vertex>)>)> Members
DPSF Namespace

Send comments on this topic to
|