Show / Hide Table of Contents

Class MinMaxGradientPropertyDrawer

Inheritance
Object
GUIDrawer
PropertyDrawer
MinMaxGradientPropertyDrawer
Inherited Members
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
[CustomPropertyDrawer(typeof(ParticleSystem.MinMaxGradient))]
public class MinMaxGradientPropertyDrawer : PropertyDrawer

Methods

| Improve this Doc View Source

GetPropertyHeight(SerializedProperty, GUIContent)

Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type Name Description
SerializedProperty property
GUIContent label
Returns
Type Description
Single
Overrides
PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
| Improve this Doc View Source

OnGUI(Rect, SerializedProperty, GUIContent)

Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type Name Description
Rect position
SerializedProperty property
GUIContent label
Overrides
PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)

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