文档

Unity Engine

Download Unity

Unity Engine

GetPerimeter()

Get the length of the perimeter of the shape.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float GetPerimeter()

Returns

Type

Description

floatThe length of the perimeter of the shape.