Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
Visual C++
|
..FadeInQuicklyAndFadeOutQuicklyBasedOnLifetime Method
|
|
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
Syntax
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
See Also
DPSFHelper Class
DPSFHelper Members
DPSF Namespace
Send comments on this topic to
|