![]() |
Public API Reference |
#include <clothmesh.h>
Inheritance diagram for iClothMeshState:
Public Methods | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of mesh. More... | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get material of mesh. More... | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. More... | |
virtual uint | GetMixMode () const=0 |
Get mix mode. More... | |
virtual void | SetLighting (bool l)=0 |
Set lighting. More... | |
virtual bool | IsLighting () const=0 |
Is lighting enabled. More... | |
virtual void | SetColor (const csColor &col)=0 |
Set the color to use. Will be added to the lighting values. More... | |
virtual csColor | GetColor () const=0 |
Get the color. More... | |
virtual void | SetManualColors (bool m)=0 |
Set manual colors. More... | |
virtual bool | IsManualColors () const=0 |
Are manual colors enabled? More... |
Definition at line 38 of file clothmesh.h.
|
Get the color.
|
|
Get material of mesh.
|
|
Get mix mode.
|
|
Is lighting enabled.
|
|
Are manual colors enabled?
|
|
Set the color to use. Will be added to the lighting values.
|
|
Set lighting.
|
|
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(). |
|
Set material of mesh.
|
|
Set mix mode.
|