Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Prepares one presentation frame and quarantines callback failures within its owning presentation boundary.

API: engine
Project: Inno.Editor.Interactions

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)

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.

True when preparation succeeded; false when this extension is quarantined.

Exception T:System.ArgumentNullException: The context is null.