Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

MaterialEditor.GetDefaultPropertyHeight

Declaration

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.