RectInt.ClampToBounds

Declaration

public void ClampToBounds(RectInt bounds);

Parameters

Parameter Description
bounds Bounds to clamp the RectInt.

Description

Clamps the position and size of the RectInt to the given bounds.


Did you find this page useful? Please give it a rating: