public enum VREye

  1. Object
  2. Enum<VREye>
  3. VREye

ImplementsComparable<VREye>

Identifies which eye a VRRenderer frame is being rendered for.

Enum constants

LEFTThe left eye in stereo mode.
RIGHTThe right eye in stereo mode.
CENTERThe single centered viewpoint used in mono mode.

Methods

public static VREye[] values()
public static VREye valueOf(String name)
public int offsetSign()The sign of this eye’s horizontal offset from the head center: -1 for LEFT, 1 for RIGHT, 0 for CENTER.

Inherited methods

Enum constant details

LEFT

LEFT
The left eye in stereo mode. Offset half the interpupillary distance to the left of the head center.

CENTER

CENTER
The single centered viewpoint used in mono mode.

Method details

values

public static VREye[] values()

valueOf

public static VREye valueOf(String name)

offsetSign

public int offsetSign()
The sign of this eye’s horizontal offset from the head center: -1 for LEFT, 1 for RIGHT, 0 for CENTER.