Synced
EditorModal.Prepare
Section titled “EditorModal.Prepare”
- Captures presentation state before submitting content. Content-sized windows prepare before opening; explicitly sized resizable windows prepare after current input establishes their content bounds.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Core
Scope: Editor
Declaration
Section titled “Declaration”public System.Numerics.Vector2? InnoEditor.Core.EditorModal.Prepare(InnoEditor.Core.EditorContext context, System.Numerics.Vector2 availableContentSize)Parameters
Section titled “Parameters”Parameter context: The owner-thread editor context for this frame.
Parameter availableContentSize: The bounded content area in current presentation coordinates, already scaled.
Returns
Section titled “Returns”The required content size, or null for an explicitly sized window.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The context is null.
Exception T:System.ArgumentOutOfRangeException: The available extent is not finite and positive.