Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


xMin

The minimum X coordinate of the rectangle.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float xMin { readonly get; set; }

Remarks

This value is the same as Rect.x, but setting it will resize the rectangle, changing Rect.x and Rect.width to preserve Rect.xMax.