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

Method setPositionX

core/2d/Node.cpp:551–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void Node::setPositionX(float x)
552{
553 setPosition(x, _position.y);
554}
555
556float Node::getPositionY() const
557{

Callers 15

centerNodeXFunction · 0.45
setNodeLeftFunction · 0.45
setNodeRightFunction · 0.45
setPositionPercentXMethod · 0.45
setNodeLeftMethod · 0.45
setNodeRightMethod · 0.45
createUIMethod · 0.45
updateMethod · 0.45

Calls 1

setPositionFunction · 0.70

Tested by 5

createUIMethod · 0.36
updateMethod · 0.36
MoveMethod · 0.36
updateMethod · 0.36
updateMethod · 0.36