Class RelativePropertiesDrawer
Custom property drawer that renders automatically a set of properties of a given object
Inheritance
RelativePropertiesDrawer
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public abstract class RelativePropertiesDrawer : PropertyDrawer
Properties
relativePropertiesNames
Declaration
protected abstract string[] relativePropertiesNames { get; }
Property Value
Methods
CreatePropertyGUI(SerializedProperty)
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
Returns
Overrides
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Returns
Overrides
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Overrides
Extension Methods