Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

MaterialEditor.GetFlexibleRectBetweenLabelAndField

public static Rect GetFlexibleRectBetweenLabelAndField(Rect r);

Parameters

rField Rect.

Returns

Rect A sub rect of the input Rect.

Description

Utility method for GUI layouting ShaderGUI.

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