Version 2.1.0.0

Vector4Drawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public sealed class Vector4Drawer : OdinValueDrawer<Vector4>, IDefinesGenericMenuItems
Vector4 property drawer.
Inheritance

Constructors

Vector4Drawer()
public Vector4Drawer()

Methods

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

PopulateGenericMenu(InspectorProperty, GenericMenu)
Populates the generic menu for the property.
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
Parameters
InspectorProperty property

UnityEditor.GenericMenu genericMenu

Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.