Table of Contents

Class AxisDensity

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

Leaf: distance from the perpendicular to an axis (line through origin), run through a curve.

public sealed class AxisDensity : Density
Inheritance
AxisDensity
Inherited Members

Constructors

AxisDensity(Func<double, double>, Vector3d, bool)

Leaf: distance from the perpendicular to an axis (line through origin), run through a curve.

public AxisDensity(Func<double, double> distanceCurve, Vector3d axis, bool isAnchored)

Parameters

distanceCurve Func<double, double>
axis Vector3d
isAnchored bool

Methods

Process(Context)

public override double Process(Density.Context context)

Parameters

context Density.Context

Returns

double