Screen.pixelRatio

Return the ratio between pixel and device coordinates (e.g. >= 2 on Mac Retina displays)

class Screen
const
float
pixelRatio
()

Meta