Skip to main content

engage/generated/unity_engine/
humandescription.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-humandescription-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/humandescription/HumanDescription.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct HumanDescription {
17        pub human: ::unity::Array<crate::unity_engine::humanbone::HumanBone>,
18        pub skeleton: ::unity::Array<crate::unity_engine::skeletonbone::SkeletonBone>,
19        pub m_arm_twist: f32,
20        pub m_fore_arm_twist: f32,
21        pub m_upper_leg_twist: f32,
22        pub m_leg_twist: f32,
23        pub m_arm_stretch: f32,
24        pub m_leg_stretch: f32,
25        pub m_feet_spacing: f32,
26        pub m_global_scale: f32,
27        pub m_root_motion_bone_name: ::unity::Il2CppString,
28        pub m_has_translation_do_f: bool,
29        pub m_has_extra_root: bool,
30        pub m_skeleton_has_parents: bool,
31    }
32    impl ::unity::ClassIdentity for HumanDescription {
33        const NAME: &'static str = "HumanDescription";
34        const NAMESPACE: &'static str = "UnityEngine";
35
36        fn class() -> ::unity::Class {
37            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
38            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
39        }
40    }
41    impl ::unity::IlType for HumanDescription {
42        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
43            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
44        }
45    }
46}
47
48#[cfg(feature = "unity_engine-humandescription-types")]
49pub use __types::*;
50
51#[cfg(feature = "unity_engine-humandescription")]
52#[doc(hidden)]
53pub mod prelude {
54    pub use super::HumanDescription;
55    #[cfg(feature = "system-object")]
56    pub use crate::system::object::IObjectMethods;
57    #[cfg(feature = "system-valuetype")]
58    pub use crate::system::valuetype::IValueTypeMethods;
59    pub use crate::system::{object::IObject, valuetype::IValueType};
60}