StereoDisplayRegion

from panda3d.core import StereoDisplayRegion
class StereoDisplayRegion

Bases: DisplayRegion

This is a special DisplayRegion wrapper that actually includes a pair of DisplayRegions internally: the left and right eyes. The DisplayRegion 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 right DisplayRegions 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() and get_right_eye().

Inheritance diagram

Inheritance diagram of StereoDisplayRegion

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getLeftEye()

C++ Interface: get_left_eye(const StereoDisplayRegion self)

/**
  • Returns a pointer to the left DisplayRegion managed by this stereo object.

*/

getRightEye()

C++ Interface: get_right_eye(const StereoDisplayRegion self)

/**
  • Returns a pointer to the right DisplayRegion managed by this stereo object.

*/

get_class_type()

C++ Interface: get_class_type()

get_left_eye()

C++ Interface: get_left_eye(const StereoDisplayRegion self)

/**
  • Returns a pointer to the left DisplayRegion managed by this stereo object.

*/

get_right_eye()

C++ Interface: get_right_eye(const StereoDisplayRegion self)

/**
  • Returns a pointer to the right DisplayRegion managed by this stereo object.

*/

left_eye
right_eye