Show / Hide Table of Contents

Class PlantNutrientConsumption

Inheritance
System.Object
WorldLayerInteraction<System.Single>
PlantNutrientConsumption
Implements
IWorldLayerInteraction
IWorldLayerRelationship
Inherited Members
WorldLayerInteraction<Single>.Verify(List<LocString>)
WorldLayerInteraction<Single>.DescribeParameterized(WorldArea)
WorldLayerInteraction<Single>.GetDependencyIndexByLayerName(String)
WorldLayerInteraction<Single>.ValueOf(String, Single[])
WorldLayerInteraction<Single>.PostWorldgenValueOf(String, Single[])
WorldLayerInteraction<Single>.ToString()
WorldLayerInteraction<Single>.RequiresNeighborhood
WorldLayerInteraction<Single>.Dependencies
WorldLayerInteraction<Single>.PostWorldgenDependencies
WorldLayerInteraction<Single>.OutputLayer
Namespace: Eco.Simulation.WorldLayers.LayerInteractions
Assembly: Eco.Simulation.dll
Syntax
public class PlantNutrientConsumption : WorldLayerInteraction<float>, IWorldLayerInteraction, IWorldLayerRelationship

Constructors

PlantNutrientConsumption(String, PlantSpecies)

Declaration
public PlantNutrientConsumption(string nutrientLayerName, PlantSpecies species)
Parameters
Type Name Description
System.String nutrientLayerName
PlantSpecies species

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

OutputLayerName

Declaration
public override string OutputLayerName { get; }
Property Value
Type Description
System.String
Overrides
Eco.Simulation.WorldLayers.WorldLayerInteraction<System.Single>.OutputLayerName

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
☀
☾