Characters::CharacterSkinSet Class Reference
#include <characterskinset.h>
Detailed Description
A skin set contains the currently visible skin instances of a character instance.(C) 2008 Radon Labs GmbH
Public Member Functions | |
CharacterSkinSet () | |
constructor | |
~CharacterSkinSet () | |
destructor | |
void | Setup (const CharacterSkinLibrary &skinLib, const Ptr< Models::ModelInstance > &modelInst) |
setup the skin set | |
void | Discard () |
discard the skin set | |
bool | IsValid () const |
return true if skin set has been setup | |
void | AddSkin (const Util::StringAtom &skinName) |
add a skin to the skin set | |
void | RemoveSkin (const Util::StringAtom &skinName) |
remove a skin from the skin set | |
void | ToggleSkin (const Util::StringAtom &skinName) |
toggle skin visibility | |
void | Clear () |
clear all skins | |
void | ApplySkinList (const Util::StringAtom &skinListName) |
apply a skin list (clear visible skins, and make skins in the skin list visible) | |
bool | HasSkin (const Util::StringAtom &skinName) const |
return true if the skin set contains a skin | |
SizeT | GetNumSkins () const |
get number of skins in the skin set | |
const Util::StringAtom & | GetSkin (IndexT index) const |
get skin name by index | |
const Ptr< Models::ModelNodeInstance > & | GetSkinNodeInstanceByIndex (IndexT index) const |
get model node instance of skin by index | |
const Ptr< Models::ModelNodeInstance > & | GetSkinNodeInstanceByName (const Util::StringAtom &name) const |
get model node instace of skin by name |