|
Public Member Functions |
| | vtMaterialDescriptor (const char *name, const vtString &SourceName, const vtMaterialColorEnum Colorable=VT_MATERIAL_SELFCOLOURED_TEXTURE, const float fUVScaleX=-1, const float fUVScaleY=-1, const bool bTwoSided=false, const bool bAmbient=false, const bool bBlended=false, const RGBi &Color=RGBi(0, 0, 0)) |
|
void | SetName (const vtString &Name) |
|
const vtString & | GetName () const |
| void | SetMatType (int type) |
|
int | GetMatType () const |
|
void | SetUVScale (const float fScaleX, const float fScaleY) |
|
FPoint2 | GetUVScale () const |
|
void | SetMaterialIndex (const int Index) |
|
const int | GetMaterialIndex () const |
|
void | SetColorable (const vtMaterialColorEnum Type) |
|
const vtMaterialColorEnum | GetColorable () const |
|
void | SetSourceName (const vtString &SourceName) |
|
const vtString & | GetSourceName () const |
|
void | SetRGB (const RGBi Color) |
|
const RGBi | GetRGB () const |
|
void | SetTwoSided (bool bTwoSided) |
|
const bool | GetTwoSided () |
|
void | SetAmbient (bool bAmbient) |
|
const bool | GetAmbient () |
|
void | SetBlending (bool bBlending) |
|
const bool | GetBlending () |
|
bool | operator== (const vtMaterialDescriptor &rhs) const |
|
bool | operator== (const vtMaterialDescriptor &rhs) |
|
void | WriteToFile (FILE *fp) |