C# Class ManicDigger.TerrainChunkRenderer

Show file Open project: GlennMR/800Craft-Client Class Usage Examples

Public Properties

Property Type Description
BlockShadow float
DONOTDRAWEDGES bool
ENABLE_ATLAS1D bool
chunksize int
texturesPacked int

Private Properties

Property Type Description
BlockPolygons void
CanSupportTorch bool
GetShadowRatio float
GetTilingCount int
GetToReturn VerticesIndices
IsTileEmptyForDrawingOrTransparent bool
IsValidPos bool

Public Methods

Method Description
MakeChunk ( int x, int y, int z ) : IEnumerable

Private Methods

Method Description
BlockPolygons ( int x, int y, int z, byte currentChunk ) : void
CanSupportTorch ( byte blocktype ) : bool
GetShadowRatio ( int xx, int yy, int zz, int globalx, int globaly, int globalz ) : float
GetTilingCount ( byte currentChunk, int xx, int yy, int zz, byte tt, int x, int y, int z, float shadowratio, TileSide dir ) : int
GetToReturn ( byte tiletype, int textureid ) : VerticesIndices
IsTileEmptyForDrawingOrTransparent ( int xx, int yy, int zz, int adjacenttiletype, byte currentChunk ) : bool
IsValidPos ( int x, int y, int z ) : bool

Method Details

MakeChunk() public method

public MakeChunk ( int x, int y, int z ) : IEnumerable
x int
y int
z int
return IEnumerable

Property Details

BlockShadow public property

public float BlockShadow
return float

DONOTDRAWEDGES public property

public bool DONOTDRAWEDGES
return bool

ENABLE_ATLAS1D public property

public bool ENABLE_ATLAS1D
return bool

chunksize public property

public int chunksize
return int

texturesPacked public property

public int texturesPacked
return int