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;
173get_initial_state()
const {
174 return _initial_state;
183set_tag_state_key(
const std::string &tag_state_key) {
184 _tag_state_key = tag_state_key;
192 return _tag_state_key;
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
set_camera_mask
Changes the set of bits that represent the subset of the scene graph the camera will render.
is_active
Returns the current setting of the active flag on the camera.
get_lod_center
Returns the point from which the LOD distances will be measured, if it was set by set_lod_center(),...
set_lod_center
Specifies the point from which the LOD distances are measured.
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...
set_cull_center
Specifies the point from which the culling operations are performed.
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_scene
Returns the scene that will be rendered by the camera.
get_lod_scale
Returns the multiplier for LOD distances.
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.
set_active
Sets the active flag on the camera.
set_cull_bounds
Specifies the bounding volume that should be used to perform culling from this camera.
get_tag_state_key
Returns the tag key as set by a previous call to set_tag_state_key().
get_num_display_regions
Returns the number of display regions associated with the camera.
get_cull_center
Returns the point from which the culling operations will be performed, if it was set by set_cull_cent...
set_lod_scale
Sets the multiplier for LOD distances.
set_scene
Sets the scene that will be rendered by the camera.
A rectangular subregion within a window for rendering into.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...