ReferenceSystemSystem:getDpi()✦Use with AI▾このページの見出しSystem:getDpi() デバイスの画面密度を dpi(dots per inch)で取得します。 シグネチャ System:getDpi(): number 戻り値 number - ディスプレイの密度。例: 420。 例 local dpi = System:getDpi()toast("Screen density: " .. dpi .. " dpi") 対応バージョン: 1.0.0.37 以上