Table of Contents

Struct CurvePoint

Namespace
PluginUI
Assembly
PluginUI.dll

Breakpoint of a CurveEditor: position (0..1), value (0..1) and curvature of the segment that starts at this point (−1..1: negative = fast start, positive = slow start, 0 = straight).

public readonly record struct CurvePoint : IEquatable<CurvePoint>
Implements
Inherited Members

Constructors

CurvePoint(double, double, double)

Breakpoint of a CurveEditor: position (0..1), value (0..1) and curvature of the segment that starts at this point (−1..1: negative = fast start, positive = slow start, 0 = straight).

public CurvePoint(double X, double Y, double Curvature = 0)

Parameters

X double

Position in [0, 1].

Y double

Value in [0, 1].

Curvature double

Curvature of the segment towards the next point, in [−1, 1].

Properties

Curvature

Curvature of the segment towards the next point, in [−1, 1].

public double Curvature { get; init; }

Property Value

double

X

Position in [0, 1].

public double X { get; init; }

Property Value

double

Y

Value in [0, 1].

public double Y { get; init; }

Property Value

double