Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Vertex manipulator which adjusts the brightness by the given amount. More...
#include <SVertexManipulator.h>
Public Member Functions | |
void | operator() (video::S3DVertex &vertex) const |
SVertexColorBrightnessManipulator (s32 amount) |
Vertex manipulator which adjusts the brightness by the given amount.
A positive value increases brightness, a negative value darkens the colors.
Definition at line 79 of file SVertexManipulator.h.
irr::scene::SVertexColorBrightnessManipulator::SVertexColorBrightnessManipulator | ( | s32 | amount | ) | [inline] |
Definition at line 82 of file SVertexManipulator.h.
void irr::scene::SVertexColorBrightnessManipulator::operator() | ( | video::S3DVertex & | vertex | ) | const [inline] |
Definition at line 83 of file SVertexManipulator.h.
References irr::core::clamp(), irr::video::S3DVertex::Color, irr::video::SColor::getBlue(), irr::video::SColor::getGreen(), irr::video::SColor::getRed(), irr::video::SColor::setBlue(), irr::video::SColor::setGreen(), and irr::video::SColor::setRed().
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Fri Jun 8 2012 15:46:47 by Doxygen
(1.7.6.1) |