Skip to main content

CurveValue<T>

A class in Root.Township, Alta.

Pairs a topic with an animation curve. Base of AttributeCurveValue for biome attributes.

Constructors​

MemberWhat it is
CurveValue()Creates a CurveValue from topic and curve.
CurveValue(T topic, AnimationCurve curve)Creates a CurveValue from topic and curve.

Fields​

2 private and internal fields
MemberWhat it is
private AnimationCurve curveBacking field for Curve.
private T topicBacking field for Topic.

Properties​

MemberWhat it is
AnimationCurve Curve { get; }The curve for the topic.
T Topic { get; }What the curve applies to.