기술 자료

Unity Engine

Unity Engine

GetPropertyHeight

Calculate height needed for the property.
읽는 시간 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