Go to the documentation of this file.
59 return _display_regions.size();
67 nassertr(n < _display_regions.size(),
nullptr);
68 return _display_regions[n];
84 nassertv((mask & PandaNode::get_overall_bit()).is_zero());
106 _cull_center = cull_center;
127 _cull_bounds = cull_bounds;
148 _lod_center = lod_center;
166 _initial_state = state;
173 get_initial_state()
const {
174 return _initial_state;
183 set_tag_state_key(
const std::string &tag_state_key) {
184 _tag_state_key = tag_state_key;
192 return _tag_state_key;
get_scene
Returns the scene that will be rendered by the camera.
set_camera_mask
Changes the set of bits that represent the subset of the scene graph the camera will render.
set_scene
Sets the scene that will be rendered by the camera.
get_lod_center
Returns the point from which the LOD distances will be measured, if it was set by set_lod_center(),...
get_tag_state_key
Returns the tag key as set by a previous call to set_tag_state_key().
get_cull_center
Returns the point from which the culling operations will be performed, if it was set by set_cull_cent...
set_initial_state
Sets the initial state which is applied to all nodes in the scene, as if it were set at the top of th...
A rectangular subregion within a window for rendering into.
get_cull_bounds
Returns the custom cull volume that was set by set_cull_bounds(), if any, or NULL if no custom cull v...
get_display_region
Returns the nth display region associated with the camera.
get_camera_mask
Returns the set of bits that represent the subset of the scene graph the camera will render.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
set_active
Sets the active flag on the camera.
is_active
Returns the current setting of the active flag on the camera.
get_num_display_regions
Returns the number of display regions associated with the camera.
get_lod_scale
Returns the multiplier for LOD distances.
CPT(RenderState) Camera
Returns the initial state as set by a previous call to set_initial_state().
set_cull_bounds
Specifies the bounding volume that should be used to perform culling from this camera.
set_lod_center
Specifies the point from which the LOD distances are measured.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
set_cull_center
Specifies the point from which the culling operations are performed.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
set_lod_scale
Sets the multiplier for LOD distances.