Irrlicht 3D Engine
irr::video::S3DVertex2TCoords Struct Reference

Vertex with two texture coordinates. More...

#include <S3DVertex.h>

+ Inheritance diagram for irr::video::S3DVertex2TCoords:

Public Member Functions

 S3DVertex2TCoords ()
 default constructor More...
 
 S3DVertex2TCoords (f32 x, f32 y, f32 z, SColor c, f32 tu, f32 tv, f32 tu2, f32 tv2)
 constructor with two different texture coords, but no normal More...
 
 S3DVertex2TCoords (const core::vector3df &pos, SColor color, const core::vector2d< f32 > &tcoords, const core::vector2d< f32 > &tcoords2)
 constructor with two different texture coords, but no normal More...
 
 S3DVertex2TCoords (const core::vector3df &pos, const core::vector3df &normal, const SColor &color, const core::vector2d< f32 > &tcoords, const core::vector2d< f32 > &tcoords2)
 constructor with all values More...
 
 S3DVertex2TCoords (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv, f32 tu2, f32 tv2)
 constructor with all values More...
 
 S3DVertex2TCoords (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv)
 constructor with the same texture coords and normal More...
 
 S3DVertex2TCoords (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords)
 constructor with the same texture coords and normal More...
 
 S3DVertex2TCoords (S3DVertex &o)
 constructor from S3DVertex More...
 
S3DVertex2TCoords getInterpolated (const S3DVertex2TCoords &other, f32 d)
 
E_VERTEX_TYPE getType () const
 
bool operator!= (const S3DVertex2TCoords &other) const
 Inequality operator. More...
 
bool operator< (const S3DVertex2TCoords &other) const
 
bool operator== (const S3DVertex2TCoords &other) const
 Equality operator. More...
 
- Public Member Functions inherited from irr::video::S3DVertex
 S3DVertex ()
 default constructor More...
 
 S3DVertex (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv)
 constructor More...
 
 S3DVertex (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords)
 constructor More...
 
S3DVertex getInterpolated (const S3DVertex &other, f32 d)
 
E_VERTEX_TYPE getType () const
 
bool operator!= (const S3DVertex &other) const
 
bool operator< (const S3DVertex &other) const
 
bool operator== (const S3DVertex &other) const
 

Public Attributes

core::vector2d< f32TCoords2
 Second set of texture coordinates. More...
 
- Public Attributes inherited from irr::video::S3DVertex
SColor Color
 Color. More...
 
core::vector3df Normal
 Normal vector. More...
 
core::vector3df Pos
 Position. More...
 
core::vector2d< f32TCoords
 Texture coordinates. More...
 

Detailed Description

Vertex with two texture coordinates.

Usually used for geometry with lightmaps or other special materials.

Definition at line 111 of file S3DVertex.h.

Constructor & Destructor Documentation

◆ S3DVertex2TCoords() [1/8]

irr::video::S3DVertex2TCoords::S3DVertex2TCoords ( )
inline

default constructor

Definition at line 114 of file S3DVertex.h.

Referenced by getInterpolated().

◆ S3DVertex2TCoords() [2/8]

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 117 of file S3DVertex.h.

◆ S3DVertex2TCoords() [3/8]

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 121 of file S3DVertex.h.

◆ S3DVertex2TCoords() [4/8]

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 126 of file S3DVertex.h.

◆ S3DVertex2TCoords() [5/8]

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 131 of file S3DVertex.h.

◆ S3DVertex2TCoords() [6/8]

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 135 of file S3DVertex.h.

◆ S3DVertex2TCoords() [7/8]

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 139 of file S3DVertex.h.

◆ S3DVertex2TCoords() [8/8]

irr::video::S3DVertex2TCoords::S3DVertex2TCoords ( S3DVertex o)
inline

constructor from S3DVertex

Definition at line 144 of file S3DVertex.h.

Member Function Documentation

◆ getInterpolated()

◆ getType()

E_VERTEX_TYPE irr::video::S3DVertex2TCoords::getType ( ) const
inline

Definition at line 169 of file S3DVertex.h.

References irr::video::EVT_2TCOORDS.

◆ operator!=()

bool irr::video::S3DVertex2TCoords::operator!= ( const S3DVertex2TCoords other) const
inline

Inequality operator.

Definition at line 157 of file S3DVertex.h.

References TCoords2.

◆ operator<()

bool irr::video::S3DVertex2TCoords::operator< ( const S3DVertex2TCoords other) const
inline

Definition at line 163 of file S3DVertex.h.

References TCoords2.

◆ operator==()

bool irr::video::S3DVertex2TCoords::operator== ( const S3DVertex2TCoords other) const
inline

Equality operator.

Definition at line 150 of file S3DVertex.h.

References TCoords2.

Member Data Documentation

◆ TCoords2

core::vector2d<f32> irr::video::S3DVertex2TCoords::TCoords2

Second set of texture coordinates.

Definition at line 147 of file S3DVertex.h.

Referenced by getInterpolated(), operator!=(), irr::scene::SVertexTCoordsScaleManipulator::operator()(), operator<(), and operator==().


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