ドキュメント

Unity Engine

Unity Engine

DefaultShaderProperty

Handles UI for one shader property ignoring any custom drawers.
読み終わるまでの所要時間 1 分最終更新 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.