Skip to content
API referenceDevelopmentEditor scriptingEngine 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: scripting
Project: Inno.Editor.Core
Scope: Editor

public System.Numerics.Vector2? InnoEditor.Core.EditorModal.Prepare(InnoEditor.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.