The StereoTargetEye.None
field is a member of the StereoTargetEye
enumeration in the Sandbox namespace. It specifies that rendering should not be performed in stereo, effectively disabling stereo rendering for the associated object or component.
The StereoTargetEye.None
field is a member of the StereoTargetEye
enumeration in the Sandbox namespace. It specifies that rendering should not be performed in stereo, effectively disabling stereo rendering for the associated object or component.
Use StereoTargetEye.None
when you want to ensure that a particular object or component does not render in stereo. This can be useful in scenarios where stereo rendering is not required or desired, such as when rendering UI elements or other non-immersive content.
// Example of using StereoTargetEye.None // Assume 'camera' is an instance of a Camera component camera.stereoTargetEye = StereoTargetEye.None; // This will ensure that the camera does not render in stereo, regardless of the VR settings.