Düzenle

Aracılığıyla paylaş


BezierCurveCubic Struct

Definition

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

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

Constructors

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

Constructs a new BezierCurveCubic.

BezierCurveCubic(Vector2, Vector2, Vector2, Vector2)

Constructs a new BezierCurveCubic.

Fields

EndAnchor

End anchor point.

FirstControlPoint

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

Parallel

Gets or sets the parallel value.

SecondControlPoint

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

StartAnchor

Start anchor point.

Methods

CalculateLength(Single)

Calculates the length of this bezier curve.

CalculatePoint(Single)

Applies to