Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
Public Member Functions | Public Attributes | List of all members
irr::video::S3DVertex Struct Reference

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

#include <S3DVertex.h>

Inheritance diagram for irr::video::S3DVertex:
irr::video::S3DVertex2TCoords irr::video::S3DVertexTangents

Public Member Functions

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
 
 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...
 

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

Constructor & Destructor Documentation

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

default constructor

Definition at line 45 of file S3DVertex.h.

Referenced by getInterpolated().

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.

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

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

Definition at line 88 of file S3DVertex.h.

References irr::video::EVT_STANDARD.

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

Definition at line 74 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

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

Definition at line 80 of file S3DVertex.h.

References Color, Normal, Pos, and TCoords.

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

SColor irr::video::S3DVertex::Color
core::vector3df irr::video::S3DVertex::Normal
core::vector3df irr::video::S3DVertex::Pos
core::vector2d<f32> irr::video::S3DVertex::TCoords

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

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated by Doxygen (1.8.9.1)