This version of Unity is unsupported.

MaterialEditor.DefaultShaderProperty

Declaration

public void DefaultShaderProperty(MaterialProperty prop, string label);

Declaration

public void DefaultShaderProperty(Rect position, MaterialProperty prop, string label);

Description

Handles UI for one shader property ignoring any custom drawers.

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