ColorVsLifeModifier modifies the color constants associated with a particle depending on the life remaining of the particle. More...
#include <Modifier.h>
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. |
ColorVsLifeModifier modifies the color constants associated with a particle depending on the life remaining of the particle.
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
const ModifierTypeEnum nvidia::apex::ColorVsLifeModifier::ModifierType = ModifierType_ColorVsLife [static] |
ModifierType.
const uint32_t nvidia::apex::ColorVsLifeModifier::ModifierUsage [static] |
ModifierUsage.