Creates a new context with user-provided persistent property storage.
Optionaloptions: { OptionalcustomThe inspector that owns the field inspector.
Optionalobject?: objectObject that inspector fields are editing.
Optionalpersistent?: SerializablePropertiesExisting object into which to inspectable fields can store persistent data.
OptionalundoThe UndoRedo stack of the inspector.
Optionalwindow?: EditorWindowBaseThe parent window that owns the inspector fields.
The owning InspectorFieldContainer.
ReadonlyinspectedObject that inspector fields are editing.
ReadonlyinspectorThe inspector that owns the InspectorFieldContainer.
True to always expand children.
ReadonlypersistentA set of properties that the inspector can read/write. They will be persisted even after the inspector is closed and restored when it is re-opened.
ReadonlyundoThe undoRedo stack to which commands should be recorded to. If null, no undo/redo commands are recorded.
ReadonlywindowThe window that owns the inspector fields.
The InspectorContext class provides information used by a InspectorFormLayoutSection to pass context data to its InspectableField instances.