#include <surf.h>
Inheritance diagram for iSurfaceState:
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 iMaterialWrapper* | GetMaterialWrapper () 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. |
Using this you can set up the surface. This surface will always be oriented along the x,y plane.