Table of Contents

Class PowDensity

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

Raises the input node to an exponent, preserving sign (odd-like behavior for negatives).

public sealed class PowDensity : Density
Inheritance
PowDensity
Inherited Members

Constructors

PowDensity(double, Density?)

Raises the input node to an exponent, preserving sign (odd-like behavior for negatives).

public PowDensity(double exponent, Density? input)

Parameters

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