Scaling to Device Resolutions

You can use the Scale to Device property on the Transform2D component with the anchoring system to build UIs that display on multiple screen resolutions. The Scale to Device property applies an element scale that’s based on the ratio of the authored canvas size to the target canvas size.

To view the effects of this computation, open the Preview canvas in the UI Editor.

For more information about the Transform2D component’s Scale to Device property, see Scale to Device .


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.