Click or drag to resize
DigitalRuneTerrainTileOnCreateMaterial Method
Called when a new TerrainTile is created without explicitly specifying a Material.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected virtual Material OnCreateMaterial(
	IGraphicsService graphicsService
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.

Return Value

Type: Material
The default material.
Remarks
Notes to Inheritors: This method may be executed in the constructor of the TerrainTile class. Therefore, the TerrainTile instance may not be fully initialized when this method is called!
See Also