Table of Contents

Class SliderDensity

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

Translates the sample coordinates by a fixed offset before evaluating the input (thread-safe child context).

public sealed class SliderDensity : Density
Inheritance
SliderDensity
Inherited Members

Constructors

SliderDensity(double, double, double, Density?)

Translates the sample coordinates by a fixed offset before evaluating the input (thread-safe child context).

public SliderDensity(double slideX, double slideY, double slideZ, Density? input)

Parameters

slideX double
slideY double
slideZ 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[]