기술 자료

Unity Engine

Unity Engine

GetDefaultPropertyHeight(MaterialProperty)

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