Public Methods |
virtual void | setZonePath (const std::string &zonePath) = 0 |
| Set the zonePath from where zones are loaded.
|
virtual void | loadBankFiles (const std::string &tileBankFile, const std::string &farBankFile) = 0 |
| Load the tile banks: the ".bank" and the ".farbank".
|
virtual void | loadAllZonesAround (const CVector &pos, float radius) = 0 |
| Load all Zones around a position. This is a blocking call.
|
virtual void | refreshZonesAround (const CVector &pos, float radius) = 0 |
| Delete old zones, or load new zones, around a position. new Zones are loaded async.
|
virtual void | setupStaticLight (const CRGBA &diffuse, const CRGBA &ambiant, float multiply) = 0 |
| Setup the light color use for static illumination. More...
|
virtual void | setThreshold (float thre) = 0 |
| Set threshold for subdivsion quality. The lower is threshold, the more the landscape is subdivided. Default: 0.001.
|
virtual float | getThreshold () const = 0 |
| Get threshold.
|
virtual void | setTileNear (float tileNear) = 0 |
| Set tile near distance. Default 50.f. maximized to length of Far alpha transition).
|
virtual float | getTileNear () const = 0 |
| Get tile near distance.
|
virtual void | setTileMaxSubdivision (uint tileDiv) = 0 |
| Set Maximum Tile subdivision. Valid values must be in [0..4] (assert). Default is 0 (for now :) ).
|
virtual uint | getTileMaxSubdivision () = 0 |
| Get Maximum Tile subdivision.
|
virtual std::string | getZoneName (const CVector &pos) = 0 |
| Return the name of the zone around a particular position (in NL3D basis!).
|
virtual CVector | getHeightFieldDeltaZ (float x, float y) const = 0 |
| return the HeightField DeltaZ for the 2D position. (0,0,dZ) is returned.
|
virtual void | setHeightField (const CHeightMap &hf) = 0 |
| set the HeightField data. More...
|
Public Attributes |
CMiniCol | CollisionManager |
Protected Methods |
| ULandscape () |
| protected because created/deleted by UScene. More...
|
virtual | ~ULandscape () |