文档

Unity Engine

Unity Engine

ShapeControlPoint

Data that describes the important points of the shape.
阅读时间1 分钟最后更新于 1 个月前

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.