Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Defines non-dockable modal editor content.

API: engine
Inherits: object
Project: Inno.Editor.Core

public abstract class Inno.Editor.Core.EditorModal
Kind Element Description
Constructors EditorModal.Constructor No XML description is available.
Methods EditorModal.Draw Draws the modal body inside the runtime-managed centered window.
Methods EditorModal.OnDraw Draws the modal body inside the runtime-managed centered window.
Methods EditorModal.OnPrepare 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.
Methods EditorModal.Prepare Captures presentation state before submitting content. Content-sized windows prepare before opening; explicitly sized resizable windows prepare after current input establishes their content bounds.
Properties EditorModal.allowScrolling Gets whether the modal window owns scrolling when its content overflows. Disable this when a child region owns all scrolling.
Properties EditorModal.blocksInteraction Gets whether the modal prevents interaction with regular editor views.
Properties EditorModal.canMove Gets whether the modal window can be moved inside the main viewport.
Properties EditorModal.canResize Gets whether the modal window can be resized by the user.
Properties EditorModal.initialSize Gets the initial modal size in unscaled editor units, or P:System.Numerics.Vector2.Zero when the runtime should size the modal from its content.
Properties EditorModal.isVisible Gets whether the modal should currently be visible.
Properties EditorModal.minimumSize Gets the minimum modal size in unscaled editor units, or P:System.Numerics.Vector2.Zero when no explicit minimum is required.