Creates a new context with user-provided persistent property storage.
Optionaloptions: { OptionalcustomThe inspector that owns the field inspector.
OptionalincludeDetermines whether immutable fields should be included in the inspector.
Optionalobject?: objectObject that inspector fields are editing.
Optionalpersistent?: SerializablePropertiesExisting object into which to inspectable fields can store persistent data.
OptionalrootThe root context. If null, the new context will be its own root.
OptionalundoThe UndoRedo stack of the inspector.
Optionalwindow?: EditorWindowBaseThe parent window that owns the inspector fields.
The owning InspectorFieldContainer.
The currently focused field.
Determines whether immutable fields should be included in the inspector.
Object 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.
ReadonlyrootThe InspectorContext of the root inspector.
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.