UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LinuxPlatformApplicationMisc Namespace Reference

Functions

float QuantizeScale (float Scale)
 

Function Documentation

◆ QuantizeScale()

float LinuxPlatformApplicationMisc::QuantizeScale ( float  Scale)

Round the scale to 0.5, 1, 1.5, etc (note - step coarser than 0.25 is needed because a lot of monitors are 107-108 DPI and not 96).