Table of Contents

Class SmoothMaxDensity

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

Smooth maximum of two inputs over a blend range.

public sealed class SmoothMaxDensity : Density
Inheritance
SmoothMaxDensity
Inherited Members

Constructors

SmoothMaxDensity(double, Density?, Density?)

Smooth maximum of two inputs over a blend range.

public SmoothMaxDensity(double range, Density? inputA, Density? inputB)

Parameters

range double
inputA Density
inputB 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[]