MCPcopy Create free account
hub / github.com/axmolengine/axmol / setParent

Method setParent

core/2d/Node.cpp:673–678  ·  view source on GitHub ↗

parent setter

Source from the content-addressed store, hash-verified

671
672/// parent setter
673void Node::setParent(Node* parent)
674{
675 _parent = parent;
676 _normalizedPositionDirty = true;
677 _transformUpdated = _transformDirty = _inverseDirty = true;
678}
679
680/// isRelativeAnchorPoint getter
681bool Node::isIgnoreAnchorPointForPosition() const

Callers 8

addChildHelperMethod · 0.45
addChildHelperMethod · 0.45
resetChildMethod · 0.45
addProtectedChildMethod · 0.45
removeProtectedChildMethod · 0.45
addInstanceChildMethod · 0.45
NodeTests.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected