Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyHeight

Calculate height needed for the property.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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