TerrainLayerProvider
Description
- Derived from
-
SceneEntityBase abstract
INameProperty - Extended by
-
ShapeLayer sealed
TextureLayer sealed
Abstract base class for ISceneEntity implementations that add a TerrainLayer to the TerrainMesh of the IScene.
Public / Attributes
Layer
Returns the associated TerrainLayer object in the TerrainMesh of the attached IScene.
For each TerrainLayerProvider entity in a scene, a separate TerrainLayer is maintained, where TerrainLayer.Name and INameProperty.Name are identical.
Protected / Attributes
layer
The current terrain layer or null
if not prepared.
Subclasses must override ISceneEntity.SceneAttach and initialize this field. The ISceneEntity.SceneDetach method removes the terrain layer and clear this field.