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

This is a float gradient class. More...

#include <ps_float.h>

Inheritance diagram for NL3D::CPSFloatGradient:

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

Public Methods

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

CPSAttribMakerBaseclone () const

Static Public Attributes

float _DefaultGradient [] = { 0.1f, 1.0f }

Detailed Description

This is a float gradient class.

Definition at line 59 of file ps_float.h.


Constructor & Destructor Documentation

NL3D::CPSFloatGradient::CPSFloatGradient const float *    floatTab = CPSFloatGradient::_DefaultGradient,
uint32    nbValues = 2,
uint32    nbStages = 16,
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 45 of file ps_float.cpp.

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

Referenced by clone.


Member Function Documentation

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

Implements NL3D::CPSAttribMakerBase.

Definition at line 75 of file ps_float.h.

References CPSFloatGradient.

NL3D::CPSFloatGradient::NLMISC_DECLARE_CLASS CPSFloatGradient   
 


Member Data Documentation

float NL3D::CPSFloatGradient::_DefaultGradient = { 0.1f, 1.0f } [static]
 

Definition at line 38 of file ps_float.cpp.


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