|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CLodCharacterBuilder Class ReferenceA tool class used to build a CLodCharacterShape Use it by first calling setShape(), then add animations to it, and finally get result with getLodShape.
More...
#include <lod_character_builder.h>
List of all members.
Detailed Description
A tool class used to build a CLodCharacterShape Use it by first calling setShape(), then add animations to it, and finally get result with getLodShape.
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2002
Definition at line 49 of file lod_character_builder.h.
Constructor & Destructor Documentation
NL3D::CLodCharacterBuilder::CLodCharacterBuilder |
( |
|
) |
|
|
NL3D::CLodCharacterBuilder::~CLodCharacterBuilder |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CLodCharacterBuilder::addAnim |
( |
const char * |
animName, |
|
|
CAnimation * |
animation, |
|
|
float |
frameRate |
|
) |
|
|
void NL3D::CLodCharacterBuilder::applySkin |
( |
CSkeletonModel * |
skeleton, |
|
|
CVector * |
dstVertices |
|
) |
[private] |
|
|
init process with the Mesh and the SkeletonShape to use.
NB: nlWarnings may occurs if don't find bones used by lodBuild, in the skeletonShape. In this case, root bone 0 of the skeleton shape is used. -
Parameters:
-
name |
is the name to give to the shape |
skeletonShape |
the skeleton used for animation. Ptr is handled by the builder as a smartPtr. |
lodBuild |
the mesh information. Ptr is hold by the builder, but not deleted |
Definition at line 64 of file lod_character_builder.cpp.
References _BoneRemap, _LodBuild, _LodCharacterShape, _SkeletonShape, _TmpScene, nlassert, and nlwarning. |
Member Data Documentation
std::vector<uint> NL3D::CLodCharacterBuilder::_BoneRemap [private]
|
|
CScene* NL3D::CLodCharacterBuilder::_TmpScene [private]
|
|
The documentation for this class was generated from the following files:
|
|