Skip to main content

engage/generated/unity_engine/
matchtargetweightmask.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-matchtargetweightmask-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/matchtargetweightmask/MatchTargetWeightMask.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct MatchTargetWeightMask {
17        pub m_position_xyz_weight: crate::unity_engine::vector3::Vector3,
18        pub m_rotation_weight: f32,
19    }
20    impl ::unity::ClassIdentity for MatchTargetWeightMask {
21        const NAME: &'static str = "MatchTargetWeightMask";
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 MatchTargetWeightMask {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34}
35
36#[cfg(feature = "unity_engine-matchtargetweightmask-types")]
37pub use __types::*;
38
39#[cfg(feature = "unity_engine-matchtargetweightmask")]
40#[doc(hidden)]
41pub mod prelude {
42    pub use super::MatchTargetWeightMask;
43    #[cfg(feature = "system-object")]
44    pub use crate::system::object::IObjectMethods;
45    #[cfg(feature = "system-valuetype")]
46    pub use crate::system::valuetype::IValueTypeMethods;
47    pub use crate::system::{object::IObject, valuetype::IValueType};
48}