C# Class CubeGeneration, VoxelEngine

Inheritance: MonoBehaviour
Mostrar archivo Open project: RodGame/VoxelEngine Class Usage Examples

Public Properties

Property Type Description
CubeGrass GameObject
CubeRock GameObject
CubeSand GameObject
OcclusionCullingBool bool
cubeAvailable int
cubeOccluded int
cubeRendered int
cubeTotal int
sizeX int
sizeY int
sizeZ int

Public Methods

Method Description
AddChunk ( ) : void
CreateCube ( int _posX, int _posY, int _posZ, int _blockType ) : void
RandomizeCurChunkHeightMap ( ) : void
RemoveChunk ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddChunk() public method

public AddChunk ( ) : void
return void

CreateCube() public method

public CreateCube ( int _posX, int _posY, int _posZ, int _blockType ) : void
_posX int
_posY int
_posZ int
_blockType int
return void

RandomizeCurChunkHeightMap() public method

public RandomizeCurChunkHeightMap ( ) : void
return void

RemoveChunk() public method

public RemoveChunk ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

CubeGrass public_oe property

public GameObject CubeGrass
return GameObject

CubeRock public_oe property

public GameObject CubeRock
return GameObject

CubeSand public_oe property

public GameObject CubeSand
return GameObject

OcclusionCullingBool public_oe property

public bool OcclusionCullingBool
return bool

cubeAvailable public_oe property

public int cubeAvailable
return int

cubeOccluded public_oe property

public int cubeOccluded
return int

cubeRendered public_oe property

public int cubeRendered
return int

cubeTotal public_oe property

public int cubeTotal
return int

sizeX public_oe property

public int sizeX
return int

sizeY public_oe property

public int sizeY
return int

sizeZ public_oe property

public int sizeZ
return int