C# Class CubeChunkGenerator, Cubes-in-Space

Inheritance: MonoBehaviour
Mostrar archivo Open project: eric-kansas/Cubes-in-Space

Public Properties

Property Type Description
ChunkPeice GameObject
MaxAddChunkSize int
MaxAdditivePasses int
MinAddChunkSize int
MinAdditivePasses int
centerCubeGeneration bool

Public Methods

Method Description
GenerateFullChunk ( Vector3 startPos, int myId ) : GameObject
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
AddChunk ( Vector3 startPos ) : List
DeleteCenterCubes ( ) : void
MarkCenterCubes ( ) : void
RemoveDuplicates ( List currentChunk ) : void

Method Details

GenerateFullChunk() public method

public GenerateFullChunk ( Vector3 startPos, int myId ) : GameObject
startPos Vector3
myId int
return GameObject

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ChunkPeice public_oe property

public GameObject ChunkPeice
return GameObject

MaxAddChunkSize public_oe property

public int MaxAddChunkSize
return int

MaxAdditivePasses public_oe property

public int MaxAdditivePasses
return int

MinAddChunkSize public_oe property

public int MinAddChunkSize
return int

MinAdditivePasses public_oe property

public int MinAdditivePasses
return int

centerCubeGeneration public_oe property

public bool centerCubeGeneration
return bool