Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


physicalDpi

The current pixel density of the display measured in dots-per-inch (DPI).
Read time 1 minuteLast updated 9 days ago

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.