C# Class LibNoise.Renderer.Heightmap8Renderer

class for an 8bit-heightmap renderer
Inheritance: AbstractHeightmapRenderer
Afficher le fichier Open project: everbytes/LibNoise

Protected Properties

Свойство Type Description
_heightmap Heightmap8

Méthodes protégées

Méthode 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 méthode

protected CheckHeightmap ( ) : bool
Résultat bool

RenderHeight() protected méthode

protected RenderHeight ( int x, int y, float source, float boundDiff ) : void
x int
y int
source float
boundDiff float
Résultat void

SetHeightmapSize() protected méthode

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
Résultat void

Property Details

_heightmap protected_oe property

The destination heightmap
protected Heightmap8 _heightmap
Résultat Heightmap8