#include <spAnimationBaseStructures.hpp>
Public Member Functions | |
SVertexGroup () | |
SVertexGroup (scene::Mesh *BaseMesh, u32 SurfaceIndex, u32 VertexIndex, f32 VertexWeight=1.0f) | |
SVertexGroup (scene::Mesh *BaseMesh, u32 SurfaceIndex, u32 VertexIndex, u8 TangentTexLayer, u8 BinormalTexLayer, f32 VertexWeight=1.0f) | |
~SVertexGroup () | |
void | setupVertex (scene::Mesh *BaseMesh) |
void | setupVertex (scene::Mesh *BaseMesh, u8 TangentTexLayer, u8 BinormalTexLayer) |
Public Attributes | |
u32 | Surface |
Mesh buffer index. | |
u32 | Index |
Vertex index. | |
f32 | Weight |
Vertex weight factor. | |
dim::vector3df | Position |
Original vertex position. | |
dim::vector3df | Normal |
Original vertex normal. | |
dim::vector3df | Tangent |
Original vertex tangent. | |
dim::vector3df | Binormal |
Original vertex binormal. |
Describes how a vertex will be influenved by an animation joint.
sp::scene::SVertexGroup::SVertexGroup | ( | ) |
sp::scene::SVertexGroup::SVertexGroup | ( | scene::Mesh * | BaseMesh, | |
u32 | SurfaceIndex, | |||
u32 | VertexIndex, | |||
f32 | VertexWeight = 1.0f | |||
) |
sp::scene::SVertexGroup::SVertexGroup | ( | scene::Mesh * | BaseMesh, | |
u32 | SurfaceIndex, | |||
u32 | VertexIndex, | |||
u8 | TangentTexLayer, | |||
u8 | BinormalTexLayer, | |||
f32 | VertexWeight = 1.0f | |||
) |
sp::scene::SVertexGroup::~SVertexGroup | ( | ) |
void sp::scene::SVertexGroup::setupVertex | ( | scene::Mesh * | BaseMesh | ) |
void sp::scene::SVertexGroup::setupVertex | ( | scene::Mesh * | BaseMesh, | |
u8 | TangentTexLayer, | |||
u8 | BinormalTexLayer | |||
) |
Original vertex binormal.
Vertex index.
Original vertex normal.
Original vertex position.
Mesh buffer index.
Original vertex tangent.
Vertex weight factor.