文档

Unity Engine

Unity Engine

physicalDpi

The current pixel density of the display measured in dots-per-inch (DPI).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float physicalDpi

Remarks

This field is set to
0
if the current DPI cannot be determined.