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

Vertex with a tangent and binormal vector. More...

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

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

Public Member Functions

 S3DVertexTangents ()
 default constructor
 S3DVertexTangents (f32 x, f32 y, f32 z, f32 nx=0.0f, f32 ny=0.0f, f32 nz=0.0f, SColor c=0xFFFFFFFF, f32 tu=0.0f, f32 tv=0.0f, f32 tanx=0.0f, f32 tany=0.0f, f32 tanz=0.0f, f32 bx=0.0f, f32 by=0.0f, f32 bz=0.0f)
 constructor
 S3DVertexTangents (const core::vector3df &pos, SColor c, const core::vector2df &tcoords)
 constructor
 S3DVertexTangents (const core::vector3df &pos, const core::vector3df &normal, SColor c, const core::vector2df &tcoords, const core::vector3df &tangent=core::vector3df(), const core::vector3df &binormal=core::vector3df())
 constructor
bool operator== (const S3DVertexTangents &other) const
bool operator!= (const S3DVertexTangents &other) const
bool operator< (const S3DVertexTangents &other) const
E_VERTEX_TYPE getType () const
S3DVertexTangents getInterpolated (const S3DVertexTangents &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::vector3df Tangent
 Tangent vector along the x-axis of the texture.
core::vector3df Binormal
 Binormal vector (tangent x normal).
core::vector2df VertexData
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 a tangent and binormal vector.

Usually used for tangent space normal mapping.

Member Data Documentation

◆ VertexData

core::vector2df irr::video::S3DVertexTangents::VertexData

VertexData x: flip normal vector y: blendshape vertex id


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