
It keeps track of which terrain is active, and allows you to switch between terrains if you have more than one. It also creates some of the surrounding environment (sunlight, skydome) which is common to all of the terrains.
Public Member Functions | |
| vtGroup * | BeginTerrainScene () |
| void | AppendTerrain (vtTerrain *pTerrain) |
| void | SetCurrentTerrain (vtTerrain *pTerrain) |
| vtGroup * | BuildTerrain (vtTerrain *pTerrain) |
| unsigned int | NumTerrains () |
| Access the terrains in the list. | |
| vtTerrain * | GetCurrentTerrain () |
| Get the terrain currently being shown. | |
| vtTerrain * | FindTerrainByName (const char *name) |
| Find a terrain by its name. | |
|
|
Adds a terrain to the scene. |
|
|
Call this method once before adding any terrains, to initialize the vtTerrainScene object. |
|
|
BuildTerrain constructs all geometry, textures and objects for a given terrain.
|
|
|
Find a terrain whose name begins with a given string. |
|
|
Set the current Terrain for the scene. There can only be one terrain active a at time. If you have more than one terrain, you can use this method to switch between them. |
1.4.5