Banuba SDK
camera_position.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Types
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from types.djinni
7 
8 #pragma once
9 
10 #include <cstdint>
11 #include <utility>
12 #include <vector>
13 
14 namespace bnb { namespace interfaces {
15 
16 struct camera_position final {
17  int32_t hasCameraPosition;
18  float frustum_l;
19  float frustum_r;
20  float frustum_t;
21  float frustum_b;
22  float frustum_n;
23  float frustum_f;
24  float model_r_x;
25  float model_r_y;
26  float model_r_z;
27  float model_t_x;
28  float model_t_y;
29  float model_t_z;
30  float head_center_x;
31  float head_center_y;
32  std::vector<float> model_view_m;
33  std::vector<float> projection_m;
34 
35  camera_position(int32_t hasCameraPosition_,
36  float frustum_l_,
37  float frustum_r_,
38  float frustum_t_,
39  float frustum_b_,
40  float frustum_n_,
41  float frustum_f_,
42  float model_r_x_,
43  float model_r_y_,
44  float model_r_z_,
45  float model_t_x_,
46  float model_t_y_,
47  float model_t_z_,
48  float head_center_x_,
49  float head_center_y_,
50  std::vector<float> model_view_m_,
51  std::vector<float> projection_m_)
52  : hasCameraPosition(std::move(hasCameraPosition_))
53  , frustum_l(std::move(frustum_l_))
54  , frustum_r(std::move(frustum_r_))
55  , frustum_t(std::move(frustum_t_))
56  , frustum_b(std::move(frustum_b_))
57  , frustum_n(std::move(frustum_n_))
58  , frustum_f(std::move(frustum_f_))
59  , model_r_x(std::move(model_r_x_))
60  , model_r_y(std::move(model_r_y_))
61  , model_r_z(std::move(model_r_z_))
62  , model_t_x(std::move(model_t_x_))
63  , model_t_y(std::move(model_t_y_))
64  , model_t_z(std::move(model_t_z_))
65  , head_center_x(std::move(head_center_x_))
66  , head_center_y(std::move(head_center_y_))
67  , model_view_m(std::move(model_view_m_))
68  , projection_m(std::move(projection_m_))
69  {}
70 };
71 
72 } } // namespace bnb::interfaces
73 /// @}
74 
bnb::interfaces::camera_position
Definition: camera_position.hpp:16