Show / Hide Table of Contents

Class ShaderGUI

Inheritance
Object
ShaderGUI
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
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
Type Name Description
Material material
Shader oldShader
Shader newShader
| Improve this Doc View Source

FindProperty(String, MaterialProperty[])

Declaration
protected static MaterialProperty FindProperty(string propertyName, MaterialProperty[] properties)
Parameters
Type Name Description
String propertyName
MaterialProperty[] properties
Returns
Type Description
MaterialProperty
| Improve this Doc View Source

FindProperty(String, MaterialProperty[], Boolean)

Declaration
protected static MaterialProperty FindProperty(string propertyName, MaterialProperty[] properties, bool propertyIsMandatory)
Parameters
Type Name Description
String propertyName
MaterialProperty[] properties
Boolean propertyIsMandatory
Returns
Type Description
MaterialProperty
| Improve this Doc View Source

OnClosed(Material)

Declaration
public virtual void OnClosed(Material material)
Parameters
Type Name Description
Material material
| Improve this Doc View Source

OnGUI(MaterialEditor, MaterialProperty[])

Declaration
public virtual void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
Parameters
Type Name Description
MaterialEditor materialEditor
MaterialProperty[] properties
| Improve this Doc View Source

OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)

Declaration
public virtual void OnMaterialInteractivePreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background)
Parameters
Type Name Description
MaterialEditor materialEditor
Rect r
GUIStyle background
| Improve this Doc View Source

OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)

Declaration
public virtual void OnMaterialPreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background)
Parameters
Type Name Description
MaterialEditor materialEditor
Rect r
GUIStyle background
| Improve this Doc View Source

OnMaterialPreviewSettingsGUI(MaterialEditor)

Declaration
public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)
Parameters
Type Name Description
MaterialEditor materialEditor

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX