ShapeControlPoint
Data that describes the important points of the shape.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.SpriteShapeModule
public struct ShapeControlPoint
Fields
Value | Description |
|---|---|
| leftTangent | The position of the left tangent in local space. |
| mode | The various modes of the tangent handles. They could be continuous or broken. |
| position | The position of this point in the object's local space. |
| rightTangent | The position of the right tangent point in the local space. |