Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
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
 
 S3DVertex (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords)
 constructor
 
 S3DVertex (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv)
 constructor
 
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.
 
core::vector3df Normal
 Normal vector.
 
core::vector3df Pos
 Position.
 
core::vector2d< f32TCoords
 Texture coordinates.
 

Detailed Description

standard vertex used by the Irrlicht engine.

Definition at line 42 of file S3DVertex.h.

Constructor & Destructor Documentation

◆ S3DVertex() [1/3]

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

default constructor

Definition at line 45 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 48 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 52 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 88 of file S3DVertex.h.

References irr::video::EVT_STANDARD.

◆ operator!=()

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

Definition at line 74 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

◆ operator<()

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

Definition at line 80 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

◆ operator==()

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

Definition at line 68 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: