文档

Unity Engine

Unity Engine

GetPropertyHeight

Calculate height needed for the property.
阅读时间1 分钟最后更新于 1 个月前

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