Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scaledPixelsPerPoint

Gives the current scaled pixels per point value of the panel.
Read time 1 minuteLast updated 12 days ago

Definition

float scaledPixelsPerPoint { get; }

Remarks

Return the resulting scaling that considers all effective inputs like the screen scaling factor from the operating system and the customizable scaling factor. The screen scaling factor could be overriden in the editor settings by the user and is not available in the player. The customizable scaling factor is set in the panel settings for runtime UI and always set to 1 in the editor.