Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDefaultPropertyHeight(MaterialProperty)

Calculate height needed for the property, ignoring custom drawers.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static float GetDefaultPropertyHeight(MaterialProperty prop)

Parameters

Returns

Type

Description

float

Remarks

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