Class StampGeoPlastDensityUserToolState
Inheritance
BrushUserToolState<GeoPlastLayerGroup, UserToolSettingsDataSource, UniversalToolSettingsScreen, GeoPlastLayer>
StampDataLayerUserToolStateBase<GeoPlastLayerGroup, GeoPlastLayer, CellValueDataLayer<float>, float>
StampGeoPlastDensityUserToolState
Implements
Inherited Members
Namespace: Fwt.HexTerrains.UserTools.SM.States.GeoPlasts
Assembly: fwt.hexterrains.dll
Syntax
public class StampGeoPlastDensityUserToolState : StampDataLayerUserToolStateBase<GeoPlastLayerGroup, GeoPlastLayer, CellValueDataLayer<float>, float>, ISmState
Constructors
StampGeoPlastDensityUserToolState(ISmState)
Declaration
public StampGeoPlastDensityUserToolState(ISmState parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ISmState | parent |
Properties
UserToolType
Type identifier for the user tool. Allows state machine to change states based on tool type instead of state index.
Declaration
public override int UserToolType { get; }
Property Value
| Type | Description |
|---|---|
| int |
Overrides
Methods
GetDataLayer(GeoPlastLayer)
Retrieves the data layer associated with the specified terrain layer.
Declaration
public override CellValueDataLayer<float> GetDataLayer(GeoPlastLayer terrainLayer)
Parameters
| Type | Name | Description |
|---|---|---|
| GeoPlastLayer | terrainLayer | The terrain layer for which to obtain the corresponding data layer. Cannot be null. |
Returns
| Type | Description |
|---|---|
| CellValueDataLayer<float> | The data layer mapped to the given terrain layer. |