57 INLINE
size_t Camera::
58 get_num_display_regions()
const {
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());
93 get_camera_mask()
const {
106 _cull_center = cull_center;
114 get_cull_center()
const {
127 _cull_bounds = cull_bounds;
135 get_cull_bounds()
const {
148 _lod_center = lod_center;
156 get_lod_center()
const {
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;
190 INLINE
const std::string &Camera::
191 get_tag_state_key()
const {
192 return _tag_state_key;
198 INLINE PN_stdfloat Camera::
199 get_lod_scale()
const {
set_cull_bounds
Specifies the bounding volume that should be used to perform culling from this camera.
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...
get_display_region
Returns the nth display region associated with the camera.
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.
set_camera_mask
Changes the set of bits that represent the subset of the scene graph the camera will render.
set_lod_center
Specifies the point from which the LOD distances are measured.
set_scene
Sets the scene that will be rendered by the camera.
set_cull_center
Specifies the point from which the culling operations are performed.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
set_active
Sets the active flag on 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...
CPT(RenderState) Camera
Returns the initial state as set by a previous call to set_initial_state().