Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseControls the actual size of eye textures as a multiplier of the device's default resolution.
A value of 1.0 will use the default eye texture resolution specified by the XR device. Values less than 1.0 will use lower resolution eye textures, which can possibly improve performance at the expense of a less sharp image. Values greater than 1.0 will use higher resolution eye textures, which can potentially result in a sharper image at the cost of performance and memory.
This will always reallocate eye textures, which can be an expensive operation. For dynamically changing eye render resolution on the fly, consider using XRSettings.renderViewportScale instead.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information