Skip to main content

engage/generated/unity_engine/
humanbodybones.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-humanbodybones-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/humanbodybones/HumanBodyBones.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct HumanBodyBones {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for HumanBodyBones {
21        const NAME: &'static str = "HumanBodyBones";
22        const NAMESPACE: &'static str = "UnityEngine";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for HumanBodyBones {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl HumanBodyBones {
35        pub fn hips() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn left_upper_leg() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn right_upper_leg() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn left_lower_leg() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn right_lower_leg() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn left_foot() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn right_foot() -> Self {
60            Self { value: 6 }
61        }
62
63        pub fn spine() -> Self {
64            Self { value: 7 }
65        }
66
67        pub fn chest() -> Self {
68            Self { value: 8 }
69        }
70
71        pub fn upper_chest() -> Self {
72            Self { value: 54 }
73        }
74
75        pub fn neck() -> Self {
76            Self { value: 9 }
77        }
78
79        pub fn head() -> Self {
80            Self { value: 10 }
81        }
82
83        pub fn left_shoulder() -> Self {
84            Self { value: 11 }
85        }
86
87        pub fn right_shoulder() -> Self {
88            Self { value: 12 }
89        }
90
91        pub fn left_upper_arm() -> Self {
92            Self { value: 13 }
93        }
94
95        pub fn right_upper_arm() -> Self {
96            Self { value: 14 }
97        }
98
99        pub fn left_lower_arm() -> Self {
100            Self { value: 15 }
101        }
102
103        pub fn right_lower_arm() -> Self {
104            Self { value: 16 }
105        }
106
107        pub fn left_hand() -> Self {
108            Self { value: 17 }
109        }
110
111        pub fn right_hand() -> Self {
112            Self { value: 18 }
113        }
114
115        pub fn left_toes() -> Self {
116            Self { value: 19 }
117        }
118
119        pub fn right_toes() -> Self {
120            Self { value: 20 }
121        }
122
123        pub fn left_eye() -> Self {
124            Self { value: 21 }
125        }
126
127        pub fn right_eye() -> Self {
128            Self { value: 22 }
129        }
130
131        pub fn jaw() -> Self {
132            Self { value: 23 }
133        }
134
135        pub fn left_thumb_proximal() -> Self {
136            Self { value: 24 }
137        }
138
139        pub fn left_thumb_intermediate() -> Self {
140            Self { value: 25 }
141        }
142
143        pub fn left_thumb_distal() -> Self {
144            Self { value: 26 }
145        }
146
147        pub fn left_index_proximal() -> Self {
148            Self { value: 27 }
149        }
150
151        pub fn left_index_intermediate() -> Self {
152            Self { value: 28 }
153        }
154
155        pub fn left_index_distal() -> Self {
156            Self { value: 29 }
157        }
158
159        pub fn left_middle_proximal() -> Self {
160            Self { value: 30 }
161        }
162
163        pub fn left_middle_intermediate() -> Self {
164            Self { value: 31 }
165        }
166
167        pub fn left_middle_distal() -> Self {
168            Self { value: 32 }
169        }
170
171        pub fn left_ring_proximal() -> Self {
172            Self { value: 33 }
173        }
174
175        pub fn left_ring_intermediate() -> Self {
176            Self { value: 34 }
177        }
178
179        pub fn left_ring_distal() -> Self {
180            Self { value: 35 }
181        }
182
183        pub fn left_little_proximal() -> Self {
184            Self { value: 36 }
185        }
186
187        pub fn left_little_intermediate() -> Self {
188            Self { value: 37 }
189        }
190
191        pub fn left_little_distal() -> Self {
192            Self { value: 38 }
193        }
194
195        pub fn right_thumb_proximal() -> Self {
196            Self { value: 39 }
197        }
198
199        pub fn right_thumb_intermediate() -> Self {
200            Self { value: 40 }
201        }
202
203        pub fn right_thumb_distal() -> Self {
204            Self { value: 41 }
205        }
206
207        pub fn right_index_proximal() -> Self {
208            Self { value: 42 }
209        }
210
211        pub fn right_index_intermediate() -> Self {
212            Self { value: 43 }
213        }
214
215        pub fn right_index_distal() -> Self {
216            Self { value: 44 }
217        }
218
219        pub fn right_middle_proximal() -> Self {
220            Self { value: 45 }
221        }
222
223        pub fn right_middle_intermediate() -> Self {
224            Self { value: 46 }
225        }
226
227        pub fn right_middle_distal() -> Self {
228            Self { value: 47 }
229        }
230
231        pub fn right_ring_proximal() -> Self {
232            Self { value: 48 }
233        }
234
235        pub fn right_ring_intermediate() -> Self {
236            Self { value: 49 }
237        }
238
239        pub fn right_ring_distal() -> Self {
240            Self { value: 50 }
241        }
242
243        pub fn right_little_proximal() -> Self {
244            Self { value: 51 }
245        }
246
247        pub fn right_little_intermediate() -> Self {
248            Self { value: 52 }
249        }
250
251        pub fn right_little_distal() -> Self {
252            Self { value: 53 }
253        }
254
255        pub fn last_bone() -> Self {
256            Self { value: 55 }
257        }
258    }
259}
260
261#[cfg(feature = "unity_engine-humanbodybones-types")]
262pub use __types::*;
263
264#[cfg(feature = "unity_engine-humanbodybones")]
265#[doc(hidden)]
266pub mod prelude {
267    pub use super::HumanBodyBones;
268    #[cfg(feature = "system-object")]
269    pub use crate::system::object::IObjectMethods;
270    #[cfg(feature = "system-enum")]
271    pub use crate::system::r#enum::IEnumMethods;
272    #[cfg(feature = "system-valuetype")]
273    pub use crate::system::valuetype::IValueTypeMethods;
274    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
275}