Legacy Documentation: Version 2018.1 (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

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.

Did you find this page useful? Please give it a rating: