Table of Contents

Class FloorDensity

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

Raises the input node to a lower limit (hard max with the limit).

public sealed class FloorDensity : Density
Inheritance
FloorDensity
Inherited Members

Constructors

FloorDensity(double, Density?)

Raises the input node to a lower limit (hard max with the limit).

public FloorDensity(double limit, Density? input)

Parameters

limit 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[]