Vizard 8 » Command Index » Vizard modules » VideoVision » <VideoVision>.swapeyes
8.1

<VideoVision>.swapeyes

Swap the camera for each eye

<VideoVision>.swapeyes()  

Remarks

This action will swap the camera for each eye. For example, if the left eye is currently receiving input from the left camera, then after this command it will receive input from the right camera. The same goes for the right eye.

Return Value

None

Example

import VideoVision
video = VideoVision.add()

#Swap the eyes so that the right camera goes to the left eye
#and the left camera goes to the right eye
video.swapeyes()

See also

<VideoVision>.invert
<VideoVision>.mirror
<VideoVision>.lefteye
<VideoVision>.righteye
<VideoVision>.reseteyes