Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • 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.

API: scripting
Project: Inno.Editor.Core
Scope: Editor

protected virtual System.Numerics.Vector2? InnoEditor.Core.EditorModal.OnPrepare(InnoEditor.Core.EditorContext context, System.Numerics.Vector2 availableContentSize)

Parameter context: The current owner-thread context.

Parameter availableContentSize: The bounded, already scaled content area.

The content extent required by the captured state, or null for explicit sizing.