Show / Hide Table of Contents

Class PlantSpawner

Inheritance
System.Object
WorldLayerPusher<System.Single>
PlantSpawner
Implements
IPostWorldGenWorldLayerPusher
IWorldLayerPusher
IWorldLayerRelationship
Inherited Members
WorldLayerPusher<Single>.DescribeParameterized(WorldArea)
WorldLayerPusher<Single>.Dependencies
Namespace: Eco.Simulation.WorldLayers.Pushers
Assembly: Eco.Simulation.dll
Syntax
public sealed class PlantSpawner : WorldLayerPusher<float>, IPostWorldGenWorldLayerPusher, IWorldLayerPusher, IWorldLayerRelationship

Constructors

PlantSpawner()

Declaration
public PlantSpawner()

Properties

DependencyLayerNames

Declaration
public override string[] DependencyLayerNames { get; }
Property Value
Type Description
System.String[]
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Single>.DependencyLayerNames

DescribeGeneral

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

Methods

Apply(WorldArea, Single[], WorldLayerNeighborInfo[], Int32)

Declaration
public override void Apply(WorldArea area, float[] unused, WorldLayerNeighborInfo[] neighborValues, int length)
Parameters
Type Name Description
WorldArea area
System.Single[] unused
WorldLayerNeighborInfo[] neighborValues
System.Int32 length
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Single>.Apply(Eco.Shared.Math.WorldArea, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[], System.Int32)

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.WorldLayerPusher<System.Single>.DescribeAggregated(System.Collections.Generic.IEnumerable<System.Single>)

DescribeSpecific(WorldArea, Single[], WorldLayerNeighborInfo[])

Declaration
protected override float DescribeSpecific(WorldArea area, float[] layerValues, WorldLayerNeighborInfo[] neighborValues)
Parameters
Type Name Description
WorldArea area
System.Single[] layerValues
WorldLayerNeighborInfo[] neighborValues
Returns
Type Description
System.Single
Overrides
Eco.Simulation.WorldLayers.WorldLayerPusher<System.Single>.DescribeSpecific(Eco.Shared.Math.WorldArea, System.Single[], Eco.Simulation.WorldLayers.WorldLayerNeighborInfo[])

PostWorldGenPush(WorldArea, Single[], WorldLayerNeighborInfo[], Int32)

Method which invoked after all interaction initialized, but before Tick() on PostWorldGen stage.

Declaration
public void PostWorldGenPush(WorldArea area, float[] unused, WorldLayerNeighborInfo[] neighborValues, int length)
Parameters
Type Name Description
WorldArea area
System.Single[] unused
WorldLayerNeighborInfo[] neighborValues
System.Int32 length

Explicit Interface Implementations

IWorldLayerPusher.VoxelsPerEntry

Declaration
int IWorldLayerPusher.VoxelsPerEntry { get; }
Returns
Type Description
System.Int32

Implements

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