Table of Contents

Class CeilingDensity

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

Caps the input node at an upper limit (hard min with the limit).

public sealed class CeilingDensity : Density
Inheritance
CeilingDensity
Inherited Members

Constructors

CeilingDensity(double, Density?)

Caps the input node at an upper limit (hard min with the limit).

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