StereoDisplayRegion
from panda3d.core import StereoDisplayRegion
- class StereoDisplayRegion
Bases:
Bases:
DisplayRegionThis is a special
DisplayRegionwrapper that actually includes a pair ofDisplayRegionsinternally: the left and right eyes. TheDisplayRegionrepresented here does not have a physical association with the window, but it pretends it does. Instead, it maintains a pointer to the left and rightDisplayRegionsseparately.Operations on the StereoDisplayRegion object affect both left and right eyes together. To access the left or right eyes independently, use
getLeftEye()andgetRightEye().Inheritance diagram
- static getClassType() TypeHandle
- getLeftEye() DisplayRegion
Returns a pointer to the left
DisplayRegionmanaged by this stereo object.
- getRightEye() DisplayRegion
Returns a pointer to the right
DisplayRegionmanaged by this stereo object.
- property left_eye DisplayRegion
Returns a pointer to the left
DisplayRegionmanaged by this stereo object.
- property right_eye DisplayRegion
Returns a pointer to the right
DisplayRegionmanaged by this stereo object.
