LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

TreeView.GetCellRectForTreeFoldouts

protected Rect GetCellRectForTreeFoldouts(Rect rowRect);

Parameters

rowRectRect for a row.

Returns

Rect Cell rect in a multi column setup.

Description

Utility for multi column setups. This method will clip the input rowRect against the column rect defined by columnIndexForTreeFoldouts to get the cell rect where the the foldout arrows appear.