Banuba SDK
touch.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
10 #include <cstdint>
11 #include <utility>
12 
13 namespace bnb { namespace interfaces {
14 
15 /**
16  * User touch object.
17  * Coordinate system is normalized to (-1, 1) with center in (0, 0).
18  */
19 struct touch final {
20  float x;
21  float y;
22  int64_t id;
23 
24  touch(float x_,
25  float y_,
26  int64_t id_)
27  : x(std::move(x_))
28  , y(std::move(y_))
29  , id(std::move(id_))
30  {}
31 };
32 
33 } } // namespace bnb::interfaces
34 /// @}
35 
bnb::interfaces::touch
User touch object.
Definition: touch.hpp:19