기술 자료

Unity Engine

Unity Engine

DefaultShaderProperty

Handles UI for one shader property ignoring any custom drawers.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

DefaultShaderProperty(MaterialProperty, string)

Handles UI for one shader property ignoring any custom drawers.
public void DefaultShaderProperty(MaterialProperty prop, string label)

Parameters

Remarks

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

DefaultShaderProperty(Rect, MaterialProperty, string)

Handles UI for one shader property ignoring any custom drawers.
public void DefaultShaderProperty(Rect position, MaterialProperty prop, string label)

Parameters

Remarks

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