Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iSurfaceState Struct Reference

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

#include <surf.h>

Inheritance diagram for iSurfaceState:

iBase List of all members.

Public Methods

virtual void SetResolution (int x, int y)=0
 Set number of subdivisions to use in both directions.

virtual int GetXResolution () const=0
 Get the x resolution.

virtual int GetYResolution () const=0
 Get the y resolution.

virtual void SetTopLeftCorner (const csVector3 &tl)=0
 Set the top left corner to use for the surface.

virtual csVector3 GetTopLeftCorner () const=0
 Get the top left corner.

virtual void SetScale (float x, float y)=0
 Set the x and y scale to use for the surface.

virtual float GetXScale () const=0
 Get the x scale.

virtual float GetYScale () const=0
 Get the y scale.

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

virtual iMaterialWrapperGetMaterialWrapper () const=0
 Get material.

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 global color to use. Will be added to the lighting values.

virtual csColor GetColor () const=0
 Get the color.


Detailed Description

This interface describes the API for the surface mesh object.

Using this you can set up the surface. This surface will always be oriented along the x,y plane.


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