Version: 2019.2

MaterialEditor.GetFlexibleRectBetweenLabelAndField

Switch to Manual
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.