Synced
EditorModalExtension.TryPrepare
Section titled “EditorModalExtension.TryPrepare”
- Prepares one presentation frame and quarantines callback failures within its owning presentation boundary.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public bool Inno.Editor.Interactions.EditorModalExtension.TryPrepare(Inno.Editor.Core.EditorContext context, Inno.Editor.Interactions.EditorModalExtension.Presentation presentation, System.Numerics.Vector2 availableContentSize, out System.Numerics.Vector2? contentSize)Parameters
Section titled “Parameters”Parameter context: The active owner-thread context.
Parameter presentation: The window policy already captured for this presentation attempt.
Parameter availableContentSize: The bounded content size in current presentation coordinates.
Parameter contentSize: The measured extent, or null for explicit sizing or failed preparation.
Returns
Section titled “Returns”True when preparation succeeded; false when this extension is quarantined.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The context is null.