BezierCurveQuadric BezierCurveQuadric Struct

Definition

Represents a quadric bezier curve with two anchor and one control point.

[System.Serializable]
public struct BezierCurveQuadric
type BezierCurveQuadric = struct
Inheritance
BezierCurveQuadricBezierCurveQuadric
Attributes

Constructors

BezierCurveQuadric(Vector2, Vector2, Vector2) BezierCurveQuadric(Vector2, Vector2, Vector2)

Constructs a new BezierCurveQuadric.

BezierCurveQuadric(Single, Vector2, Vector2, Vector2) BezierCurveQuadric(Single, Vector2, Vector2, Vector2)

Constructs a new BezierCurveQuadric.

Fields

ControlPoint ControlPoint

Control point, controls the direction of both endings of the curve.

EndAnchor EndAnchor

End anchor point.

Parallel Parallel

The parallel value.

StartAnchor StartAnchor

Start anchor point.

Methods

CalculateLength(Single) CalculateLength(Single)

Calculates the length of this bezier curve.

CalculatePoint(Single) CalculatePoint(Single)

Applies to