Skylicht Engine
Loading...
Searching...
No Matches
irr::video::S3DVertex2TCoords Struct Reference

Vertex with two texture coordinates. More...

#include <C:/Projects/skylicht-engine/Projects/Irrlicht/Include/S3DVertex.h>

Inheritance diagram for irr::video::S3DVertex2TCoords:
irr::video::S3DVertex irr::video::S3DVertex2TCoordsTangents irr::video::S3DVertexSkin2TCoordsTangents

Public Member Functions

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

Public Attributes

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

Detailed Description

Vertex with two texture coordinates.

Usually used for geometry with lightmaps or other special materials.


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