Skip to main content

engage/generated/root/
akcurveinterpolation.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akcurveinterpolation-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/root/akcurveinterpolation/AkCurveInterpolation.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct AkCurveInterpolation {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for AkCurveInterpolation {
21        const NAME: &'static str = "AkCurveInterpolation";
22        const NAMESPACE: &'static str = "";
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 AkCurveInterpolation {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl AkCurveInterpolation {
35        pub fn ak_curve_interpolation_log3() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn ak_curve_interpolation_sine() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn ak_curve_interpolation_log1() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn ak_curve_interpolation_inv_s_curve() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn ak_curve_interpolation_linear() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn ak_curve_interpolation_s_curve() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn ak_curve_interpolation_exp1() -> Self {
60            Self { value: 6 }
61        }
62
63        pub fn ak_curve_interpolation_sine_recip() -> Self {
64            Self { value: 7 }
65        }
66
67        pub fn ak_curve_interpolation_exp3() -> Self {
68            Self { value: 8 }
69        }
70
71        pub fn ak_curve_interpolation_last_fade_curve() -> Self {
72            Self { value: 8 }
73        }
74
75        pub fn ak_curve_interpolation_constant() -> Self {
76            Self { value: 9 }
77        }
78    }
79}
80
81#[cfg(feature = "root-akcurveinterpolation-types")]
82pub use __types::*;
83
84#[cfg(feature = "root-akcurveinterpolation")]
85#[doc(hidden)]
86pub mod prelude {
87    pub use super::AkCurveInterpolation;
88    #[cfg(feature = "system-object")]
89    pub use crate::system::object::IObjectMethods;
90    #[cfg(feature = "system-enum")]
91    pub use crate::system::r#enum::IEnumMethods;
92    #[cfg(feature = "system-valuetype")]
93    pub use crate::system::valuetype::IValueTypeMethods;
94    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
95}