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

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

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexColorInterpolateLinearManipulator:
irr::scene::IVertexManipulator

Public Member Functions

 SVertexColorInterpolateLinearManipulator (video::SColor color, f32 factor)
 
void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator which interpolates the color values.

Uses linear interpolation.

Definition at line 190 of file SVertexManipulator.h.

Constructor & Destructor Documentation

◆ SVertexColorInterpolateLinearManipulator()

irr::scene::SVertexColorInterpolateLinearManipulator::SVertexColorInterpolateLinearManipulator ( video::SColor  color,
f32  factor 
)
inline

Definition at line 193 of file SVertexManipulator.h.

193  :
194  Color(color), Factor(factor) {}
GLuint color

Member Function Documentation

◆ operator()()

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

Definition at line 195 of file SVertexManipulator.h.

196  {
197  vertex.Color=vertex.Color.getInterpolated(Color, Factor);
198  }

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