| TerrainTile Constructor (IGraphicsService, Material) |
Initializes a new instance of the
TerrainTile class with the specified
material.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public TerrainTile(
IGraphicsService graphicsService,
Material material
)
Public Sub New (
graphicsService As IGraphicsService,
material As Material
)
public:
TerrainTile(
IGraphicsService^ graphicsService,
Material^ material
)
new :
graphicsService : IGraphicsService *
material : Material -> TerrainTile
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphic service. - material
- Type: DigitalRune.GraphicsMaterial
The material. Can be - see remarks.
Exceptions 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