Class ShaderGUI
Assembly: UnityEditor.dll
Syntax
public abstract class ShaderGUI
Methods
|
Improve this Doc
View Source
AssignNewShaderToMaterial(Material, Shader, Shader)
Declaration
public virtual void AssignNewShaderToMaterial(Material material, Shader oldShader, Shader newShader)
Parameters
|
Improve this Doc
View Source
FindProperty(String, MaterialProperty[])
Declaration
protected static MaterialProperty FindProperty(string propertyName, MaterialProperty[] properties)
Parameters
Returns
|
Improve this Doc
View Source
FindProperty(String, MaterialProperty[], Boolean)
Declaration
protected static MaterialProperty FindProperty(string propertyName, MaterialProperty[] properties, bool propertyIsMandatory)
Parameters
Returns
|
Improve this Doc
View Source
OnClosed(Material)
Declaration
public virtual void OnClosed(Material material)
Parameters
|
Improve this Doc
View Source
OnGUI(MaterialEditor, MaterialProperty[])
Declaration
public virtual void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
Parameters
|
Improve this Doc
View Source
OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
Declaration
public virtual void OnMaterialInteractivePreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background)
Parameters
|
Improve this Doc
View Source
OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
Declaration
public virtual void OnMaterialPreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background)
Parameters
|
Improve this Doc
View Source
OnMaterialPreviewSettingsGUI(MaterialEditor)
Declaration
public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)
Parameters
Extension Methods