Synced
PropertyDrawContext.DrawChild
Section titled “PropertyDrawContext.DrawChild”
- Draws a nested value whose setter writes through this property path.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Inspection
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Inspection.PropertyDrawContext.DrawChild(string childName, System.Type childType, System.Func<object?> getter, System.Action<object?> setter, bool readOnly = false)Parameters
Section titled “Parameters”Parameter childName: The stable child member name appended to this property path.
Parameter childType: The declared type used to resolve a property drawer.
Parameter getter: The callback that reads the latest child value.
Parameter setter: The callback that writes an edited child value.
Parameter readOnly: Whether the child should be presented without assignment support.