Class MapElevationSourceComponent
- Namespace
- LansMap.Map.Views.Components
Attach a subclass to a map to feed it your own terrain heights instead of the built-in Terrarium tiles.
public abstract class MapElevationSourceComponent : MapComponentBase
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourMapElevationSourceComponent
- Inherited Members
Remarks
Create() is called once per pipeline build, and the map owns the lifetime of everything the returned source produces.
Methods
Create()
Builds the source for one pipeline build. Called on the main thread, before any terrain fetch starts.
public abstract IElevationSource Create()