Version: 2022.3
언어: 한국어
public static float dpi ;

설명

The current DPI of the screen / device (Read Only).

This is the actual DPI of the screen or physical device running the application. Returns 0 if unable to determine the current DPI.
Note: On Android devices this returns densityDpi which is a logical bucket that contains a range of DPI values. If you need a more precise dpi value, see this forum thread.