Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

MaterialEditor.GetDefaultPropertyHeight

public static float GetDefaultPropertyHeight(MaterialProperty prop);

Description

Calculate height needed for the property, ignoring custom drawers.

This is similar to GetPropertyHeight, except it ignores any custom MaterialPropertyDrawer objects.