Table of Contents

Class SmoothCeilingDensity

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

Soft upper cap: smooth minimum of the input node with a limit.

public sealed class SmoothCeilingDensity : Density
Inheritance
SmoothCeilingDensity
Inherited Members

Constructors

SmoothCeilingDensity(double, double, Density?)

public SmoothCeilingDensity(double limit, double smoothRange, Density? input)

Parameters

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