Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RectInt.ClampToBounds

Declaration

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.