Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialEditor.GetTexturePropertyCustomArea

public Rect GetTexturePropertyCustomArea(Rect position);

Parameters

position The 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.