Public Member Functions | Static Public Attributes
nvidia::apex::ColorVsVelocityModifier Class Reference

ColorVsVelocityModifier modifies the color constants associated with a particle depending on the velocity of the particle. More...

#include <Modifier.h>

Inheritance diagram for nvidia::apex::ColorVsVelocityModifier:

List of all members.

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
virtual float getVelocity0 () const =0
 get velocity0
virtual void setVelocity0 (float value)=0
 set velocity0
virtual float getVelocity1 () const =0
 get velocity1
virtual void setVelocity1 (float value)=0
 set velocity1

Static Public Attributes

static const ModifierTypeEnum ModifierType = ModifierType_ColorVsVelocity
 ModifierType.
static const uint32_t ModifierUsage
 ModifierUsage.

Detailed Description

ColorVsVelocityModifier modifies the color constants associated with a particle depending on the velocity of the particle.


Member Function Documentation

virtual ColorChannel nvidia::apex::ColorVsVelocityModifier::getColorChannel ( ) const [pure virtual]

get the affected color channel

virtual const Curve* nvidia::apex::ColorVsVelocityModifier::getFunction ( ) const [pure virtual]

get the curve that sets the dependency between the lifetime and the color

virtual float nvidia::apex::ColorVsVelocityModifier::getVelocity0 ( ) const [pure virtual]

get velocity0

virtual float nvidia::apex::ColorVsVelocityModifier::getVelocity1 ( ) const [pure virtual]

get velocity1

virtual void nvidia::apex::ColorVsVelocityModifier::setColorChannel ( ColorChannel  colorChannel) [pure virtual]

set the affected color channel

virtual void nvidia::apex::ColorVsVelocityModifier::setFunction ( const Curve *  f) [pure virtual]

set the curve that sets the dependency between the lifetime and the color

virtual void nvidia::apex::ColorVsVelocityModifier::setVelocity0 ( float  value) [pure virtual]

set velocity0

virtual void nvidia::apex::ColorVsVelocityModifier::setVelocity1 ( float  value) [pure virtual]

set velocity1


Member Data Documentation

const ModifierTypeEnum nvidia::apex::ColorVsVelocityModifier::ModifierType = ModifierType_ColorVsVelocity [static]

ModifierType.


The documentation for this class was generated from the following file:

Generated on Tue Aug 1 2017 22:44:30

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.