Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pixelsPerPoint

The scale of GUI points relative to screen pixels for the current view This value is the number of screen pixels per point of interface space. For instance, 2.0 on retina displays. Note that the value may differ from one view to the next if the views are on monitors with different UI scales.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static float pixelsPerPoint { get; }

Remarks