mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
get_display_region
This commit is contained in:
parent
5a2e1d1b50
commit
5b3fc8b4be
@ -75,6 +75,28 @@ get_camera(int n) const {
|
||||
return _cameras[n];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: WindowFramework::get_display_region_2d
|
||||
// Access: Public
|
||||
// Description: Returns the default DisplayRegion created for the 2-d
|
||||
// scene (render2d).
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE DisplayRegion *WindowFramework::
|
||||
get_display_region_2d() const {
|
||||
return _display_region_2d;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: WindowFramework::get_display_region_3d
|
||||
// Access: Public
|
||||
// Description: Returns the default DisplayRegion created for the 3-d
|
||||
// scene (render).
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE DisplayRegion *WindowFramework::
|
||||
get_display_region_3d() const {
|
||||
return _display_region_3d;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: WindowFramework::get_anim_controls
|
||||
// Access: Public
|
||||
|
@ -75,6 +75,9 @@ public:
|
||||
INLINE int get_num_cameras() const;
|
||||
INLINE Camera *get_camera(int n) const;
|
||||
|
||||
INLINE DisplayRegion *get_display_region_2d() const;
|
||||
INLINE DisplayRegion *get_display_region_3d() const;
|
||||
|
||||
NodePath get_render();
|
||||
NodePath get_render_2d();
|
||||
NodePath get_aspect_2d();
|
||||
|
Loading…
x
Reference in New Issue
Block a user