Skip to main content

SimplexNoisePart

A class in Root.Township, Alta.Caves.PluginParts.

Cave generator part that combines every cell of a layer with 3D simplex noise from the generator's seed, passed through a curve.

Constructors​

MemberWhat it is
SimplexNoisePart()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

3 private and internal fields
MemberWhat it is
private AnimationCurve curveBacking field for Curve.
private OperationType operationTypeBacking field for OperationType.
private float scaleBacking field for Scale.

Properties​

MemberWhat it is
AnimationCurve Curve { get; }Curve the 0 to 1 noise value is passed through.
OperationType OperationType { get; }How the noise value combines with each cell.
float Scale { get; }Multiplier on cell coordinates before sampling. Smaller values give larger features.

Methods​

MemberWhat it is
override IPartInstance GetInstance(PluginInstance plugin)Creates the SimplexNoisePartInstance that does the work.

Used in​

Members of other types that take, return or hold a SimplexNoisePart: