Class EditorMaterialUtility
Inheritance
EditorMaterialUtility
Assembly: UnityEditor.dll
Syntax
public sealed class EditorMaterialUtility
Methods
IsBackgroundMaterial(Material)
Declaration
public static bool IsBackgroundMaterial(Material material)
Parameters
Returns
ResetDefaultTextures(Material, Boolean)
Declaration
public static void ResetDefaultTextures(Material material, bool overrideSetTextures)
Parameters
SetShaderDefaults(Shader, String[], Texture[])
Declaration
public static void SetShaderDefaults(Shader shader, string[] name, Texture[] textures)
Parameters
SetShaderNonModifiableDefaults(Shader, String[], Texture[])
Declaration
public static void SetShaderNonModifiableDefaults(Shader shader, string[] name, Texture[] textures)
Parameters
Extension Methods