iClothMeshState Struct Reference
This interface describes the API for the cloth mesh object. More...
#include <clothmesh.h>
Inheritance diagram for iClothMeshState:

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. | |
virtual bool | IsManualColors () const=0 |
Are manual colors enabled? |
Detailed Description
This interface describes the API for the cloth mesh object.
Definition at line 38 of file clothmesh.h.
Member Function Documentation
|
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.
|
The documentation for this struct was generated from the following file:
- imesh/clothmesh.h
Generated for Crystal Space by doxygen 1.2.18