Click or drag to resize
DigitalRuneTerrainTile Constructor (IGraphicsService, Material)
Initializes a new instance of the TerrainTile class with the specified material.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public TerrainTile(
	IGraphicsService graphicsService,
	Material material
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphic service.
material
Type: DigitalRune.GraphicsMaterial
The material. Can be - see remarks.
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
Remarks
The specified material is used to render the terrain geometry (heights, normals, holes) into the clipmaps. When the material is , no geometry is rendered into the terrain tile.
See Also