# 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::CPSIntGradient Class Reference

This is a int gradient class. More...

#include <ps_int.h>

Inheritance diagram for NL3D::CPSIntGradient:

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

Public Methods

 NLMISC_DECLARE_CLASS (CPSIntGradient)
 CPSIntGradient (const sint32 *intTab=CPSIntGradient::_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

sint32 _DefaultGradient [] = { 0, 10 }

Detailed Description

This is a int gradient class.

Definition at line 67 of file ps_int.h.


Constructor & Destructor Documentation

NL3D::CPSIntGradient::CPSIntGradient const sint32   intTab = CPSIntGradient::_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 39 of file ps_int.cpp.

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

Referenced by clone.


Member Function Documentation

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

Implements NL3D::CPSAttribMakerBase.

Definition at line 80 of file ps_int.h.

References CPSIntGradient.

NL3D::CPSIntGradient::NLMISC_DECLARE_CLASS CPSIntGradient   
 


Member Data Documentation

sint32 NL3D::CPSIntGradient::_DefaultGradient = { 0, 10 } [static]
 

Definition at line 35 of file ps_int.cpp.


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