MCPcopy Create free account
hub / github.com/SpartanJ/eepp / hasVisibility

Method hasVisibility

src/eepp/scene/node.cpp:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool Node::hasVisibility() const {
205 const Node* cur = this;
206 while ( cur ) {
207 if ( !cur->isVisible() )
208 return false;
209 cur = cur->getParent();
210 }
211 return true;
212}
213
214Node* Node::setEnabled( const bool& enabled ) {
215 if ( mEnabled != enabled ) {

Callers 1

getCurrentTerminalMethod · 0.80

Calls 2

isVisibleMethod · 0.45
getParentMethod · 0.45

Tested by

no test coverage detected