ドキュメント

Unity Engine

Unity Engine

GetRectAfterLabelWidth(Rect)

Utility method for GUI layouting ShaderGUI. This is the rect after the label which can be used for multiple properties. The input rect can be fetched by calling: EditorGUILayout.GetControlRect.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Rect GetRectAfterLabelWidth(Rect r)

Parameters

Line Rect.

Returns

Type

Description

RectA sub rect of the input Rect.