Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

leftTangentThe position of the left tangent in local space.
modeThe various modes of the tangent handles. They could be continuous or broken.
positionThe position of this point in the object's local space.
rightTangentThe position of the right tangent point in the local space.