TwoDimensionalArrayDrawer<TArray, TElement>

Base class for two-dimentional array drawers.

namespace Sirenix.OdinInspector.Editor.Drawers
{
public abstract class TwoDimensionalArrayDrawer<TArray, TElement> : OdinValueDrawer<TArray>
where TArray : IList
}

Requirements

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Properties

Return Type Definition Description
TableMatrixAttribute TableMatrixAttribute Not yet documented.

Methods

Return Type Definition Description
bool CanDrawTypeFilter(Type)

Override this method in order to define custom type constraints to specify whether or not a type should be drawn by the drawer.

Note that Odin's DrawerLocator has full support for generic class constraints, so most often you can get away with not overriding CanDrawTypeFilter.

bool CompareElement(TElement, TElement) Compares the element.
TElement DrawElement(Rect, TElement) Draws a table cell element.
void DrawPropertyLayout(GUIContent) Draws the property.
void DrawPropertyLayout(IPropertyValueEntry<TArray>, GUIContent) Draws the property.
TableMatrixAttribute GetDefaultTableMatrixAttributeSettings() Not yet documented.