book_4_sparkGenerated
code_blocksInput

Description

The LeftEye field is a member of the StereoTargetEye enumeration in the Sandbox namespace. It specifies that only the left eye should be rendered in stereo rendering scenarios. This is useful in virtual reality applications where rendering for a specific eye is required.

Usage

Use the LeftEye field when you need to render content specifically for the left eye in a stereo rendering setup. This can be particularly useful in VR applications where different content or effects might be applied to each eye to enhance the 3D experience.

Example

// Example of using StereoTargetEye.LeftEye
StereoTargetEye targetEye = StereoTargetEye.LeftEye;

// Use targetEye in a rendering context
if (targetEye == StereoTargetEye.LeftEye)
{
    // Render logic for the left eye
}