The ImGui calls the property inspector draws through.
ImGui has one context, and it is the editor's. A managed drawing library allocates its own, so the managed side cannot draw with an ImGui of its own and goes through these instead.
These are only reachable from inside the editor's draw, which is what keeps a build with no editor from ever calling them.
A row is the key in column 0 and one widget in column 1. The widget answers with true when the value changed, and the value it worked on comes back through the buffer the caller gave, because the surface owns no memory the managed side can read afterwards.
|
| static RowCode | Section (string title, string propertyName, bool authored) |
| | The section row.
|
| static bool | BeginTable (string id) |
| static void | EndTable () |
| static void | RowText (string key, string value, string description) |
| static void | RowTextDisabled (string key, string value, string description) |
| static unsafe bool | RowInt (string key, int value, out int result, string description) |
| static unsafe bool | RowFloat (string key, float value, out float result, string description) |
| static unsafe bool | RowBool (string key, bool value, out bool result, string description) |
| static unsafe bool | RowString (string key, string value, byte[] buffer, string description) |
| | The value the user typed is written into the buffer the caller gave.
|
| static unsafe bool | RowCombo (string key, byte[] options, int index, out int result, string description) |
| | The options are the names separated by a zero byte and terminated by two, which is the form ImGui's combo takes.
|
| static unsafe bool | RowFloats (string key, float[] values, int count, string description) |
| | The components of one field.
|
| static void | PushId (string id) |
| static void | PopId () |
| static void | TextDisabled (string text) |
| static bool | RowMarker (string key, bool authored, string tip) |
| | The override marker on a row, drawn after the widget the row's value column has.
|
| static bool | IsAnyItemActive () |
|
| static int | SectionCall (string title, string propertyName, [MarshalAs(UnmanagedType.I1)] bool authored) |
| static bool | BeginTableCall (string id) |
| static void | EndTableCall () |
| static void | RowTextCall (string key, string value, string description) |
| static void | RowTextDisabledCall (string key, string value, string description) |
| static bool | RowIntCall (string key, int value, IntPtr outValue, string description) |
| static bool | RowFloatCall (string key, float value, IntPtr outValue, string description) |
| static bool | RowBoolCall (string key, [MarshalAs(UnmanagedType.I1)] bool value, IntPtr outValue, string description) |
| static bool | RowStringCall (string key, string value, IntPtr outBuffer, int outLen, string description) |
| static bool | RowComboCall (string key, IntPtr options, int index, IntPtr outIndex, string description) |
| static bool | RowFloatsCall (string key, IntPtr values, int count, string description) |
| static void | PushIdCall (string id) |
| static void | PopIdCall () |
| static void | TextDisabledCall (string text) |
| static bool | RowMarkerCall (string key, [MarshalAs(UnmanagedType.I1)] bool authored, string tip) |
| static bool | IsAnyItemActiveCall () |