CrystalSpace

Public API Reference

Public Member Functions
iTerrainModifier Struct Reference

Terrain modifier class. More...

#include <imesh/modifiableterrain.h>

Inheritance diagram for iTerrainModifier:
iBase

List of all members.

Public Member Functions

virtual void Displace (iTerrainCell *cell, float intensity) const =0
 Displace the affected area in the terrain cell.
virtual const char * GetType () const =0
 Return ths type of the modifier.
virtual bool InBounds (const csBox2 &bb) const =0
 Check if this modifier affects the given area.

Detailed Description

Terrain modifier class.

Definition at line 40 of file modifiableterrain.h.


Member Function Documentation

virtual void iTerrainModifier::Displace ( iTerrainCell cell,
float  intensity 
) const [pure virtual]

Displace the affected area in the terrain cell.

virtual const char* iTerrainModifier::GetType ( ) const [pure virtual]

Return ths type of the modifier.

  • Rectangle Flatten
  • Circle Displacement
  • Brush Displacement
virtual bool iTerrainModifier::InBounds ( const csBox2 bb) const [pure virtual]

Check if this modifier affects the given area.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.7.6.1