Description
The StereoTargetEye.Both
field is a member of the StereoTargetEye
enumeration in the Sandbox namespace. It is used to specify that both eyes should be rendered in stereo mode. This is particularly useful in virtual reality applications where a stereoscopic view is required for an immersive experience.
Usage
Use StereoTargetEye.Both
when you want to render content for both the left and right eyes in a stereo setup. This is typically used in settings or configurations where stereo rendering is supported and desired.
Example
// Example of using StereoTargetEye.Both in a VR setup
StereoTargetEye targetEye = StereoTargetEye.Both;
// Assuming a VR rendering setup
VRSettings.stereoTargetEye = targetEye;
// This will ensure that both eyes are rendered in stereo mode, providing a full 3D experience.