Show / Hide Table of Contents

Class SpreadWorldLayer

Inheritance
System.Object
WorldLayer
SpreadWorldLayer
Implements
IStorage
ISerializable
IController
IViewController
IHasUniversalID
IWorldLayerView
IWorldLayerLastTickView
IHeatMapOverlay
IOverlayWithDescribableUnits
IMinimapOption
IMinimapCategorizedOption
Inherited Members
WorldLayer.Epsilon
WorldLayer.RoundedTotal
WorldLayer.ActualTotal
WorldLayer.RoundedResolutionAdjustedTotal
WorldLayer.PrevEntries
WorldLayer.TimeSpentTicking
WorldLayer.Width
WorldLayer.Height
WorldLayer.NumCells
WorldLayer.ToString()
WorldLayer.ToString(Vector2i)
WorldLayer.Modify()
WorldLayer.Init()
WorldLayer.InitSelf()
WorldLayer.Init(Func<Vector2i, Single>)
WorldLayer.NoiseInit(Single, Single, Single, Func<Vector2i, Single, Single>)
WorldLayer.Tick()
WorldLayer.RawEntry(Vector2i)
WorldLayer.EntryWorldPos(Int32, Int32)
WorldLayer.EntryWorldPos(Vector2i)
WorldLayer.SetAtWorldPos(Vector2i, Single)
WorldLayer.SafeEntry(Int32, Int32)
WorldLayer.SafeEntry(Vector2i)
WorldLayer.WrapPos(Vector2i)
WorldLayer.PercentToRawPos(Vector2)
WorldLayer.PercentToWorldPos(Vector2)
WorldLayer.WorldPosToLayerPos(Vector2i)
WorldLayer.LayerPosToWorldPos(Vector2)
WorldLayer.LayerPosToWorldArea(Vector2i)
WorldLayer.FuncAtWorldPos(Vector2i, Func<Vector2i, Single, Single>)
WorldLayer.TransformInArea(WorldArea, Func<Single, Single>)
WorldLayer.TranslateEntry(WorldLayer, Vector2i)
WorldLayer.GetValue(LayerPosition)
WorldLayer.TranslateEntryToAmount(WorldLayer, Vector2i)
WorldLayer.DoTick()
WorldLayer.MigrateVersion()
WorldLayer.ForRadius(Vector2i, Single, Func<Vector2i, Single, Single>)
WorldLayer.ApplyRadius(Vector2i, Single, Func<Vector2i, Single, Single>)
WorldLayer.Patch(Vector2i)
WorldLayer.FillLayerWithSummedPatchValues(Array2D<Single>)
WorldLayer.SetMax(Array2D<Single>)
WorldLayer.SetMax(Array2D<Boolean>)
WorldLayer.ForEach(Action<Vector2i, Single>)
WorldLayer.Transform(Func<Single, Single>)
WorldLayer.Clear()
WorldLayer.PostLoad()
WorldLayer.RecordPrevious()
WorldLayer.BackwardsCompatibilityCheck()
WorldLayer.MarkDirty()
WorldLayer.PullStartupLayer(IStartupWorldLayerPuller)
WorldLayer.PullLayer(IWorldLayerPuller)
WorldLayer.PullLayerNonExclusive(IWorldLayerPuller)
WorldLayer.ForEachCell(Int32, WorldLayer[], Action<Vector2i, WorldArea, Single[], WorldLayerNeighborInfo[], Int32>)
WorldLayer.PushLayers(IWorldLayerPusher)
WorldLayer.ApplyInteraction(IWorldLayerInteraction, IWorldLayerLastTickView[])
WorldLayer.AverageOverBoundaryAlignedWorldPos(Vector2i)
WorldLayer.AverageOverBoundaryAlignedWorldArea(WorldArea)
WorldLayer.AverageOverBoundaryAlignedWorldAreaLastTick(WorldArea)
WorldLayer.SumAndCountOverBoundaryAlignedWorldArea(WorldArea, Boolean, Single, Int32)
WorldLayer.LayerPosToWorldArea(Vector2i, Int32)
WorldLayer.ForEachCell(Int32, Action<Vector2i, WorldArea>)
WorldLayer.InitInteraction(IWorldLayerInteraction, WorldLayer[])
WorldLayer.ValStringHtml(Single, Boolean)
WorldLayer.ValStringTooltip(Single, Boolean)
WorldLayer.ActualResolutionAdjustedTotal
WorldLayer.Map
WorldLayer.Name
WorldLayer.MarkedUpName
WorldLayer.FolderStructure
WorldLayer.Priority
WorldLayer.IsOnByDefault
WorldLayer.IsVisible
WorldLayer.OverlayName
WorldLayer.DisplayName
WorldLayer.UnitDescription
WorldLayer.Settings
WorldLayer.LastModifiedTime
WorldLayer.DirtyRawData
WorldLayer.StorageHandle
WorldLayer.PushPullActive
WorldLayer.PostTick
WorldLayer.CellArea
WorldLayer.Size
WorldLayer.CalcSize
WorldLayer.Item[Int32, Int32]
WorldLayer.Item[Vector2i]
WorldLayer.Values
WorldLayer.OutputColor
WorldLayer.ControllerID
WorldLayer.Range
Namespace: Eco.Simulation.WorldLayers.Layers
Assembly: Eco.Simulation.dll
Syntax
public class SpreadWorldLayer : WorldLayer, IStorage, ISerializable, IController, IViewController, IHasUniversalID, IWorldLayerView, IWorldLayerLastTickView, IHeatMapOverlay, IOverlayWithDescribableUnits, IMinimapOption, IMinimapCategorizedOption

Constructors

SpreadWorldLayer()

Declaration
public SpreadWorldLayer()

Fields

BaseLayer

Declaration
public WorldLayer BaseLayer
Field Value
Type Description
WorldLayer

HeightLayer

Declaration
public WorldLayer HeightLayer
Field Value
Type Description
WorldLayer

TransformFunc

Declaration
public Func<Vector2i, float, float> TransformFunc
Field Value
Type Description
System.Func<Vector2i, System.Single, System.Single>

Properties

SettingsType

Declaration
public override Type SettingsType { get; }
Property Value
Type Description
System.Type
Overrides
WorldLayer.SettingsType

SpreadSettings

Declaration
public SpreadLayerSettings SpreadSettings { get; }
Property Value
Type Description
SpreadLayerSettings

Methods

BaseOrSpreadEntry(Vector2i)

Declaration
public float BaseOrSpreadEntry(Vector2i pos)
Parameters
Type Name Description
Vector2i pos
Returns
Type Description
System.Single

BaseOrSpreadEntry(Int32, Int32)

Declaration
public float BaseOrSpreadEntry(int x, int y)
Parameters
Type Name Description
System.Int32 x
System.Int32 y
Returns
Type Description
System.Single

PostLoadSelf()

Declaration
protected override void PostLoadSelf()
Overrides
WorldLayer.PostLoadSelf()

TickSelf()

Declaration
protected override void TickSelf()
Overrides
WorldLayer.TickSelf()

Implements

IStorage
ISerializable
IController
IViewController
IHasUniversalID
IWorldLayerView
IWorldLayerLastTickView
IHeatMapOverlay
IOverlayWithDescribableUnits
IMinimapOption
IMinimapCategorizedOption
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾