BezierCurve BezierCurve Struct

Definition

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

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

Constructors

BezierCurve(Vector2[]) BezierCurve(Vector2[])

Constructs a new BezierCurve.

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

Constructs a new BezierCurve.

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

Fields

Parallel Parallel

The parallel value.

Properties

Points Points

Gets the points of this curve.

Methods

CalculateLength(Single) CalculateLength(Single)

Calculates the length of this bezier curve.

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

Applies to