Public Member Functions | Public Attributes

sp::scene::SVertexGroup Struct Reference

#include <spAnimationBaseStructures.hpp>

List of all members.

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.

Detailed Description

Describes how a vertex will be influenved by an animation joint.

See also:
AnimationJoint
Since:
Version 3.2

Constructor & Destructor Documentation

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 (  ) 

Member Function Documentation

void sp::scene::SVertexGroup::setupVertex ( scene::Mesh BaseMesh  ) 
void sp::scene::SVertexGroup::setupVertex ( scene::Mesh BaseMesh,
u8  TangentTexLayer,
u8  BinormalTexLayer 
)

Member Data Documentation

Original vertex binormal.

Vertex index.

Original vertex normal.

Original vertex position.

Mesh buffer index.

Original vertex tangent.

Vertex weight factor.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines