Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.EnvTerrain.vxTerrainManager Class Reference

Public Member Functions

void LoadTexturePack (string path, bool UseEngineContentManager=false)
 Loads a Texture Pack using the speciefied path. Each texture must have the notation of 'texture_i' where 'i' is the texture index.
 
void Add (vxTerrainChunk terrain)
 Adds a Terrain to the terrain manager.
 
void Update ()
 

Public Attributes

List< Texture2D > Textures = new List<Texture2D>()
 
Texture2D InitialHeightMap
 
int TextureMapSize = 256
 
List< vxTerrainChunkTerrains = new List<vxTerrainChunk>()
 A list of all the Terrains in the current scene.
 
vxEnumTerrainEditMode EditMode
 
Texture2D TextureBrush
 

Properties

static vxTerrainManager Instance [get]
 
Texture2D CursorTexture [get, set]
 
float CursorScale [get, set]
 
Vector2 CursorPosition [get, set]
 
Color CursorColour [get, set]
 
bool IsInEditMode [get]
 

Member Function Documentation

◆ Add()

void VerticesEngine.EnvTerrain.vxTerrainManager.Add ( vxTerrainChunk terrain)

Adds a Terrain to the terrain manager.

Parameters
terrain

◆ LoadTexturePack()

void VerticesEngine.EnvTerrain.vxTerrainManager.LoadTexturePack ( string path,
bool UseEngineContentManager = false )

Loads a Texture Pack using the speciefied path. Each texture must have the notation of 'texture_i' where 'i' is the texture index.

Parameters
pathpath to the four textures.

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