Documentation

Unity Engine


Unity Engine


GetPropertyHeight

Calculate height needed for the property.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetPropertyHeight(MaterialProperty)

Calculate height needed for the property.
public float GetPropertyHeight(MaterialProperty prop)

Parameters

Returns

Type

Description

float

GetPropertyHeight(MaterialProperty, string)

Calculate height needed for the property.
public float GetPropertyHeight(MaterialProperty prop, string label)

Parameters

Returns

Type

Description

float