Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iGeneralMeshState Struct Reference

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

#include <genmesh.h>

Inheritance diagram for iGeneralMeshState:

iBase List of all members.

Public Methods

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

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


Detailed Description

This interface describes the API for the general mesh object.


Member Function Documentation

void iGeneralMeshState::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().


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000