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

Method inParentTreeOfType

src/eepp/scene/node.cpp:894–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894bool Node::inParentTreeOfType( Uint32 type ) const {
895 Node* node = mParentNode;
896 while ( NULL != node ) {
897 if ( node->isType( type ) )
898 return true;
899 node = node->mParentNode;
900 }
901 return false;
902}
903
904Node* Node::getParentOfType( Uint32 type ) const {
905 Node* node = mParentNode;

Callers

nothing calls this directly

Calls 1

isTypeMethod · 0.45

Tested by

no test coverage detected