Get Pixel Density

Get Pixel Density

Windows
MacOS
Linux

Returns the current VR pixel density. Pixel density sets the VR render target texture size as a factor of recommended texture size. The recommended texture size is the size that will result in no under sampling in most distorted area of the view when computing the final image to be displayed on the device by the runtime compositor.

Target is Head Mounted Display Function Library

Get Pixel Density
Return Value
0.0

Inputs

Outputs

Return Value
Float

(float) The pixel density to be used in VR mode.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss