EvalNormal(BezierSegment, float)
Evalutes the normal on a curve segment.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static Vector2 EvalNormal(BezierSegment segment, float t)
Parameters
The curve segment on which to evaluate the normal
The parametric location on the curve
Returns
Type | Description |
|---|---|
| Vector2 | The normal of the curve at parametric location "t" |
Remarks
A positive normal at a point on the bezier curve is always on the right side of the forward direction (tangent) of the curve at that point.