Documentation

Unity Engine

Unity Engine

perimeter

Get the perimeter length of the AABB, which is twice the sum of its width and height.
Read time 1 minuteLast updated 19 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly float perimeter { get; }