Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

EditorModalExtension.Presentation.Constructor

Section titled “EditorModalExtension.Presentation.Constructor”
  • Creates an immutable modal presentation snapshot.

API: engine
Project: Inno.Editor.Interactions

public Inno.Editor.Interactions.EditorModalExtension.Presentation.Presentation(bool isVisible, bool blocksInteraction, bool canMove, bool canResize, bool allowScrolling, System.Numerics.Vector2 initialSize, System.Numerics.Vector2 minimumSize)

Parameter isVisible: Whether the modal should currently be visible.

Parameter blocksInteraction: Whether the modal blocks regular editor interaction.

Parameter canMove: Whether the modal window can be moved.

Parameter canResize: Whether the modal window can be resized.

Parameter allowScrolling: Whether the modal window owns overflow scrolling.

Parameter initialSize: The initial size in unscaled editor units.

Parameter minimumSize: The minimum size in unscaled editor units.