Table of Contents

Class SqrtDensity

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

Square root of the input node, preserving sign.

public sealed class SqrtDensity : Density
Inheritance
SqrtDensity
Inherited Members

Constructors

SqrtDensity(Density?)

Square root of the input node, preserving sign.

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