Click or drag to resize
DigitalRuneTerrainRendererMesh Constructor
Initializes a new instance of the TerrainRendererMesh class.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public TerrainRendererMesh(
	GraphicsDevice graphicsDevice,
	int numberOfLevels,
	int cellsPerLevel
)

Parameters

graphicsDevice
Type: GraphicsDevice
The graphics device.
numberOfLevels
Type: SystemInt32
The number of levels.
cellsPerLevel
Type: SystemInt32
The number of cells per level.
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsDevice is .
ArgumentOutOfRangeExceptionnumberOfLevels or cellsPerLevel is less than 1.
See Also