Version 2.1.0.0

TransposeTableMatrixExample class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
[ShowOdinSerializedPropertiesInInspector]
[AttributeExample(typeof(TableMatrixAttribute), Name = "Transpose")]
public class TransposeTableMatrixExample
Inheritance
  • System.Object
  • TransposeTableMatrixExample

Constructors

TransposeTableMatrixExample()
public TransposeTableMatrixExample()

Fields

CustomCellDrawing
[TableMatrix(HorizontalTitle = "Custom Cell Drawing", DrawElementMethod = "DrawColoredEnumElement", ResizableColumns = false, RowHeight = 16)]
public bool[, ] CustomCellDrawing

Properties

Transposed
[ShowInInspector]
[DoNotDrawAsReference]
[TableMatrix(HorizontalTitle = "Transposed Custom Cell Drawing", DrawElementMethod = "DrawColoredEnumElement", ResizableColumns = false, RowHeight = 16, Transpose = true)]
public bool[, ] Transposed { get; set; }

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.