Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Captures presentation state before submitting content. Content-sized windows prepare before opening; explicitly sized resizable windows prepare after current input establishes their content bounds.

API: engine
Project: Inno.Editor.Core

public System.Numerics.Vector2? Inno.Editor.Core.EditorModal.Prepare(Inno.Editor.Core.EditorContext context, System.Numerics.Vector2 availableContentSize)

Parameter context: The owner-thread editor context for this frame.

Parameter availableContentSize: The bounded content area in current presentation coordinates, already scaled.

The required content size, or null for an explicitly sized window.

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

Exception T:System.ArgumentOutOfRangeException: The available extent is not finite and positive.