CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iClothMeshState Struct Reference

This interface describes the API for the cloth mesh object. More...

#include <clothmesh.h>

Inheritance diagram for iClothMeshState:

iBase List of all members.

Public Methods

virtual void SetMaterialWrapper (iMaterialWrapper *material)=0
 Set material of mesh. More...

virtual iMaterialWrapperGetMaterialWrapper () 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...


Detailed Description

This interface describes the API for the cloth mesh object.

Definition at line 38 of file clothmesh.h.


Member Function Documentation

virtual csColor iClothMeshState::GetColor   const [pure virtual]
 

Get the color.

virtual iMaterialWrapper* iClothMeshState::GetMaterialWrapper   const [pure virtual]
 

Get material of mesh.

virtual uint iClothMeshState::GetMixMode   const [pure virtual]
 

Get mix mode.

virtual bool iClothMeshState::IsLighting   const [pure virtual]
 

Is lighting enabled.

virtual bool iClothMeshState::IsManualColors   const [pure virtual]
 

Are manual colors enabled?

virtual void iClothMeshState::SetColor const csColor   col [pure virtual]
 

Set the color to use. Will be added to the lighting values.

virtual void iClothMeshState::SetLighting bool    l [pure virtual]
 

Set lighting.

virtual void iClothMeshState::SetManualColors bool    m [pure virtual]
 

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().

virtual void iClothMeshState::SetMaterialWrapper iMaterialWrapper   material [pure virtual]
 

Set material of mesh.

virtual void iClothMeshState::SetMixMode uint    mode [pure virtual]
 

Set mix mode.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14