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

Method getRotation

core/2d/Node.cpp:313–317  ·  view source on GitHub ↗

rotation getter

Source from the content-addressed store, hash-verified

311
312/// rotation getter
313float Node::getRotation() const
314{
315 AXASSERT(_rotationZ_X == _rotationZ_Y, "CCNode#rotation. RotationX != RotationY. Don't know which one to return");
316 return _rotationZ_X;
317}
318
319/// rotation setter
320void Node::setRotation(float rotation)

Callers 5

copyPropertiesMethod · 0.45
onTouchEndMethod · 0.45
logSprRotationMethod · 0.45
changeBodyCallbackMethod · 0.45
onEnterMethod · 0.45

Calls

no outgoing calls

Tested by 3

logSprRotationMethod · 0.36
changeBodyCallbackMethod · 0.36
onEnterMethod · 0.36