StereoDisplayRegion
-
class StereoDisplayRegion
Bases:
DisplayRegion
This is a special
DisplayRegion
wrapper that actually includes a pair ofDisplayRegions
internally: the left and right eyes. TheDisplayRegion
represented here does not have a physical association with the window, but it pretends it does. Instead, it maintains a pointer to the left and rightDisplayRegions
separately.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
DisplayRegion
managed by this stereo object.
-
DisplayRegion *get_right_eye(void)
Returns a pointer to the right
DisplayRegion
managed by this stereo object.
-
static TypeHandle get_class_type(void)