engage/generated/root_motion/final_ik/
ikexecutionorder.rs1#[cfg(feature = "root_motion-final_ik-ikexecutionorder-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/ikexecutionorder/IKExecutionOrder.md"))]
19 #[::unity::class(namespace = "RootMotion.FinalIK", name = "IKExecutionOrder")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct IKExecutionOrder {
22 #[offset(24)]
23 #[rename(name = "IKComponents")]
24 pub ik_components: ::unity::Array<crate::root_motion::final_ik::ik::IK>,
25 #[offset(32)]
26 #[rename(name = "animator")]
27 pub animator: crate::unity_engine::animator::Animator,
28 #[offset(40)]
29 #[rename(name = "fixedFrame")]
30 pub fixed_frame: bool,
31 }
32}
33
34#[cfg(feature = "root_motion-final_ik-ikexecutionorder-types")]
35pub use __types::*;
36
37#[cfg(feature = "root_motion-final_ik-ikexecutionorder")]
38pub trait IIKExecutionOrderMethods: IIKExecutionOrder {
39 #[doc = "`get_animatePhysics()` overload"]
40 fn get_animate_physics(self) -> bool {
41 unsafe {
42 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2a794e0usize)as*mut u8,bool;
44(IKExecutionOrder)__receiver)
45 }
46 }
47 #[doc = "`Start()` overload"]
48 fn start(self) -> () {
49 unsafe {
50 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2a79590usize)as*mut u8,();
52(IKExecutionOrder)__receiver)
53 }
54 }
55 #[doc = "`Update()` overload"]
56 fn update(self) -> () {
57 unsafe {
58 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2a79600usize)as*mut u8,();
60(IKExecutionOrder)__receiver)
61 }
62 }
63 #[doc = "`FixedUpdate()` overload"]
64 fn fixed_update(self) -> () {
65 unsafe {
66 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2a79790usize)as*mut u8,();
68(IKExecutionOrder)__receiver)
69 }
70 }
71 #[doc = "`LateUpdate()` overload"]
72 fn late_update(self) -> () {
73 unsafe {
74 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2a798a0usize)as*mut u8,();
76(IKExecutionOrder)__receiver)
77 }
78 }
79 #[doc = "`FixTransforms()` overload"]
80 fn fix_transforms(self) -> () {
81 unsafe {
82 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x2a79700usize)as*mut u8,();
84(IKExecutionOrder)__receiver)
85 }
86 }
87 #[doc = "`.ctor()` overload"]
88 fn ctor(self) -> () {
89 unsafe {
90 let __receiver = <IKExecutionOrder as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x2a799a0usize)as*mut u8,();
92(IKExecutionOrder)__receiver)
93 }
94 }
95}
96
97#[cfg(feature = "root_motion-final_ik-ikexecutionorder")]
98impl<__T: IIKExecutionOrder> IIKExecutionOrderMethods for __T {}
99
100#[cfg(feature = "root_motion-final_ik-ikexecutionorder")]
101impl IKExecutionOrder {
102 pub fn get_animate_physics_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
104 }
105
106 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
108 }
109
110 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
111 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
112 }
113
114 pub fn fixed_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
115 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
116 }
117
118 pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
119 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
120 }
121
122 pub fn fix_transforms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
123 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
124 }
125
126 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
127 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
128 }
129}
130
131#[cfg(feature = "root_motion-final_ik-ikexecutionorder")]
132impl IKExecutionOrder {
133 #[doc = "`.ctor()` — no args"]
134 pub fn new() -> Self {
135 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
136 panic!(
137 "{}
138::{}
139 failed to instantiate",
140 ::core::stringify!(IKExecutionOrder),
141 ::core::stringify!(new),
142 )
143 });
144 <Self as IIKExecutionOrderMethods>::ctor(this);
145 this
146 }
147}
148
149#[cfg(feature = "root_motion-final_ik-ikexecutionorder")]
150#[doc(hidden)]
151pub mod prelude {
152 pub use super::{IIKExecutionOrder, IIKExecutionOrderMethods, IKExecutionOrder};
153 #[cfg(feature = "system-object")]
154 pub use crate::system::object::IObjectMethods;
155 #[cfg(feature = "unity_engine-behaviour")]
156 pub use crate::unity_engine::behaviour::IBehaviourMethods;
157 #[cfg(feature = "unity_engine-component")]
158 pub use crate::unity_engine::component::IComponentMethods;
159 #[cfg(feature = "unity_engine-monobehaviour")]
160 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
161 #[cfg(feature = "unity_engine-object_2")]
162 pub use crate::unity_engine::object_2::IObject_2Methods;
163 pub use crate::{
164 system::object::IObject,
165 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
166 };
167}