MeshBaker
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WorldDatabase Class Reference

Inherits MonoBehaviour, and MB2_WorldDatabase.

Public Member Functions

MB2_Chunk GetChunkAt (MB2_VoxelEngine.IntVector3 pos)
 

Static Public Member Functions

static MB2_WorldDatabase GetWorldDatabase ()
 

Public Attributes

GameObject treePrefab
 
GameObject skinnedMeshPrefab
 
Material groundMaterial
 
Dictionary< Vector3, MB2_Chunkcoord2ChunkMap = new Dictionary<Vector3, MB2_Chunk>()
 

Member Function Documentation

§ GetChunkAt()

MB2_Chunk WorldDatabase.GetChunkAt ( MB2_VoxelEngine.IntVector3  pos)

Implements MB2_WorldDatabase.

§ GetWorldDatabase()

static MB2_WorldDatabase WorldDatabase.GetWorldDatabase ( )
static

Member Data Documentation

§ coord2ChunkMap

Dictionary<Vector3,MB2_Chunk> WorldDatabase.coord2ChunkMap = new Dictionary<Vector3, MB2_Chunk>()

§ groundMaterial

Material WorldDatabase.groundMaterial

§ skinnedMeshPrefab

GameObject WorldDatabase.skinnedMeshPrefab

§ treePrefab

GameObject WorldDatabase.treePrefab

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