Class PlantSpawner
Inheritance
System.Object
PlantSpawner
Assembly: Eco.Simulation.dll
Syntax
public sealed class PlantSpawner : WorldLayerPusher<float>, IPostWorldGenWorldLayerPusher, IWorldLayerPusher, IWorldLayerRelationship
Constructors
PlantSpawner()
Declaration
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
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
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
Explicit Interface Implementations
IWorldLayerPusher.VoxelsPerEntry
Declaration
int IWorldLayerPusher.VoxelsPerEntry { get; }
Returns
Type |
Description |
System.Int32 |
|
Implements