Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SceneGraph::ModelSkin Class Reference

#include <ModelSkin.h>

Inheritance diagram for SceneGraph::ModelSkin:
Inheritance graph
[legend]
Collaboration diagram for SceneGraph::ModelSkin:
Collaboration graph
[legend]

Public Member Functions

 ModelSkin ()
 
void Apply (Model *model) const
 
void SetColors (const std::vector< Color > &colors)
 
void SetPrimaryColor (const Color &color)
 
void SetSecondaryColor (const Color &color)
 
void SetTrimColor (const Color &color)
 
void SetRandomColors (Random &rand)
 
void SetDecal (const std::string &name, unsigned int index=0)
 
void ClearDecal (unsigned int index=0)
 
void ClearDecals ()
 
void SetLabel (const std::string &label)
 
void Load (Serializer::Reader &rd)
 
void LoadFromJson (const Json &jsonObj)
 
void Save (Serializer::Writer &wr) const
 
void SaveToJson (Json &jsonObj) const
 
const std::vector< Color > & GetColors () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Constructor & Destructor Documentation

◆ ModelSkin()

SceneGraph::ModelSkin::ModelSkin ( )

Member Function Documentation

◆ Apply()

void SceneGraph::ModelSkin::Apply ( Model model) const
Here is the call graph for this function:

◆ ClearDecal()

void SceneGraph::ModelSkin::ClearDecal ( unsigned int  index = 0)

◆ ClearDecals()

void SceneGraph::ModelSkin::ClearDecals ( )
Here is the call graph for this function:

◆ GetColors()

const std::vector< Color > & SceneGraph::ModelSkin::GetColors ( ) const
inline

◆ Load()

void SceneGraph::ModelSkin::Load ( Serializer::Reader rd)
Here is the call graph for this function:

◆ LoadFromJson()

void SceneGraph::ModelSkin::LoadFromJson ( const Json jsonObj)

◆ Save()

void SceneGraph::ModelSkin::Save ( Serializer::Writer wr) const
Here is the call graph for this function:

◆ SaveToJson()

void SceneGraph::ModelSkin::SaveToJson ( Json jsonObj) const

◆ SetColors()

void SceneGraph::ModelSkin::SetColors ( const std::vector< Color > &  colors)

◆ SetDecal()

void SceneGraph::ModelSkin::SetDecal ( const std::string &  name,
unsigned int  index = 0 
)

◆ SetLabel()

void SceneGraph::ModelSkin::SetLabel ( const std::string &  label)

◆ SetPrimaryColor()

void SceneGraph::ModelSkin::SetPrimaryColor ( const Color color)

◆ SetRandomColors()

void SceneGraph::ModelSkin::SetRandomColors ( Random rand)

◆ SetSecondaryColor()

void SceneGraph::ModelSkin::SetSecondaryColor ( const Color color)

◆ SetTrimColor()

void SceneGraph::ModelSkin::SetTrimColor ( const Color color)

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