Table of Contents

Class YOverrideDensity

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

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

public sealed class YOverrideDensity : Density
Inheritance
YOverrideDensity
Inherited Members

Constructors

YOverrideDensity(double, Density?)

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

public YOverrideDensity(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[]