RectInt.ClampToBounds

public void ClampToBounds(RectInt bounds);

Parameters

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: