Synced
EditorStyleMetrics.SetZoom
Section titled “EditorStyleMetrics.SetZoom”
- Requests a bounded zoom without changing metrics partway through an owned native frame.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.EditorStyleMetrics.SetZoom(float value)Parameters
Section titled “Parameters”Parameter value: The requested UI zoom multiplier.
Returns
Section titled “Returns”true when the requested zoom changed; owned drawing applies it at the next frame preparation.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: Thrown when value is not finite.
Exception T:System.ObjectDisposedException: The owning session has retired or is no longer available.
Exception T:System.InvalidOperationException: The caller is not the owning session’s thread.