ドキュメント

Unity Engine

Unity Engine

GetDefaultPropertyHeight(MaterialProperty)

Calculate height needed for the property, ignoring custom drawers.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.