Düzenle

Aracılığıyla paylaş


BezierCurve Struct

Definition

Represents a bezier curve with as many points as you want.

[System.Serializable]
public struct BezierCurve
type BezierCurve = struct
Inheritance
BezierCurve
Attributes

Constructors

BezierCurve(IEnumerable<Vector2>)
BezierCurve(Single, IEnumerable<Vector2>)
BezierCurve(Single, Vector2[])

Constructs a new BezierCurve.

BezierCurve(Vector2[])

Constructs a new BezierCurve.

Fields

Parallel

The parallel value.

Properties

Points

Gets the points of this curve.

Methods

CalculateLength(IList<Vector2>, Single)
CalculateLength(IList<Vector2>, Single, Single)
CalculateLength(Single)

Calculates the length of this bezier curve.

CalculatePoint(IList<Vector2>, Single)
CalculatePoint(IList<Vector2>, Single, Single)
CalculatePoint(Single)

Applies to