Synced
EditorModalExtension.Presentation.Constructor
Section titled “EditorModalExtension.Presentation.Constructor”
- Creates an immutable modal presentation snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.