Edytuj

Udostępnij za pośrednictwem


BezierCurveQuadric Struct

Definition

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

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

Constructors

BezierCurveQuadric(Single, Vector2, Vector2, Vector2)

Constructs a new BezierCurveQuadric.

BezierCurveQuadric(Vector2, Vector2, Vector2)

Constructs a new BezierCurveQuadric.

Fields

ControlPoint

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

EndAnchor

End anchor point.

Parallel

The parallel value.

StartAnchor

Start anchor point.

Methods

CalculateLength(Single)

Calculates the length of this bezier curve.

CalculatePoint(Single)

Applies to