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
DPSFHelper
.
.
::
..FadeInQuicklyAndFadeOutQuicklyBasedOnLifetime Method
gradient

Returns how transparent a Particle should be, based on it's Normalized Elapsed Time, so that it fades in quickly and fades out quickly.

Namespace: DPSF

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

collapse_allSyntax

C#

public static byte FadeInQuicklyAndFadeOutQuicklyBasedOnLifetime(

 float fNormalizedElapsedTime

)

Visual Basic

Public Shared Function FadeInQuicklyAndFadeOutQuicklyBasedOnLifetime (

 fNormalizedElapsedTime As Single

As Byte

Visual C++

public:

static unsigned char FadeInQuicklyAndFadeOutQuicklyBasedOnLifetime(

 float fNormalizedElapsedTime

)

Parameters

fNormalizedElapsedTime

Type: System..::..Single

The current Normalized Elapsed Time (0.0 - 1.0) of a Particle

Return Value

Type: Byte

Returns the Alpha Color component that should be used for the Particle

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com