예제 #1
0
        ////////////////////////////////////
        // Drawing Functions              //
        ////////////////////////////////////
        #region DrawingFunctions

        internal void DrawShaderGraphProperties(Material material, IEnumerable <MaterialProperty> properties)
        {
            if (properties == null)
            {
                return;
            }

            ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties);
        }
예제 #2
0
        static void DrawShaderGraphProperties(MaterialEditor materialEditor, Material material, MaterialProperty[] properties)
        {
            if (properties == null)
            {
                return;
            }

            ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties);
        }
예제 #3
0
 /// <summary>
 /// Draws the material properties.
 /// </summary>
 /// <param name="properties">List of Material Properties to draw</param>
 protected void PropertiesDefaultGUI(MaterialProperty[] properties)
 {
     ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, properties);
 }
예제 #4
0
 public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
 {
     ShaderGraphPropertyDrawers.DrawShaderGraphGUI(materialEditor, props);
 }