EditorInterface.getEditorScale

Returns the actual scale of the editor UI (1.0 being 100% scale). This can be used to adjust position and dimensions of the UI added by plugins. Note: This value is set via the interface/editor/display_scale and interface/editor/custom_display_scale editor settings. Editor must be restarted for changes to be properly applied.

struct EditorInterface
@nogc nothrow const
double
getEditorScale
()

Meta