nvidia::apex::ColorVsLifeModifier Class Reference
ColorVsLifeModifier modifies the color constants associated with a particle depending on the life remaining of the particle. More...
#include <Modifier.h>
Inheritance diagram for nvidia::apex::ColorVsLifeModifier:
Public Member Functions | |
| virtual ColorChannel | getColorChannel () const =0 |
| get the affected color channel | |
| virtual void | setColorChannel (ColorChannel colorChannel)=0 |
| set the affected color channel | |
| virtual const Curve * | getFunction () const =0 |
| get the curve that sets the dependency between the lifetime and the color | |
| virtual void | setFunction (const Curve *f)=0 |
| set the curve that sets the dependency between the lifetime and the color | |
Static Public Attributes | |
| static const ModifierTypeEnum | ModifierType = ModifierType_ColorVsLife |
| ModifierType. | |
| static const uint32_t | ModifierUsage |
| ModifierUsage. | |
Detailed Description
ColorVsLifeModifier modifies the color constants associated with a particle depending on the life remaining of the particle.
Member Function Documentation
| virtual ColorChannel nvidia::apex::ColorVsLifeModifier::getColorChannel | ( | ) | const [pure virtual] |
get the affected color channel
| virtual const Curve* nvidia::apex::ColorVsLifeModifier::getFunction | ( | ) | const [pure virtual] |
get the curve that sets the dependency between the lifetime and the color
| virtual void nvidia::apex::ColorVsLifeModifier::setColorChannel | ( | ColorChannel | colorChannel | ) | [pure virtual] |
set the affected color channel
| virtual void nvidia::apex::ColorVsLifeModifier::setFunction | ( | const Curve * | f | ) | [pure virtual] |
set the curve that sets the dependency between the lifetime and the color
Member Data Documentation
const ModifierTypeEnum nvidia::apex::ColorVsLifeModifier::ModifierType = ModifierType_ColorVsLife [static] |
ModifierType.
const uint32_t nvidia::apex::ColorVsLifeModifier::ModifierUsage [static] |
Initial value:
ModifierUsage.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:59:03
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.