Show / Hide Table of Contents

Class SumInteraction

Inheritance
System.Object
WorldLayerInteraction<System.Single[]>
SumInteraction
Implements
IWorldLayerInteraction
IWorldLayerRelationship
Inherited Members
WorldLayerInteraction<Single[]>.Verify(List<LocString>)
WorldLayerInteraction<Single[]>.Apply(Single, Single[], WorldLayerNeighborInfo[])
WorldLayerInteraction<Single[]>.PostWorldgen(Single, Single[], WorldLayerNeighborInfo[])
WorldLayerInteraction<Single[]>.DescribeParameterized(WorldArea)
WorldLayerInteraction<Single[]>.DescribeSpecific(Single, Single[], WorldLayerNeighborInfo[])
WorldLayerInteraction<Single[]>.DescribeAggregated(IEnumerable<Single[]>)
WorldLayerInteraction<Single[]>.GetDependencyIndexByLayerName(String)
WorldLayerInteraction<Single[]>.ValueOf(String, Single[])
WorldLayerInteraction<Single[]>.PostWorldgenValueOf(String, Single[])
WorldLayerInteraction<Single[]>.ToString()
WorldLayerInteraction<Single[]>.RequiresNeighborhood
WorldLayerInteraction<Single[]>.DependencyLayerNames
WorldLayerInteraction<Single[]>.Dependencies
WorldLayerInteraction<Single[]>.WorldInitDependencyLayerNames
WorldLayerInteraction<Single[]>.PostWorldgenDependencies
WorldLayerInteraction<Single[]>.OutputLayerName
WorldLayerInteraction<Single[]>.OutputLayer
WorldLayerInteraction<Single[]>.DescribeGeneral
Namespace: Eco.Simulation.WorldLayers.LayerInteractions
Assembly: Eco.Simulation.dll
Syntax
public class SumInteraction : WorldLayerInteraction<float[]>, IWorldLayerInteraction, IWorldLayerRelationship

Constructors

SumInteraction()

Declaration
public SumInteraction()

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

IWorldLayerInteraction
IWorldLayerRelationship
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾