mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Add clear_tag_states() to camera
This commit is contained in:
parent
1b857d6bda
commit
3cf2b5496b
@ -139,6 +139,17 @@ clear_tag_state(const string &tag_state) {
|
||||
_tag_states.erase(tag_state);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: Camera::clear_tag_state
|
||||
// Access: Published
|
||||
// Description: Removes all associations established by previous
|
||||
// calls to set_tag_state().
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void Camera::
|
||||
clear_tag_states() {
|
||||
_tag_states.clear();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: Camera::has_tag_state
|
||||
// Access: Published
|
||||
|
@ -80,6 +80,7 @@ PUBLISHED:
|
||||
|
||||
void set_tag_state(const string &tag_state, const RenderState *state);
|
||||
void clear_tag_state(const string &tag_state);
|
||||
void clear_tag_states();
|
||||
bool has_tag_state(const string &tag_state) const;
|
||||
CPT(RenderState) get_tag_state(const string &tag_state) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user