文档

Unity Engine

Download Unity

Unity Engine

GetTexturePropertyCustomArea(Rect)

Returns the free rect below the label and before the large thumb object field. Is used for e.g. tiling and offset properties.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Rect GetTexturePropertyCustomArea(Rect position)

Parameters

position

The total rect of the texture property.

Returns

Type

Description

RectThe area below the label and before the large thumbnail field.