Table of Contents

Class XOverrideDensity

Namespace
Shard.WorldGen.Nodes
Assembly
Shard.WorldGen.dll

Evaluates the input node with the X coordinate replaced by a fixed value.

public sealed class XOverrideDensity : Density
Inheritance
XOverrideDensity
Inherited Members

Constructors

XOverrideDensity(double, Density?)

Evaluates the input node with the X coordinate replaced by a fixed value.

public XOverrideDensity(double value, Density? input)

Parameters

value double
input Density

Methods

Process(Context)

public override double Process(Density.Context context)

Parameters

context Density.Context

Returns

double

SetInputs(Density[])

Wire this node's inputs (no-op for leaf nodes).

public override void SetInputs(Density[] inputs)

Parameters

inputs Density[]