Vertex with two texture coordinates. More...
#include <S3DVertex.h>
Vertex with two texture coordinates.
Usually used for geometry with lightmaps or other special materials.
Definition at line 108 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | ) | [inline] |
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | f32 | x, |
f32 | y, | ||
f32 | z, | ||
SColor | c, | ||
f32 | tu, | ||
f32 | tv, | ||
f32 | tu2, | ||
f32 | tv2 | ||
) | [inline] |
constructor with two different texture coords, but no normal
Definition at line 114 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | const core::vector3df & | pos, |
SColor | color, | ||
const core::vector2d< f32 > & | tcoords, | ||
const core::vector2d< f32 > & | tcoords2 | ||
) | [inline] |
constructor with two different texture coords, but no normal
Definition at line 118 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | const core::vector3df & | pos, |
const core::vector3df & | normal, | ||
const SColor & | color, | ||
const core::vector2d< f32 > & | tcoords, | ||
const core::vector2d< f32 > & | tcoords2 | ||
) | [inline] |
constructor with all values
Definition at line 123 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | f32 | x, |
f32 | y, | ||
f32 | z, | ||
f32 | nx, | ||
f32 | ny, | ||
f32 | nz, | ||
SColor | c, | ||
f32 | tu, | ||
f32 | tv, | ||
f32 | tu2, | ||
f32 | tv2 | ||
) | [inline] |
constructor with all values
Definition at line 128 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | f32 | x, |
f32 | y, | ||
f32 | z, | ||
f32 | nx, | ||
f32 | ny, | ||
f32 | nz, | ||
SColor | c, | ||
f32 | tu, | ||
f32 | tv | ||
) | [inline] |
constructor with the same texture coords and normal
Definition at line 132 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | const core::vector3df & | pos, |
const core::vector3df & | normal, | ||
SColor | color, | ||
const core::vector2d< f32 > & | tcoords | ||
) | [inline] |
constructor with the same texture coords and normal
Definition at line 136 of file S3DVertex.h.
irr::video::S3DVertex2TCoords::S3DVertex2TCoords | ( | S3DVertex & | o | ) | [inline] |
constructor from S3DVertex
Definition at line 141 of file S3DVertex.h.
S3DVertex2TCoords irr::video::S3DVertex2TCoords::getInterpolated | ( | const S3DVertex2TCoords & | other, |
f32 | d | ||
) | [inline] |
Definition at line 171 of file S3DVertex.h.
References irr::core::clamp(), irr::video::S3DVertex::Color, irr::core::vector3d< T >::getInterpolated(), irr::core::vector2d< T >::getInterpolated(), irr::video::SColor::getInterpolated(), irr::video::S3DVertex::Normal, irr::video::S3DVertex::Pos, S3DVertex2TCoords(), irr::video::S3DVertex::TCoords, and TCoords2.
E_VERTEX_TYPE irr::video::S3DVertex2TCoords::getType | ( | ) | const [inline] |
Reimplemented from irr::video::S3DVertex.
Definition at line 166 of file S3DVertex.h.
References irr::video::EVT_2TCOORDS.
bool irr::video::S3DVertex2TCoords::operator!= | ( | const S3DVertex2TCoords & | other | ) | const [inline] |
bool irr::video::S3DVertex2TCoords::operator< | ( | const S3DVertex2TCoords & | other | ) | const [inline] |
Definition at line 160 of file S3DVertex.h.
References TCoords2.
bool irr::video::S3DVertex2TCoords::operator== | ( | const S3DVertex2TCoords & | other | ) | const [inline] |
Second set of texture coordinates.
Definition at line 144 of file S3DVertex.h.
Referenced by getInterpolated(), operator!=(), irr::scene::SVertexTCoordsScaleManipulator::operator()(), operator<(), and operator==().