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

Method getPosition

core/2d/Node.cpp:517–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517void Node::getPosition(float* x, float* y) const
518{
519 *x = _position.x;
520 *y = _position.y;
521}
522
523void Node::setPosition(float x, float y)
524{

Callers 15

stepMethod · 0.45
absolutePositionMethod · 0.45
drawMethod · 0.45
startWithTargetMethod · 0.45
updateMethod · 0.45
startWithTargetMethod · 0.45
updateMethod · 0.45
captureNodeFunction · 0.45
copyPropertiesMethod · 0.45
doHorizontalAlignmentMethod · 0.45
indicateMethod · 0.45
doLayoutMethod · 0.45

Calls

no outgoing calls

Tested by 15

showFontMethod · 0.36
onEnterMethod · 0.36
initMethod · 0.36
initMethod · 0.36
addRadioButtonMethod · 0.36
initMethod · 0.36
initMethod · 0.36
initMethod · 0.36
initMethod · 0.36
initMethod · 0.36
updateMethod · 0.36