# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPSUIntGradient Class Reference

#include <ps_int.h>

Inheritance diagram for NL3D::CPSUIntGradient:

NL3D::CPSValueGradient< uint32 > NL3D::CPSAttribMakerT< uint32, CPSValueGradientFunc< uint32 > > NL3D::CPSAttribMaker< uint32 > NL3D::CPSAttribMakerBase NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 NLMISC_DECLARE_CLASS (CPSUIntGradient)
 CPSUIntGradient (const uint32 *intTab=CPSUIntGradient::_DefaultGradient, uint32 nbValues=2, uint32 nbStages=10, float nbCycles=1.0f)
 Construct the value gradient blender by passing a pointer to a float table. More...

CPSAttribMakerBaseclone () const

Static Public Attributes

uint32 _DefaultGradient [] = { 0, 10 }

Constructor & Destructor Documentation

NL3D::CPSUIntGradient::CPSUIntGradient const uint32   intTab = CPSUIntGradient::_DefaultGradient,
uint32    nbValues = 2,
uint32    nbStages = 10,
float    nbCycles = 1.0f
 

Construct the value gradient blender by passing a pointer to a float table.

Parameters:
nbStages  The result is sampled into a table by linearly interpolating values. This give the number of step between each value
nbCycles  : The nb of time the pattern is repeated during particle life. see ps_attrib_maker.h

Definition at line 46 of file ps_int.cpp.

References NL3D::CPSAttribMakerT< uint32, CPSValueGradientFunc< uint32 > >::_F.

Referenced by clone.


Member Function Documentation

CPSAttribMakerBase* NL3D::CPSUIntGradient::clone void    const [inline, virtual]
 

Implements NL3D::CPSAttribMakerBase.

Definition at line 97 of file ps_int.h.

References CPSUIntGradient.

NL3D::CPSUIntGradient::NLMISC_DECLARE_CLASS CPSUIntGradient   
 


Member Data Documentation

uint32 NL3D::CPSUIntGradient::_DefaultGradient = { 0, 10 } [static]
 

Definition at line 36 of file ps_int.cpp.


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