mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add get_all_camera_mask()
This commit is contained in:
parent
f3691cf520
commit
d6b1da618c
@ -470,6 +470,17 @@ get_overall_bit() {
|
|||||||
return _overall_bit;
|
return _overall_bit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: PandaNode::get_all_camera_mask
|
||||||
|
// Access: Published, Static
|
||||||
|
// Description: Returns a DrawMask that is appropriate for rendering
|
||||||
|
// to all cameras.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
INLINE DrawMask PandaNode::
|
||||||
|
get_all_camera_mask() {
|
||||||
|
return ~_overall_bit;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: PandaNode::is_overall_hidden
|
// Function: PandaNode::is_overall_hidden
|
||||||
// Access: Published, Static
|
// Access: Published, Static
|
||||||
|
@ -200,6 +200,7 @@ PUBLISHED:
|
|||||||
void list_tags(ostream &out, const string &separator = "\n") const;
|
void list_tags(ostream &out, const string &separator = "\n") const;
|
||||||
|
|
||||||
INLINE static DrawMask get_overall_bit();
|
INLINE static DrawMask get_overall_bit();
|
||||||
|
INLINE static DrawMask get_all_camera_mask();
|
||||||
INLINE bool is_overall_hidden() const;
|
INLINE bool is_overall_hidden() const;
|
||||||
INLINE void set_overall_hidden(bool overall_hidden);
|
INLINE void set_overall_hidden(bool overall_hidden);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user