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

Vertex manipulator which scales the TCoords of the vertex. More...

#include <SVertexManipulator.h>

Inheritance diagram for irr::scene::SVertexTCoordsScaleManipulator:
irr::scene::IVertexManipulator

Public Member Functions

 SVertexTCoordsScaleManipulator (const core::vector2df &factor, u32 uvSet=1)
 
void operator() (video::S3DVertex2TCoords &vertex) const
 
template<typename VType >
void operator() (VType &vertex) const
 

Detailed Description

Vertex manipulator which scales the TCoords of the vertex.

Definition at line 280 of file SVertexManipulator.h.

Constructor & Destructor Documentation

◆ SVertexTCoordsScaleManipulator()

irr::scene::SVertexTCoordsScaleManipulator::SVertexTCoordsScaleManipulator ( const core::vector2df factor,
u32  uvSet = 1 
)
inline

Definition at line 283 of file SVertexManipulator.h.

283 : Factor(factor), UVSet(uvSet) {}

Member Function Documentation

◆ operator()() [1/2]

void irr::scene::SVertexTCoordsScaleManipulator::operator() ( video::S3DVertex2TCoords vertex) const
inline

Definition at line 284 of file SVertexManipulator.h.

285  {
286  if (1==UVSet)
287  vertex.TCoords *= Factor;
288  else if (2==UVSet)
289  vertex.TCoords2 *= Factor;
290  }

◆ operator()() [2/2]

template<typename VType >
void irr::scene::SVertexTCoordsScaleManipulator::operator() ( VType &  vertex) const
inline

Definition at line 292 of file SVertexManipulator.h.

293  {
294  if (1==UVSet)
295  vertex.TCoords *= Factor;
296  }

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