ImGuiWidget.MeasureDialog
Section titled “ImGuiWidget.MeasureDialog”
- Measures current dialog content before its window is opened. The returned geometry must be used with the same presentation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.ImGui.ImGuiWidget.DialogLayout Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.MeasureDialog(Inno.Editor.ImGui.ImGuiWidget.DialogPresentation presentation, System.Numerics.Vector2 availableSize)Parameters
Section titled “Parameters”Parameter presentation: The immutable content captured for this frame.
Parameter availableSize: The bounded content area in already scaled presentation coordinates.
Returns
Section titled “Returns”The bounded current-frame layout, including a single scrolling body when required.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The message is null.
Exception T:System.ArgumentException: The message, expanded details or action label contain an embedded zero code unit.
Exception T:System.Text.EncoderFallbackException: The message, expanded details or action label contain invalid Unicode.
Exception T:System.ArgumentOutOfRangeException: The available dimensions are not finite and positive, or a determinate progress fraction is outside zero through one.
Exception T:System.InvalidOperationException: The owning frame, context or thread is not active.
Exception T:System.ObjectDisposedException: The owning UI session has retired.