Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

MaterialEditor.GetPropertyHeight

GetPropertyHeight(prop: MaterialProperty): float;
float GetPropertyHeight(MaterialProperty prop);
def GetPropertyHeight(prop as MaterialProperty) as float
GetPropertyHeight(prop: MaterialProperty, label: string): float;
float GetPropertyHeight(MaterialProperty prop, string label);
def GetPropertyHeight(prop as MaterialProperty, label as string) as float

Description

Calculate height needed for the property.