robot_2Generated
code_blocksInput

Description

The StereoTargetEye.RightEye field is a member of the StereoTargetEye enumeration within the Sandbox namespace. It specifies that rendering should be performed only for the right eye in a stereo rendering setup. This is useful in virtual reality applications where you need to control which eye receives the rendered image.

Usage

Use StereoTargetEye.RightEye when you want to render content specifically for the right eye in a stereo rendering context. This can be set on components or systems that support stereo rendering, allowing you to control the output for VR headsets or other stereo display systems.

Example

// Example of setting the stereo target eye to RightEye
StereoTargetEye targetEye = StereoTargetEye.RightEye;

// Use the targetEye variable in a rendering context
// For example, setting it on a camera component
CameraComponent camera = new CameraComponent();
camera.StereoTargetEye = targetEye;