기술 자료

Unity Engine

Unity Engine

GetFlexibleRectBetweenFieldAndRightEdge(Rect)

Utility method for GUI layouting ShaderGUI. Used e.g for the rect after a left aligned Color field.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static Rect GetFlexibleRectBetweenFieldAndRightEdge(Rect r)

Parameters

Field Rect.

Returns

Type

Description

RectA sub rect of the input Rect.