Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

RectInt.ClampToBounds

public void ClampToBounds(RectInt bounds);

Parameters

boundsBounds 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: