Table of Contents

Class AbsDensity

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

Absolute value of the input node.

public sealed class AbsDensity : Density
Inheritance
AbsDensity
Inherited Members

Constructors

AbsDensity(Density?)

Absolute value of the input node.

public AbsDensity(Density? input)

Parameters

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