Documentation

Unity Engine

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.
Read time 1 minuteLast updated 2 months ago

Definition

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

Parameters

position

The total rect of the texture property.

Returns

Type

Description

Rect