Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Vertex manipulator to set vertex color to one of two values depending on a given threshold. More...
#include <SVertexManipulator.h>
Public Member Functions | |
void | operator() (video::S3DVertex &vertex) const |
SVertexColorThresholdManipulator (u8 threshold, video::SColor low, video::SColor high) |
Vertex manipulator to set vertex color to one of two values depending on a given threshold.
If average of the color value is >Threshold the High color is chosen, else Low.
Definition at line 63 of file SVertexManipulator.h.
|
inline |
Definition at line 66 of file SVertexManipulator.h.
|
inline |
Definition at line 68 of file SVertexManipulator.h.
References irr::video::S3DVertex::Color, and irr::video::SColor::getAverage().
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Mon May 6 2013 07:46:20 by Doxygen
(1.8.1.2) |