BezierCurveCubic BezierCurveCubic Struct

Definition

Represents a cubic bezier curve with two anchor and two control points.

[System.Serializable]
public struct BezierCurveCubic
type BezierCurveCubic = struct
Inheritance
BezierCurveCubicBezierCurveCubic
Attributes

Constructors

BezierCurveCubic(Vector2, Vector2, Vector2, Vector2) BezierCurveCubic(Vector2, Vector2, Vector2, Vector2)

Constructs a new BezierCurveCubic.

BezierCurveCubic(Single, Vector2, Vector2, Vector2, Vector2) BezierCurveCubic(Single, Vector2, Vector2, Vector2, Vector2)

Constructs a new BezierCurveCubic.

Fields

EndAnchor EndAnchor

End anchor point.

FirstControlPoint FirstControlPoint

First control point, controls the direction of the curve start.

Parallel Parallel

Gets or sets the parallel value.

SecondControlPoint SecondControlPoint

Second control point, controls the direction of the curve end.

StartAnchor StartAnchor

Start anchor point.

Methods

CalculateLength(Single) CalculateLength(Single)

Calculates the length of this bezier curve.

CalculatePoint(Single) CalculatePoint(Single)

Applies to