CrystalSpace

Public API Reference

iTerrainModifier Struct Reference

Terrain modifier class. More...

#include <imesh/modifiableterrain.h>

Inheritance diagram for iTerrainModifier:

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

  • Rectangle Flatten
  • Circle Displacement
  • Brush Displacement.

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.1 by doxygen 1.6.1