 | TerrainTileOnCreateMaterial Method |
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxprotected virtual Material OnCreateMaterial(
IGraphicsService graphicsService
)
Protected Overridable Function OnCreateMaterial (
graphicsService As IGraphicsService
) As Material
protected:
virtual Material^ OnCreateMaterial(
IGraphicsService^ graphicsService
)
abstract OnCreateMaterial :
graphicsService : IGraphicsService -> Material
override OnCreateMaterial :
graphicsService : IGraphicsService -> Material
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
MaterialThe default material.
RemarksNotes 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