C# Class LibNoise.Renderer.Heightmap8Renderer

class for an 8bit-heightmap renderer
Inheritance: AbstractHeightmapRenderer
显示文件 Open project: everbytes/LibNoise

Protected Properties

Property Type Description
_heightmap Heightmap8

Protected Methods

Method Description
CheckHeightmap ( ) : bool

RenderHeight ( int x, int y, float source, float boundDiff ) : void

SetHeightmapSize ( int width, int height ) : void

Sets the new size for the target heightmap.

Method Details

CheckHeightmap() protected method

protected CheckHeightmap ( ) : bool
return bool

RenderHeight() protected method

protected RenderHeight ( int x, int y, float source, float boundDiff ) : void
x int
y int
source float
boundDiff float
return void

SetHeightmapSize() protected method

Sets the new size for the target heightmap.
protected SetHeightmapSize ( int width, int height ) : void
width int width The new width for the heightmap
height int height The new height for the heightmap
return void

Property Details

_heightmap protected_oe property

The destination heightmap
protected Heightmap8 _heightmap
return Heightmap8