MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnTouch

Method OnTouch

Source/Engine/Platform/iOS/iOSPlatform.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void OnTouch(EventType type, float x, float y, int32 pointerId)
61 {
62 ScopeLock lock(_locker);
63 Event& e = _queue.AddOne();
64 e.Type = type;
65 e.Target = nullptr;
66 e.TouchData.Position.X = x;
67 e.TouchData.Position.Y = y;
68 e.TouchData.PointerId = pointerId;
69 }
70};
71
72int32 Dpi = 96;

Callers 1

iOSPlatform.cppFile · 0.45

Calls 1

AddOneMethod · 0.80

Tested by

no test coverage detected