Class SumInteraction
Inheritance
System.Object
SumInteraction
Assembly: Eco.Simulation.dll
Syntax
public class SumInteraction : WorldLayerInteraction<float[]>, IWorldLayerInteraction, IWorldLayerRelationship
Constructors
SumInteraction()
Declaration
Properties
Average
Declaration
public bool Average { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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
LayersToSum
Declaration
public string[] LayersToSum { 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
Percent
Declaration
public bool Percent { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SumLayer
Declaration
public string SumLayer { get; set; }
Property Value
Type |
Description |
System.String |
|
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