CrystalSpace

Public API Reference

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

iSimpleFormerState Struct Reference

iSimpleFormerState exposes implementation specific methods for the SimpleTerraformer plugin More...

#include <simpleformer.h>

Inheritance diagram for iSimpleFormerState:

iBase List of all members.

Public Methods

virtual void SetHeightmap (iImage *heightmap)=0
 Set a heightmap to be used.

virtual void SetScale (csVector3 scale)=0
 Set a scaling factor to be applied to the heightmap region (X, Z) and height (Y).

virtual void SetOffset (csVector3 scale)=0
 Set a offset to be applied to the heightmap region (X, Z) and height (Y).


Detailed Description

iSimpleFormerState exposes implementation specific methods for the SimpleTerraformer plugin

Definition at line 32 of file simpleformer.h.


Member Function Documentation

virtual void iSimpleFormerState::SetHeightmap iImage   heightmap [pure virtual]
 

Set a heightmap to be used.

The heightmap will by default be covering a region from -1..1 along X and Z, and areas outside this will return a height of 0

virtual void iSimpleFormerState::SetOffset csVector3    scale [pure virtual]
 

Set a offset to be applied to the heightmap region (X, Z) and height (Y).

virtual void iSimpleFormerState::SetScale csVector3    scale [pure virtual]
 

Set a scaling factor to be applied to the heightmap region (X, Z) and height (Y).


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