Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


border

Returns the border sizes of the Sprite.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector4 border { get; }

Remarks

X=left, Y=bottom, Z=right, W=top.