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

Vertex manipulator to set the alpha value of the vertex color to a fixed value. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexColorSetAlphaManipulator:
irr::scene::IVertexManipulator

Public Member Functions

 SVertexColorSetAlphaManipulator (u32 alpha)
 
void operator() (video::S3DVertex &vertex) const
 

Detailed Description

Vertex manipulator to set the alpha value of the vertex color to a fixed value.

Definition at line 39 of file SVertexManipulator.h.

Constructor & Destructor Documentation

◆ SVertexColorSetAlphaManipulator()

irr::scene::SVertexColorSetAlphaManipulator::SVertexColorSetAlphaManipulator ( u32  alpha)
inline

Definition at line 42 of file SVertexManipulator.h.

42 : Alpha(alpha) {}
GLfloat GLfloat GLfloat alpha

Member Function Documentation

◆ operator()()

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

Definition at line 43 of file SVertexManipulator.h.

44  {
45  vertex.Color.setAlpha(Alpha);
46  }

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