]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | pub type SpatialGestureRecognizer = *mut ::core::ffi::c_void; |
04454e1e | 2 | #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct SpatialGestureSettings(pub u32); | |
5 | impl SpatialGestureSettings { | |
6 | pub const None: Self = Self(0u32); | |
7 | pub const Tap: Self = Self(1u32); | |
8 | pub const DoubleTap: Self = Self(2u32); | |
9 | pub const Hold: Self = Self(4u32); | |
10 | pub const ManipulationTranslate: Self = Self(8u32); | |
11 | pub const NavigationX: Self = Self(16u32); | |
12 | pub const NavigationY: Self = Self(32u32); | |
13 | pub const NavigationZ: Self = Self(64u32); | |
14 | pub const NavigationRailsX: Self = Self(128u32); | |
15 | pub const NavigationRailsY: Self = Self(256u32); | |
16 | pub const NavigationRailsZ: Self = Self(512u32); | |
17 | } | |
18 | impl ::core::marker::Copy for SpatialGestureSettings {} | |
19 | impl ::core::clone::Clone for SpatialGestureSettings { | |
20 | fn clone(&self) -> Self { | |
21 | *self | |
22 | } | |
23 | } | |
24 | pub type SpatialHoldCanceledEventArgs = *mut ::core::ffi::c_void; | |
25 | pub type SpatialHoldCompletedEventArgs = *mut ::core::ffi::c_void; | |
26 | pub type SpatialHoldStartedEventArgs = *mut ::core::ffi::c_void; | |
27 | pub type SpatialInteraction = *mut ::core::ffi::c_void; | |
28 | pub type SpatialInteractionController = *mut ::core::ffi::c_void; | |
29 | pub type SpatialInteractionControllerProperties = *mut ::core::ffi::c_void; | |
30 | pub type SpatialInteractionDetectedEventArgs = *mut ::core::ffi::c_void; | |
31 | pub type SpatialInteractionManager = *mut ::core::ffi::c_void; | |
04454e1e | 32 | #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] |
5e7ed085 FG |
33 | #[repr(transparent)] |
34 | pub struct SpatialInteractionPressKind(pub i32); | |
35 | impl SpatialInteractionPressKind { | |
36 | pub const None: Self = Self(0i32); | |
37 | pub const Select: Self = Self(1i32); | |
38 | pub const Menu: Self = Self(2i32); | |
39 | pub const Grasp: Self = Self(3i32); | |
40 | pub const Touchpad: Self = Self(4i32); | |
41 | pub const Thumbstick: Self = Self(5i32); | |
42 | } | |
43 | impl ::core::marker::Copy for SpatialInteractionPressKind {} | |
44 | impl ::core::clone::Clone for SpatialInteractionPressKind { | |
45 | fn clone(&self) -> Self { | |
46 | *self | |
47 | } | |
48 | } | |
49 | pub type SpatialInteractionSource = *mut ::core::ffi::c_void; | |
50 | pub type SpatialInteractionSourceEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 51 | #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] |
5e7ed085 FG |
52 | #[repr(transparent)] |
53 | pub struct SpatialInteractionSourceHandedness(pub i32); | |
54 | impl SpatialInteractionSourceHandedness { | |
55 | pub const Unspecified: Self = Self(0i32); | |
56 | pub const Left: Self = Self(1i32); | |
57 | pub const Right: Self = Self(2i32); | |
58 | } | |
59 | impl ::core::marker::Copy for SpatialInteractionSourceHandedness {} | |
60 | impl ::core::clone::Clone for SpatialInteractionSourceHandedness { | |
61 | fn clone(&self) -> Self { | |
62 | *self | |
63 | } | |
64 | } | |
04454e1e | 65 | #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] |
5e7ed085 FG |
66 | #[repr(transparent)] |
67 | pub struct SpatialInteractionSourceKind(pub i32); | |
68 | impl SpatialInteractionSourceKind { | |
69 | pub const Other: Self = Self(0i32); | |
70 | pub const Hand: Self = Self(1i32); | |
71 | pub const Voice: Self = Self(2i32); | |
72 | pub const Controller: Self = Self(3i32); | |
73 | } | |
74 | impl ::core::marker::Copy for SpatialInteractionSourceKind {} | |
75 | impl ::core::clone::Clone for SpatialInteractionSourceKind { | |
76 | fn clone(&self) -> Self { | |
77 | *self | |
78 | } | |
79 | } | |
80 | pub type SpatialInteractionSourceLocation = *mut ::core::ffi::c_void; | |
04454e1e | 81 | #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] |
5e7ed085 FG |
82 | #[repr(transparent)] |
83 | pub struct SpatialInteractionSourcePositionAccuracy(pub i32); | |
84 | impl SpatialInteractionSourcePositionAccuracy { | |
85 | pub const High: Self = Self(0i32); | |
86 | pub const Approximate: Self = Self(1i32); | |
87 | } | |
88 | impl ::core::marker::Copy for SpatialInteractionSourcePositionAccuracy {} | |
89 | impl ::core::clone::Clone for SpatialInteractionSourcePositionAccuracy { | |
90 | fn clone(&self) -> Self { | |
91 | *self | |
92 | } | |
93 | } | |
94 | pub type SpatialInteractionSourceProperties = *mut ::core::ffi::c_void; | |
95 | pub type SpatialInteractionSourceState = *mut ::core::ffi::c_void; | |
96 | pub type SpatialManipulationCanceledEventArgs = *mut ::core::ffi::c_void; | |
97 | pub type SpatialManipulationCompletedEventArgs = *mut ::core::ffi::c_void; | |
98 | pub type SpatialManipulationDelta = *mut ::core::ffi::c_void; | |
99 | pub type SpatialManipulationStartedEventArgs = *mut ::core::ffi::c_void; | |
100 | pub type SpatialManipulationUpdatedEventArgs = *mut ::core::ffi::c_void; | |
101 | pub type SpatialNavigationCanceledEventArgs = *mut ::core::ffi::c_void; | |
102 | pub type SpatialNavigationCompletedEventArgs = *mut ::core::ffi::c_void; | |
103 | pub type SpatialNavigationStartedEventArgs = *mut ::core::ffi::c_void; | |
104 | pub type SpatialNavigationUpdatedEventArgs = *mut ::core::ffi::c_void; | |
105 | pub type SpatialPointerInteractionSourcePose = *mut ::core::ffi::c_void; | |
106 | pub type SpatialPointerPose = *mut ::core::ffi::c_void; | |
107 | pub type SpatialRecognitionEndedEventArgs = *mut ::core::ffi::c_void; | |
108 | pub type SpatialRecognitionStartedEventArgs = *mut ::core::ffi::c_void; | |
109 | pub type SpatialTappedEventArgs = *mut ::core::ffi::c_void; |