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

Method getLocationInView

core/base/Touch.cpp:34–37  ·  view source on GitHub ↗

returns the current touch location in screen coordinates

Source from the content-addressed store, hash-verified

32
33// returns the current touch location in screen coordinates
34Vec2 Touch::getLocationInView() const
35{
36 return _point;
37}
38
39// returns the previous touch location in screen coordinates
40Vec2 Touch::getPreviousLocationInView() const

Callers 15

handleTouchesBeginMethod · 0.45
onTouchesBeganMethod · 0.45
onTouchesMovedMethod · 0.45
onTouchesEndMethod · 0.45
onTouchesBeganMethod · 0.45
onTouchesMovedMethod · 0.45
onTouchesEndedMethod · 0.45
onTouchesBeganMethod · 0.45
onTouchesEndedMethod · 0.45
onTouchesBeganMethod · 0.45
onTouchesMovedMethod · 0.45
onTouchesEndedMethod · 0.45

Calls

no outgoing calls

Tested by 15

onTouchesEndMethod · 0.36
onTouchesBeganMethod · 0.36
onTouchesMovedMethod · 0.36
onTouchesEndedMethod · 0.36
onTouchesBeganMethod · 0.36
onTouchesEndedMethod · 0.36
onTouchesBeganMethod · 0.36
onTouchesMovedMethod · 0.36
onTouchesEndedMethod · 0.36
onTouchsMovedMethod · 0.36
onTouchesMovedMethod · 0.36
onTouchesBeganMethod · 0.36