StereoDisplayRegion
-
class StereoDisplayRegion
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
get_left_eye()andget_right_eye().Inheritance diagram
-
static TypeHandle get_class_type(void)
-
DisplayRegion *get_left_eye(void)
Returns a pointer to the left
DisplayRegionmanaged by this stereo object.
-
DisplayRegion *get_right_eye(void)
Returns a pointer to the right
DisplayRegionmanaged by this stereo object.
-
static TypeHandle get_class_type(void)
