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

Method setChildrenVisibility

src/eepp/scene/node.cpp:184–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184Node* Node::setChildrenVisibility( bool visible, bool emitEventNotification ) {
185 Node* child = mChild;
186 if ( emitEventNotification ) {
187 while ( child ) {
188 child->setVisible( visible );
189 child = child->mNext;
190 }
191 } else {
192 while ( child ) {
193 child->mVisible = visible;
194 child = child->mNext;
195 }
196 }
197 return this;
198}
199
200bool Node::isVisible() const {
201 return mVisible;

Callers 2

drawChildrenMethod · 0.80
drawChildrenMethod · 0.80

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected