LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

MaterialEditor.GetTexturePropertyCustomArea

public Rect GetTexturePropertyCustomArea(Rect position);

Parameters

positionThe total rect of the texture property.

Description

Returns the free rect below the label and before the large thumb object field. Is used for e.g. tiling and offset properties.