Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
StereoDisplayRegion Class Reference

This is a special DisplayRegion wrapper that actually includes a pair of DisplayRegions internally: the left and right eyes. More...

Inheritance diagram for StereoDisplayRegion:
DisplayRegion DisplayRegionBase DrawableRegion TypedReferenceCount TypedObject ReferenceCount

List of all members.

Public Member Functions

DisplayRegion getLeftEye ()
 Returns a pointer to the left DisplayRegion managed by this stereo object.
DisplayRegion getRightEye ()
 Returns a pointer to the right DisplayRegion managed by this stereo object.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

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().


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from DisplayRegion.

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

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

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties