iModifiableDataFeeder 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
iModifiableDataFeeder Struct Reference

Modifiable Terrain data feederclass. More...

`#include <imesh/modifiableterrain.h>`

Inheritance diagram for iModifiableDataFeeder:

List of all members.

## Public Member Functions
virtual iTerrainModifier * | AddModifier (const csVector3 &center, float width, float height)=0
| Add a Rectangle Flatten modifier.
virtual void | RemoveModifier (iTerrainModifier *modifier)=0
| Remove a given terrain modifier.

## Detailed Description

Modifiable Terrain data feederclass.

Definition at line 63 of file modifiableterrain.h.

## Member Function Documentation

virtual iTerrainModifier* iModifiableDataFeeder::AddModifier | ( | const csVector3 & | center,
|  | float | width,
|  | float | height
| ) |  | `[pure virtual]`

Add a Rectangle Flatten modifier.

Parameters:

  center | center of the modifier in object space
  width | width of the rectangle
  height | of the rectangle

Returns:
  the created and added terrain modifier

virtual void iModifiableDataFeeder::RemoveModifier | ( | iTerrainModifier * | modifier | ) | `[pure virtual]`

Remove a given terrain modifier.

Parameters:

  modifier | the terrain modifier to remove

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

- imesh/modifiableterrain.h