Table of Contents

Class CylinderDensity

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

Leaf: a cylinder field — product of an axial curve (over Y) and a radial curve (over the x/z radius).

public sealed class CylinderDensity : Density
Inheritance
CylinderDensity
Inherited Members

Constructors

CylinderDensity(Func<double, double>, Func<double, double>)

Leaf: a cylinder field — product of an axial curve (over Y) and a radial curve (over the x/z radius).

public CylinderDensity(Func<double, double> radialCurve, Func<double, double> axialCurve)

Parameters

radialCurve Func<double, double>
axialCurve Func<double, double>

Methods

Process(Context)

public override double Process(Density.Context context)

Parameters

context Density.Context

Returns

double