arsa  2.7
Public Member Functions | List of all members
irr::scene::SVertexColorDesaturateToAverageManipulator Class Reference

Vertex manipulator which desaturates the color values. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexColorDesaturateToAverageManipulator:
irr::scene::IVertexManipulator

Public Member Functions

void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator which desaturates the color values.

Uses the average value of the color.

Definition at line 170 of file SVertexManipulator.h.

Member Function Documentation

◆ operator()()

void irr::scene::SVertexColorDesaturateToAverageManipulator::operator() ( video::S3DVertex vertex) const
inline

Definition at line 173 of file SVertexManipulator.h.

174  {
175  vertex.Color=vertex.Color.getAverage();
176  }

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