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

Vertex manipulator to set color to a fixed color for all vertices. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexColorSetManipulator:
irr::scene::IVertexManipulator

Public Member Functions

 SVertexColorSetManipulator (video::SColor color)
 
void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator to set color to a fixed color for all vertices.

Definition at line 27 of file SVertexManipulator.h.

Constructor & Destructor Documentation

◆ SVertexColorSetManipulator()

irr::scene::SVertexColorSetManipulator::SVertexColorSetManipulator ( video::SColor  color)
inline

Definition at line 30 of file SVertexManipulator.h.

30 : Color(color) {}
GLuint color

Member Function Documentation

◆ operator()()

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

Definition at line 31 of file SVertexManipulator.h.

32  {
33  vertex.Color=Color;
34  }

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