기술 자료

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분최근 업데이트: 한 달 전

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.