/// <summary> /// Set the width of this rect. /// </summary> public static Rect Width(this HUMMath.Data.SetRect set, float value) { return(new Rect(set.rect.x, set.rect.y, value, set.rect.height)); }
/// <summary> /// Set the height of this rect. /// </summary> public static Rect Height(this HUMMath.Data.SetRect set, float value) { return(new Rect(set.rect.x, set.rect.y, set.rect.width, value)); }
/// <summary> /// Set the X value of this rect. /// </summary> public static Rect X(this HUMMath.Data.SetRect set, float value) { return(new Rect(value, set.rect.y, set.rect.width, set.rect.height)); }