CrystalSpace

Public API Reference

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

iBCTerrFactoryState Struct Reference

This interface describes the API for the Bezier Curve terrain Factory object. More...

#include <bcterr.h>

Inheritance diagram for iBCTerrFactoryState:

iBase List of all members.

Public Methods

virtual void SetMaxEdgeResolution (int res)=0
 Bezier Curves have shared edges pre-computed. Set edge resolution here. More...

virtual void SetBlockSize (float x, float z)=0
 Set Block Size. More...

virtual void AddLOD (float distance, int increments)=0
 Add LOD info. More...

virtual void SetLODDistance (int lod_level, float distance)=0
 Set LOD Distance. More...

virtual void SetMultiplier (float m)=0
 newheight = startheight + HeightFromHeightMap * multiplier. More...

virtual csSharedLODMesh * GetSharedMesh (int level, csBCTerrBlock *owner)=0
 Will return 0 if unavailable CPU time or no free shared meshes. More...

virtual void AddTime (csTicks time)=0
 AddTime -> used to free lod in time increments / also cpu limiter. More...

virtual csSharedLODMesh * CreateFreeMesh (bool wavy)=0
 Create a shared LODMesh that isn't shared. More...

virtual int GetUserLOD ()=0
 Get number of LOD levels. More...

virtual void SetSystemDistance (float start, float new_dist)=0
 Set distance shared edge usage stops. More...


Detailed Description

This interface describes the API for the Bezier Curve terrain Factory object.

Definition at line 101 of file bcterr.h.


Member Function Documentation

virtual void iBCTerrFactoryState::AddLOD float    distance,
int    increments
[pure virtual]
 

Add LOD info.

virtual void iBCTerrFactoryState::AddTime csTicks    time [pure virtual]
 

AddTime -> used to free lod in time increments / also cpu limiter.

virtual csSharedLODMesh* iBCTerrFactoryState::CreateFreeMesh bool    wavy [pure virtual]
 

Create a shared LODMesh that isn't shared.

virtual csSharedLODMesh* iBCTerrFactoryState::GetSharedMesh int    level,
csBCTerrBlock *    owner
[pure virtual]
 

Will return 0 if unavailable CPU time or no free shared meshes.

virtual int iBCTerrFactoryState::GetUserLOD   [pure virtual]
 

Get number of LOD levels.

virtual void iBCTerrFactoryState::SetBlockSize float    x,
float    z
[pure virtual]
 

Set Block Size.

virtual void iBCTerrFactoryState::SetLODDistance int    lod_level,
float    distance
[pure virtual]
 

Set LOD Distance.

virtual void iBCTerrFactoryState::SetMaxEdgeResolution int    res [pure virtual]
 

Bezier Curves have shared edges pre-computed. Set edge resolution here.

virtual void iBCTerrFactoryState::SetMultiplier float    m [pure virtual]
 

newheight = startheight + HeightFromHeightMap * multiplier.

virtual void iBCTerrFactoryState::SetSystemDistance float    start,
float    new_dist
[pure virtual]
 

Set distance shared edge usage stops.


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