Class SpreadInteraction
Inheritance
System.Object
SpreadInteraction
Assembly: Eco.Simulation.dll
Syntax
public class SpreadInteraction : WorldLayerInteraction<float>, IWorldLayerInteraction, IWorldLayerRelationship
Constructors
SpreadInteraction()
Declaration
public SpreadInteraction()
Properties
DependencyLayerNames
Declaration
public override string[] DependencyLayerNames { get; }
Property Value
Type |
Description |
System.String[] |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.DependencyLayerNames
DescribeGeneral
Declaration
public override string DescribeGeneral { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.DescribeGeneral
HeightBias
Declaration
public float HeightBias { get; set; }
Property Value
Type |
Description |
System.Single |
|
IncreaseOnly
Declaration
public bool IncreaseOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ModifiedLayerName
Declaration
public string ModifiedLayerName { get; set; }
Property Value
Type |
Description |
System.String |
|
OutputLayerName
Declaration
public override string OutputLayerName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.OutputLayerName
PostWorldgenTicks
Declaration
public int PostWorldgenTicks { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RequiresNeighborhood
Declaration
public override bool RequiresNeighborhood { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.RequiresNeighborhood
SpreadRatio
Declaration
public float SpreadRatio { get; set; }
Property Value
Type |
Description |
System.Single |
|
WorldInitDependencyLayerNames
Declaration
public override string[] WorldInitDependencyLayerNames { get; }
Property Value
Type |
Description |
System.String[] |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.WorldInitDependencyLayerNames
Methods
Apply(Single, Single[], WorldLayerNeighborInfo[])
Declaration
public override float Apply(float currentValue, float[] dependencyValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Type |
Name |
Description |
System.Single |
currentValue |
|
System.Single[] |
dependencyValues |
|
WorldLayerNeighborInfo[] |
neighborValues |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.Apply(System.Single, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[])
DescribeAggregated(IEnumerable<Single>)
Declaration
protected override string DescribeAggregated(IEnumerable<float> intermediateDescriptions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Single> |
intermediateDescriptions |
|
Returns
Type |
Description |
System.String |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.DescribeAggregated(System.Collections.Generic.IEnumerable<System.Single>)
DescribeSpecific(Single, Single[], WorldLayerNeighborInfo[])
Declaration
protected override float DescribeSpecific(float currentValue, float[] dependencyValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Type |
Name |
Description |
System.Single |
currentValue |
|
System.Single[] |
dependencyValues |
|
WorldLayerNeighborInfo[] |
neighborValues |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.DescribeSpecific(System.Single, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[])
PostWorldgen(Single, Single[], WorldLayerNeighborInfo[])
Declaration
public override float PostWorldgen(float currentValue, float[] dependencyValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Type |
Name |
Description |
System.Single |
currentValue |
|
System.Single[] |
dependencyValues |
|
WorldLayerNeighborInfo[] |
neighborValues |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.PostWorldgen(System.Single, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[])
Implements