Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.