Skip to main content

engage/generated/combat/
animclipkeyreductionexm.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-animclipkeyreductionexm-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/animclipkeyreductionexm/AnimClipKeyReductionExM.md"))]
11    #[::unity::class(namespace = "Combat", name = "AnimClipKeyReductionExM")]
12    #[parent(crate::system::object::Object)]
13    pub struct AnimClipKeyReductionExM {}
14}
15
16#[cfg(feature = "combat-animclipkeyreductionexm-types")]
17pub use __types::*;
18
19#[cfg(feature = "combat-animclipkeyreductionexm")]
20impl AnimClipKeyReductionExM {
21    #[doc = "`GetValueFromTime(crate::unity_engine::keyframe::Keyframe, crate::unity_engine::keyframe::Keyframe, f32)` overload"]
22    pub fn get_value_from_time(
23        key1: impl ::core::convert::Into<crate::unity_engine::keyframe::Keyframe>,
24        key2: impl ::core::convert::Into<crate::unity_engine::keyframe::Keyframe>,
25        time: impl ::core::convert::Into<f32>,
26    ) -> f32 {
27        unsafe {
28            ::unity::il2cpp_call!((::unity::module_base()+0x1c8e1d0usize)as*mut u8,f32;
29(crate::unity_engine::keyframe::Keyframe)::core::convert::Into::into(key1),(crate::unity_engine::keyframe::Keyframe)::core::convert::Into::into(key2),(f32)::core::convert::Into::into(time))
30        }
31    }
32
33    #[doc = "`IsInterpolationValue(crate::unity_engine::keyframe::Keyframe, crate::unity_engine::keyframe::Keyframe, crate::unity_engine::keyframe::Keyframe, f32)` overload"]
34    pub fn is_interpolation_value(
35        key1: impl ::core::convert::Into<crate::unity_engine::keyframe::Keyframe>,
36        key2: impl ::core::convert::Into<crate::unity_engine::keyframe::Keyframe>,
37        comp: impl ::core::convert::Into<crate::unity_engine::keyframe::Keyframe>,
38        eps: impl ::core::convert::Into<f32>,
39    ) -> bool {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x1c8e330usize)as*mut u8,bool;
42(crate::unity_engine::keyframe::Keyframe)::core::convert::Into::into(key1),(crate::unity_engine::keyframe::Keyframe)::core::convert::Into::into(key2),(crate::unity_engine::keyframe::Keyframe)::core::convert::Into::into(comp),(f32)::core::convert::Into::into(eps))
43        }
44    }
45
46    #[doc = "`GetDeleteKeyIndex(::unity::Array<crate::unity_engine::keyframe::Keyframe>, f32)` overload"]
47    pub fn get_delete_key_index(
48        keys: impl ::core::convert::Into<::unity::Array<crate::unity_engine::keyframe::Keyframe>>,
49        eps: impl ::core::convert::Into<f32>,
50    ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<i32> {
51        unsafe {
52            ::unity::il2cpp_call!((::unity::module_base()+0x1c8e530usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<i32> ;
53(::unity::Array<crate::unity_engine::keyframe::Keyframe>)::core::convert::Into::into(keys),(f32)::core::convert::Into::into(eps))
54        }
55    }
56
57    #[doc = "`KeyReduction(crate::unity_engine::animationcurve::AnimationCurve, f32)` overload"]
58    pub fn key_reduction(
59        in_curve: impl ::core::convert::Into<crate::unity_engine::animationcurve::AnimationCurve>,
60        eps: impl ::core::convert::Into<f32>,
61    ) -> () {
62        unsafe {
63            ::unity::il2cpp_call!((::unity::module_base()+0x1c8e5c0usize)as*mut u8,();
64(crate::unity_engine::animationcurve::AnimationCurve)::core::convert::Into::into(in_curve),(f32)::core::convert::Into::into(eps))
65        }
66    }
67}
68
69#[cfg(feature = "combat-animclipkeyreductionexm")]
70impl AnimClipKeyReductionExM {
71    pub fn get_value_from_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
72        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
73    }
74
75    pub fn is_interpolation_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
76        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
77    }
78
79    pub fn get_delete_key_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
80        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
81    }
82
83    pub fn key_reduction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
84        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
85    }
86}
87
88#[cfg(feature = "combat-animclipkeyreductionexm")]
89#[doc(hidden)]
90pub mod prelude {
91    pub use super::{AnimClipKeyReductionExM, IAnimClipKeyReductionExM};
92    pub use crate::system::object::IObject;
93    #[cfg(feature = "system-object")]
94    pub use crate::system::object::IObjectMethods;
95}