文档

Unity Engine

Unity Engine

GetLeftAlignedFieldRect(Rect)

Utility method for GUI layouting ShaderGUI.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

Field Rect.

Returns

Type

Description

RectA sub rect of the input Rect.