DefaultShaderProperty
Handles UI for one shader property ignoring any custom drawers.
Read time 1 minuteLast updated 6 days ago
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.