# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CLodCharacterInstance Class Reference

An instance of a lodCharacter (stored in CSkeletonModel). More...

#include <lod_character_instance.h>

List of all members.

Public Methods

 CLodCharacterInstance ()
 ~CLodCharacterInstance ()
const CUV * getUVs () const
 get a ptr on the UVs. More...


Public Attributes

sint ShapeId
 shapeId is the id of the lod character shape to use. No-Op if not found. More...

uint AnimId
 animId is the anim to use for this shape. No-Op if not found. More...

TGlobalAnimationTime AnimTime
 time is the time of animation. More...

bool WrapMode
 wrapMode if true, the anim loop, else just clamp. More...

std::vector< CRGBA > VertexColors
 The precomputed color array must be same size of the shape number vertices, else the whole mesh is supposed to be white. More...


Private Attributes

CLodCharacterManager_Owner
sint _TextureId
std::vector< CUV > _UVs
 The precomputed UVs. Filled by CLodCharacterManager. More...


Friends

class CLodCharacterManager


Detailed Description

An instance of a lodCharacter (stored in CSkeletonModel).

Author:
Lionel Berenguier , Nevrax France
Date:
2002

Definition at line 53 of file lod_character_instance.h.


Constructor & Destructor Documentation

NL3D::CLodCharacterInstance::CLodCharacterInstance   [inline]
 

Definition at line 72 of file lod_character_instance.h.

References _Owner, _TextureId, AnimId, AnimTime, ShapeId, and WrapMode.

NL3D::CLodCharacterInstance::~CLodCharacterInstance  
 

Definition at line 36 of file lod_character_instance.cpp.

References _Owner, _TextureId, and nlassert.


Member Function Documentation

const CUV * NL3D::CLodCharacterInstance::getUVs   const
 

get a ptr on the UVs.

Definition at line 48 of file lod_character_instance.cpp.

References _UVs.


Friends And Related Function Documentation

friend class CLodCharacterManager [friend]
 

Definition at line 89 of file lod_character_instance.h.


Member Data Documentation

CLodCharacterManager* NL3D::CLodCharacterInstance::_Owner [private]
 

Definition at line 92 of file lod_character_instance.h.

Referenced by CLodCharacterInstance, and ~CLodCharacterInstance.

sint NL3D::CLodCharacterInstance::_TextureId [private]
 

Definition at line 94 of file lod_character_instance.h.

Referenced by CLodCharacterInstance, and ~CLodCharacterInstance.

std::vector<CUV> NL3D::CLodCharacterInstance::_UVs [private]
 

The precomputed UVs. Filled by CLodCharacterManager.

Definition at line 96 of file lod_character_instance.h.

Referenced by getUVs.

uint NL3D::CLodCharacterInstance::AnimId
 

animId is the anim to use for this shape. No-Op if not found.

Definition at line 59 of file lod_character_instance.h.

Referenced by CLodCharacterInstance.

TGlobalAnimationTime NL3D::CLodCharacterInstance::AnimTime
 

time is the time of animation.

Definition at line 61 of file lod_character_instance.h.

Referenced by CLodCharacterInstance.

sint NL3D::CLodCharacterInstance::ShapeId
 

shapeId is the id of the lod character shape to use. No-Op if not found.

Definition at line 57 of file lod_character_instance.h.

Referenced by CLodCharacterInstance.

std::vector<CRGBA> NL3D::CLodCharacterInstance::VertexColors
 

The precomputed color array must be same size of the shape number vertices, else the whole mesh is supposed to be white.

see CLodCharacterShape::startBoneColor() for how to build this array

Definition at line 69 of file lod_character_instance.h.

bool NL3D::CLodCharacterInstance::WrapMode
 

wrapMode if true, the anim loop, else just clamp.

Definition at line 63 of file lod_character_instance.h.

Referenced by CLodCharacterInstance.


The documentation for this class was generated from the following files: