Saga3D API Documentation  1.0-RC4
saga::scene::S3DVertex Struct Reference

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

#include <S3DVertex.h>

Public Member Functions

 S3DVertex ()
 default constructor More...
 
 S3DVertex (float x, float y, float z)
 
 S3DVertex (const glm::vec3 &Position, const glm::vec3 &normal, glm::vec4 color, const glm::vec2 &TextureCoords)
 
 S3DVertex (const glm::vec3 &Position, const glm::vec3 &normal, glm::vec4 color, const glm::vec2 &TextureCoords, const glm::vec3 &tangent, const glm::vec3 &bitangent)
 
bool operator== (const S3DVertex &other) const
 
bool operator!= (const S3DVertex &other) const
 
bool operator< (const S3DVertex &other) const
 
S3DVertex getInterpolated (const S3DVertex &other, float d)
 

Public Attributes

glm::vec3 Position
 
glm::vec3 Normal
 
glm::vec4 Color
 
glm::vec2 TextureCoords
 
glm::vec3 Tangent
 
glm::vec3 BiTangent
 
glm::vec4 BoneWeights
 
glm::vec4 BoneIDs
 
std::vector< unsigned char > Attributes
 

Detailed Description

standard vertex used by the Irrlicht engine.

Definition at line 15 of file S3DVertex.h.

Constructor & Destructor Documentation

◆ S3DVertex() [1/4]

saga::scene::S3DVertex::S3DVertex ( )
inline

default constructor

Definition at line 18 of file S3DVertex.h.

◆ S3DVertex() [2/4]

saga::scene::S3DVertex::S3DVertex ( float  x,
float  y,
float  z 
)
inline

Definition at line 20 of file S3DVertex.h.

◆ S3DVertex() [3/4]

saga::scene::S3DVertex::S3DVertex ( const glm::vec3 &  Position,
const glm::vec3 &  normal,
glm::vec4  color,
const glm::vec2 &  TextureCoords 
)
inline

Definition at line 23 of file S3DVertex.h.

◆ S3DVertex() [4/4]

saga::scene::S3DVertex::S3DVertex ( const glm::vec3 &  Position,
const glm::vec3 &  normal,
glm::vec4  color,
const glm::vec2 &  TextureCoords,
const glm::vec3 &  tangent,
const glm::vec3 &  bitangent 
)
inline

Definition at line 27 of file S3DVertex.h.

Member Function Documentation

◆ getInterpolated()

S3DVertex saga::scene::S3DVertex::getInterpolated ( const S3DVertex other,
float  d 
)
inline

Definition at line 64 of file S3DVertex.h.

◆ operator!=()

bool saga::scene::S3DVertex::operator!= ( const S3DVertex other) const
inline

Definition at line 48 of file S3DVertex.h.

◆ operator<()

bool saga::scene::S3DVertex::operator< ( const S3DVertex other) const
inline

Definition at line 55 of file S3DVertex.h.

◆ operator==()

bool saga::scene::S3DVertex::operator== ( const S3DVertex other) const
inline

Definition at line 41 of file S3DVertex.h.

Member Data Documentation

◆ Attributes

std::vector<unsigned char> saga::scene::S3DVertex::Attributes

Definition at line 39 of file S3DVertex.h.

◆ BiTangent

glm::vec3 saga::scene::S3DVertex::BiTangent

Definition at line 36 of file S3DVertex.h.

◆ BoneIDs

glm::vec4 saga::scene::S3DVertex::BoneIDs

Definition at line 38 of file S3DVertex.h.

◆ BoneWeights

glm::vec4 saga::scene::S3DVertex::BoneWeights

Definition at line 37 of file S3DVertex.h.

◆ Color

glm::vec4 saga::scene::S3DVertex::Color

Definition at line 33 of file S3DVertex.h.

◆ Normal

glm::vec3 saga::scene::S3DVertex::Normal

Definition at line 32 of file S3DVertex.h.

◆ Position

glm::vec3 saga::scene::S3DVertex::Position

Definition at line 31 of file S3DVertex.h.

◆ Tangent

glm::vec3 saga::scene::S3DVertex::Tangent

Definition at line 35 of file S3DVertex.h.

◆ TextureCoords

glm::vec2 saga::scene::S3DVertex::TextureCoords

Definition at line 34 of file S3DVertex.h.


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