MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getPosition

Method getPosition

Source/Node/Node.cpp:183–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183Vec2 Node::getPosition() const noexcept {
184 if (_transform) return {_transform->x, _transform->y};
185 return Vec2::zero;
186}
187
188void Node::setSkewX(float var) {
189 SetTAttr(skewX, var);

Callers 12

getLayerDictFunction · 0.45
ARRAY_STARTFunction · 0.45
initMethod · 0.45
onBodyContactMethod · 0.45
destroyMethod · 0.45
runDecisionTreeMethod · 0.45
onAttackMethod · 0.45
cameraotho_get_positionFunction · 0.45
node_get_positionFunction · 0.45
camera2d_get_positionFunction · 0.45
movejoint_get_positionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected