Vertex manipulator which adjusts the brightness by the given amount. More...
#include <SVertexManipulator.h>
Public Member Functions | |
SVertexColorBrightnessManipulator (s32 amount) | |
void | operator() (video::S3DVertex &vertex) const |
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.
|
inline |
Definition at line 82 of file SVertexManipulator.h.
|
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().