Skip to main content

Curve

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

Cave generator part that remaps every cell of a layer through an animation curve.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private AnimationCurve curveBacking field for AnimationCurve.

Properties​

MemberWhat it is
AnimationCurve AnimationCurve { get; }The curve each cell value is passed through.

Methods​

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

Used in​

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