iTerrainModifier Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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.
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:

- imesh/modifiableterrain.h