Synced
EditorModal.OnPrepare
Section titled “EditorModal.OnPrepare”
- Captures the state consumed by OnDraw and measures it without drawing or performing domain operations. Content-sized modals must return a finite, nonnegative size. Fixed-size modals may return null.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Core
Declaration
Section titled “Declaration”protected virtual System.Numerics.Vector2? Inno.Editor.Core.EditorModal.OnPrepare(Inno.Editor.Core.EditorContext context, System.Numerics.Vector2 availableContentSize)Parameters
Section titled “Parameters”Parameter context: The current owner-thread context.
Parameter availableContentSize: The bounded, already scaled content area.
Returns
Section titled “Returns”The content extent required by the captured state, or null for explicit sizing.