Show / Hide Table of Contents

Class MaterialPropertyDrawer

Inheritance
Object
MaterialPropertyDrawer
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 MaterialPropertyDrawer

Methods

| Improve this Doc View Source

Apply(MaterialProperty)

Declaration
public virtual void Apply(MaterialProperty prop)
Parameters
Type Name Description
MaterialProperty prop
| Improve this Doc View Source

GetPropertyHeight(MaterialProperty, String, MaterialEditor)

Declaration
public virtual float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Type Name Description
MaterialProperty prop
String label
MaterialEditor editor
Returns
Type Description
Single
| Improve this Doc View Source

OnGUI(Rect, MaterialProperty, String, MaterialEditor)

Declaration
public virtual void OnGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Type Name Description
Rect position
MaterialProperty prop
String label
MaterialEditor editor
| Improve this Doc View Source

OnGUI(Rect, MaterialProperty, GUIContent, MaterialEditor)

Declaration
public virtual void OnGUI(Rect position, MaterialProperty prop, GUIContent label, MaterialEditor editor)
Parameters
Type Name Description
Rect position
MaterialProperty prop
GUIContent label
MaterialEditor editor

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