Table of Contents

Class NormalizerDensity

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

Linearly remaps the input node from [fromMin, fromMax] onto [toMin, toMax].

public sealed class NormalizerDensity : Density
Inheritance
NormalizerDensity
Inherited Members

Constructors

NormalizerDensity(double, double, double, double, Density?)

public NormalizerDensity(double fromMin, double fromMax, double toMin, double toMax, Density? input)

Parameters

fromMin double
fromMax double
toMin double
toMax 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[]