#include <genmesh.h>
Inheritance diagram for iGeneralMeshState:
Public Methods | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of mesh. | |
virtual iMaterialWrapper* | GetMaterialWrapper () const=0 |
Get material of mesh. | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. | |
virtual uint | GetMixMode () const=0 |
Get mix mode. | |
virtual void | SetLighting (bool l)=0 |
Set lighting. | |
virtual bool | IsLighting () const=0 |
Is lighting enabled. | |
virtual void | SetColor (const csColor &col)=0 |
Set the color to use. Will be added to the lighting values. | |
virtual csColor | GetColor () const=0 |
Get the color. | |
virtual void | SetManualColors (bool m)=0 |
Set manual colors. More... | |
virtual bool | IsManualColors () const=0 |
Are manual colors enabled? |
|
Set manual colors. If this is set then lighting will be ignored and so will the color set with SetColor(). In this case you can manipulate the color array manually by calling GetColors(). |