Hi, I want to change the DEVICE PIXEL RATIO in script dynamically. How do I do ?
Thank you !
Hi, I want to change the DEVICE PIXEL RATIO in script dynamically. How do I do ?
Thank you !
this.app.graphicsDevice.maxPixelRatio = window.devicePixelRatio;
I just noticed that we havenβt documented maxPixelRatio yet. Whoops.
Hello, will. In the project setting, we can check / uncheck the USE DEVICE PIXEL RATIO
. If we uncheck this option, itβs meaning that maxPixlRatio equals 1 ?
Thatβs correct, yes.
thanks!