Class DeformGeoPlastAmountUserToolState
Inheritance
BrushUserToolState<GeoPlastLayerGroup, UserToolSettingsDataSource, UniversalToolSettingsScreen, GeoPlastLayer>
DataLayerBrushUserToolState<GeoPlastLayerGroup, UserToolSettingsDataSource, UniversalToolSettingsScreen, GeoPlastLayer, CellValueDataLayer<float>, float>
DeformWithSurfaceReferenceUserToolStateBase<GeoPlastLayerGroup, GeoPlastLayer, CellValueDataLayer<float>>
DeformGeoPlastAmountUserToolState
Implements
Inherited Members
DeformUserToolStateBase<GeoPlastLayerGroup, GeoPlastLayer, CellValueDataLayer<float>>.MinResultValue
Namespace: Fwt.HexTerrains.UserTools.SM.States.GeoPlasts
Assembly: fwt.hexterrains.dll
Syntax
public class DeformGeoPlastAmountUserToolState : DeformWithSurfaceReferenceUserToolStateBase<GeoPlastLayerGroup, GeoPlastLayer, CellValueDataLayer<float>>, ISmState
Constructors
DeformGeoPlastAmountUserToolState(ISmState)
Declaration
public DeformGeoPlastAmountUserToolState(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. |