DefaultShaderProperty
Handles UI for one shader property ignoring any custom drawers.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
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.