public enum VREye
- Object
- Enum<VREye>
- VREye
ImplementsComparable<VREye>
Identifies which eye a
VRRenderer frame is being rendered for.Enum constants
LEFT | The left eye in stereo mode. |
RIGHT | The right eye in stereo mode. |
CENTER | The 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
LEFTThe left eye in stereo mode. Offset half the interpupillary distance to
the left of the head center.
RIGHT
RIGHTThe right eye in stereo mode. Offset half the interpupillary distance
to the right of the head center.
CENTER
CENTERThe 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.