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

standard vertex used by the Irrlicht engine. More...

#include <S3DVertex.h>

+ Inheritance diagram for irr::video::S3DVertex:

Public Member Functions

 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

SColor Color
 Color. More...
 
core::vector3df Normal
 Normal vector. More...
 
core::vector3df Pos
 Position. More...
 
core::vector2d< f32TCoords
 Texture coordinates. More...
 

Detailed Description

standard vertex used by the Irrlicht engine.

Definition at line 44 of file S3DVertex.h.

Constructor & Destructor Documentation

◆ S3DVertex() [1/3]

irr::video::S3DVertex::S3DVertex ( )
inline

default constructor

Definition at line 47 of file S3DVertex.h.

Referenced by getInterpolated().

◆ S3DVertex() [2/3]

irr::video::S3DVertex::S3DVertex ( f32  x,
f32  y,
f32  z,
f32  nx,
f32  ny,
f32  nz,
SColor  c,
f32  tu,
f32  tv 
)
inline

constructor

Definition at line 50 of file S3DVertex.h.

◆ S3DVertex() [3/3]

irr::video::S3DVertex::S3DVertex ( const core::vector3df pos,
const core::vector3df normal,
SColor  color,
const core::vector2d< f32 > &  tcoords 
)
inline

constructor

Definition at line 54 of file S3DVertex.h.

Member Function Documentation

◆ getInterpolated()

S3DVertex irr::video::S3DVertex::getInterpolated ( const S3DVertex other,
f32  d 
)
inline

◆ getType()

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

Definition at line 90 of file S3DVertex.h.

References irr::video::EVT_STANDARD.

◆ operator!=()

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

Definition at line 76 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

◆ operator<()

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

Definition at line 82 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

◆ operator==()

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

Definition at line 70 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

Member Data Documentation

◆ Color

◆ Normal

◆ Pos

◆ TCoords


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