Skip to main content

engage/generated/root_motion/final_ik/
bipedik.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root_motion-final_ik-bipedik-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        root_motion::solvermanager::{ISolverManager, SolverManager},
10        system::object::{IObject, Object},
11        unity_engine::{
12            behaviour::{Behaviour, IBehaviour},
13            component::{Component, IComponent},
14            monobehaviour::{IMonoBehaviour, MonoBehaviour},
15            object_2::{IObject_2, Object_2},
16        },
17    };
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/bipedik/BipedIK.md"))]
20    #[::unity::class(namespace = "RootMotion.FinalIK", name = "BipedIK")]
21    #[parent(crate::root_motion::solvermanager::SolverManager)]
22    pub struct BipedIK {
23        #[offset(56)]
24        #[rename(name = "references")]
25        pub references: crate::root_motion::bipedreferences::BipedReferences,
26        #[offset(64)]
27        #[rename(name = "solvers")]
28        pub solvers: crate::root_motion::final_ik::bipediksolvers::BipedIKSolvers,
29    }
30}
31
32#[cfg(feature = "root_motion-final_ik-bipedik-types")]
33pub use __types::*;
34
35#[cfg(feature = "root_motion-final_ik-bipedik")]
36pub trait IBipedIKMethods: IBipedIK {
37    #[doc = "`OpenUserManual()` overload"]
38    fn open_user_manual(self) -> () {
39        unsafe {
40            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41            ::unity::il2cpp_call!((::unity::module_base()+0x1e98e40usize)as*mut u8,();
42(BipedIK)__receiver)
43        }
44    }
45    #[doc = "`OpenScriptReference()` overload"]
46    fn open_script_reference(self) -> () {
47        unsafe {
48            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
49            ::unity::il2cpp_call!((::unity::module_base()+0x1e98e90usize)as*mut u8,();
50(BipedIK)__receiver)
51        }
52    }
53    #[doc = "`SupportGroup()` overload"]
54    fn support_group(self) -> () {
55        unsafe {
56            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
57            ::unity::il2cpp_call!((::unity::module_base()+0x1e98ee0usize)as*mut u8,();
58(BipedIK)__receiver)
59        }
60    }
61    #[doc = "`ASThread()` overload"]
62    fn as_thread(self) -> () {
63        unsafe {
64            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65            ::unity::il2cpp_call!((::unity::module_base()+0x1e98f30usize)as*mut u8,();
66(BipedIK)__receiver)
67        }
68    }
69    #[doc = "`GetIKPositionWeight(crate::unity_engine::avatarikgoal::AvatarIKGoal)` overload"]
70    fn get_ik_position_weight(self, goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>) -> f32 {
71        unsafe {
72            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73            ::unity::il2cpp_call!((::unity::module_base()+0x1e98f80usize)as*mut u8,f32;
74(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal))
75        }
76    }
77    #[doc = "`GetIKRotationWeight(crate::unity_engine::avatarikgoal::AvatarIKGoal)` overload"]
78    fn get_ik_rotation_weight(self, goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>) -> f32 {
79        unsafe {
80            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            ::unity::il2cpp_call!((::unity::module_base()+0x1e99060usize)as*mut u8,f32;
82(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal))
83        }
84    }
85    #[doc = "`SetIKPositionWeight(crate::unity_engine::avatarikgoal::AvatarIKGoal, f32)` overload"]
86    fn set_ik_position_weight(
87        self,
88        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
89        weight: impl ::core::convert::Into<f32>,
90    ) -> () {
91        unsafe {
92            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93            ::unity::il2cpp_call!((::unity::module_base()+0x1e990e0usize)as*mut u8,();
94(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal),(f32)::core::convert::Into::into(weight))
95        }
96    }
97    #[doc = "`SetIKRotationWeight(crate::unity_engine::avatarikgoal::AvatarIKGoal, f32)` overload"]
98    fn set_ik_rotation_weight(
99        self,
100        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
101        weight: impl ::core::convert::Into<f32>,
102    ) -> () {
103        unsafe {
104            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105            ::unity::il2cpp_call!((::unity::module_base()+0x1e99150usize)as*mut u8,();
106(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal),(f32)::core::convert::Into::into(weight))
107        }
108    }
109    #[doc = "`SetIKPosition(crate::unity_engine::avatarikgoal::AvatarIKGoal, crate::unity_engine::vector3::Vector3)` overload"]
110    fn set_ik_position(
111        self,
112        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
113        ik_position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
114    ) -> () {
115        unsafe {
116            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x1e991c0usize)as*mut u8,();
118(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(ik_position))
119        }
120    }
121    #[doc = "`SetIKRotation(crate::unity_engine::avatarikgoal::AvatarIKGoal, crate::unity_engine::quaternion::Quaternion)` overload"]
122    fn set_ik_rotation(
123        self,
124        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
125        ik_rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
126    ) -> () {
127        unsafe {
128            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129            ::unity::il2cpp_call!((::unity::module_base()+0x1e99240usize)as*mut u8,();
130(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(ik_rotation))
131        }
132    }
133    #[doc = "`GetIKPosition(crate::unity_engine::avatarikgoal::AvatarIKGoal)` overload"]
134    fn get_ik_position(
135        self,
136        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
137    ) -> crate::unity_engine::vector3::Vector3 {
138        unsafe {
139            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140            ::unity::il2cpp_call!((::unity::module_base()+0x1e992b0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
141(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal))
142        }
143    }
144    #[doc = "`GetIKRotation(crate::unity_engine::avatarikgoal::AvatarIKGoal)` overload"]
145    fn get_ik_rotation(
146        self,
147        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
148    ) -> crate::unity_engine::quaternion::Quaternion {
149        unsafe {
150            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x1e99340usize)as*mut u8,crate::unity_engine::quaternion::Quaternion;
152(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal))
153        }
154    }
155    #[doc = "`SetLookAtWeight(f32, f32, f32, f32, f32, f32, f32)` overload"]
156    fn set_look_at_weight(
157        self,
158        weight: impl ::core::convert::Into<f32>,
159        body_weight: impl ::core::convert::Into<f32>,
160        head_weight: impl ::core::convert::Into<f32>,
161        eyes_weight: impl ::core::convert::Into<f32>,
162        clamp_weight: impl ::core::convert::Into<f32>,
163        clamp_weight_head: impl ::core::convert::Into<f32>,
164        clamp_weight_eyes: impl ::core::convert::Into<f32>,
165    ) -> () {
166        unsafe {
167            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168            ::unity::il2cpp_call!((::unity::module_base()+0x1e993e0usize)as*mut u8,();
169(BipedIK)__receiver,(f32)::core::convert::Into::into(weight),(f32)::core::convert::Into::into(body_weight),(f32)::core::convert::Into::into(head_weight),(f32)::core::convert::Into::into(eyes_weight),(f32)::core::convert::Into::into(clamp_weight),(f32)::core::convert::Into::into(clamp_weight_head),(f32)::core::convert::Into::into(clamp_weight_eyes))
170        }
171    }
172    #[doc = "`SetLookAtPosition(crate::unity_engine::vector3::Vector3)` overload"]
173    fn set_look_at_position(self, look_at_position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
174        unsafe {
175            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176            ::unity::il2cpp_call!((::unity::module_base()+0x1e993f0usize)as*mut u8,();
177(BipedIK)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(look_at_position))
178        }
179    }
180    #[doc = "`SetSpinePosition(crate::unity_engine::vector3::Vector3)` overload"]
181    fn set_spine_position(self, spine_position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
182        unsafe {
183            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184            ::unity::il2cpp_call!((::unity::module_base()+0x1e99410usize)as*mut u8,();
185(BipedIK)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(spine_position))
186        }
187    }
188    #[doc = "`SetSpineWeight(f32)` overload"]
189    fn set_spine_weight(self, weight: impl ::core::convert::Into<f32>) -> () {
190        unsafe {
191            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
192            ::unity::il2cpp_call!((::unity::module_base()+0x1e99430usize)as*mut u8,();
193(BipedIK)__receiver,(f32)::core::convert::Into::into(weight))
194        }
195    }
196    #[doc = "`GetGoalIK(crate::unity_engine::avatarikgoal::AvatarIKGoal)` overload"]
197    fn get_goal_ik(
198        self,
199        goal: impl ::core::convert::Into<crate::unity_engine::avatarikgoal::AvatarIKGoal>,
200    ) -> crate::root_motion::final_ik::iksolverlimb::IKSolverLimb {
201        unsafe {
202            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203            ::unity::il2cpp_call!((::unity::module_base()+0x1e99000usize)as*mut u8,crate::root_motion::final_ik::iksolverlimb::IKSolverLimb;
204(BipedIK)__receiver,(crate::unity_engine::avatarikgoal::AvatarIKGoal)::core::convert::Into::into(goal))
205        }
206    }
207    #[doc = "`InitiateBipedIK()` overload"]
208    fn initiate_biped_ik(self) -> () {
209        unsafe {
210            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211            ::unity::il2cpp_call!((::unity::module_base()+0x1e99440usize)as*mut u8,();
212(BipedIK)__receiver)
213        }
214    }
215    #[doc = "`UpdateBipedIK()` overload"]
216    fn update_biped_ik(self) -> () {
217        unsafe {
218            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219            ::unity::il2cpp_call!((::unity::module_base()+0x1e99450usize)as*mut u8,();
220(BipedIK)__receiver)
221        }
222    }
223    #[doc = "`SetToDefaults()` overload"]
224    fn set_to_defaults(self) -> () {
225        unsafe {
226            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x1e99460usize)as*mut u8,();
228(BipedIK)__receiver)
229        }
230    }
231    #[doc = "`FixTransforms()` overload"]
232    fn fix_transforms(self) -> () {
233        unsafe {
234            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
235            {
236                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
237                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
238                    panic!(
239                        "unity: virtual slot {}
240 out of range (vtable len {}
241) on the runtime class behind {}
242 (method `{}
243`)",
244                        6usize,
245                        __vt.len(),
246                        <BipedIK as ::unity::ClassIdentity>::NAME,
247                        "FixTransforms",
248                    )
249                });
250                let __inner: extern "C" fn(BipedIK, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
251                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
252                __inner(__receiver, __mi)
253            }
254        }
255    }
256    #[doc = "`InitiateSolver()` overload"]
257    fn initiate_solver(self) -> () {
258        unsafe {
259            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260            {
261                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
262                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
263                    panic!(
264                        "unity: virtual slot {}
265 out of range (vtable len {}
266) on the runtime class behind {}
267 (method `{}
268`)",
269                        4usize,
270                        __vt.len(),
271                        <BipedIK as ::unity::ClassIdentity>::NAME,
272                        "InitiateSolver",
273                    )
274                });
275                let __inner: extern "C" fn(BipedIK, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
276                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
277                __inner(__receiver, __mi)
278            }
279        }
280    }
281    #[doc = "`UpdateSolver()` overload"]
282    fn update_solver(self) -> () {
283        unsafe {
284            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
285            {
286                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
287                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
288                    panic!(
289                        "unity: virtual slot {}
290 out of range (vtable len {}
291) on the runtime class behind {}
292 (method `{}
293`)",
294                        5usize,
295                        __vt.len(),
296                        <BipedIK as ::unity::ClassIdentity>::NAME,
297                        "UpdateSolver",
298                    )
299                });
300                let __inner: extern "C" fn(BipedIK, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
301                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
302                __inner(__receiver, __mi)
303            }
304        }
305    }
306    #[doc = "`LogWarning(::unity::Il2CppString)` overload"]
307    fn log_warning(self, message: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
308        unsafe {
309            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310            ::unity::il2cpp_call!((::unity::module_base()+0x1e99bc0usize)as*mut u8,();
311(BipedIK)__receiver,(::unity::Il2CppString)::core::convert::Into::into(message))
312        }
313    }
314    #[doc = "`.ctor()` overload"]
315    fn ctor(self) -> () {
316        unsafe {
317            let __receiver = <BipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318            ::unity::il2cpp_call!((::unity::module_base()+0x1e99c00usize)as*mut u8,();
319(BipedIK)__receiver)
320        }
321    }
322}
323
324#[cfg(feature = "root_motion-final_ik-bipedik")]
325impl<__T: IBipedIK> IBipedIKMethods for __T {}
326
327#[cfg(feature = "root_motion-final_ik-bipedik")]
328impl BipedIK {
329    pub fn open_user_manual_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
331    }
332
333    pub fn open_script_reference_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
335    }
336
337    pub fn support_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
339    }
340
341    pub fn as_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
343    }
344
345    pub fn get_ik_position_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
347    }
348
349    pub fn get_ik_rotation_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
351    }
352
353    pub fn set_ik_position_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
355    }
356
357    pub fn set_ik_rotation_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
359    }
360
361    pub fn set_ik_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
363    }
364
365    pub fn set_ik_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
367    }
368
369    pub fn get_ik_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
371    }
372
373    pub fn get_ik_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
375    }
376
377    pub fn set_look_at_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
379    }
380
381    pub fn set_look_at_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
383    }
384
385    pub fn set_spine_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
387    }
388
389    pub fn set_spine_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
391    }
392
393    pub fn get_goal_ik_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
395    }
396
397    pub fn initiate_biped_ik_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
399    }
400
401    pub fn update_biped_ik_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
403    }
404
405    pub fn set_to_defaults_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
407    }
408
409    pub fn fix_transforms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
411    }
412
413    pub fn initiate_solver_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
415    }
416
417    pub fn update_solver_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
419    }
420
421    pub fn log_warning_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
423    }
424
425    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
427    }
428}
429
430#[cfg(feature = "root_motion-final_ik-bipedik")]
431impl BipedIK {
432    #[doc = "Direct (non-virtual) call to `BipedIK`'s own `FixTransforms`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
433    pub unsafe fn fix_transforms(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
434        let __mi = Self::fix_transforms_method_info();
435        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
436        __inner(this.into(), ::core::option::Option::None)
437    }
438
439    #[doc = "Direct (non-virtual) call to `BipedIK`'s own `InitiateSolver`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
440    pub unsafe fn initiate_solver(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
441        let __mi = Self::initiate_solver_method_info();
442        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
443        __inner(this.into(), ::core::option::Option::None)
444    }
445
446    #[doc = "Direct (non-virtual) call to `BipedIK`'s own `UpdateSolver`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
447    pub unsafe fn update_solver(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
448        let __mi = Self::update_solver_method_info();
449        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
450        __inner(this.into(), ::core::option::Option::None)
451    }
452}
453
454#[cfg(feature = "root_motion-final_ik-bipedik")]
455impl BipedIK {
456    #[doc = "`.ctor()` — no args"]
457    pub fn new() -> Self {
458        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
459            panic!(
460                "{}
461::{}
462 failed to instantiate",
463                ::core::stringify!(BipedIK),
464                ::core::stringify!(new),
465            )
466        });
467        <Self as IBipedIKMethods>::ctor(this);
468        this
469    }
470}
471
472#[cfg(feature = "root_motion-final_ik-bipedik")]
473#[doc(hidden)]
474pub mod prelude {
475    pub use super::{BipedIK, IBipedIK, IBipedIKMethods};
476    #[cfg(feature = "root_motion-solvermanager")]
477    pub use crate::root_motion::solvermanager::ISolverManagerMethods;
478    #[cfg(feature = "system-object")]
479    pub use crate::system::object::IObjectMethods;
480    #[cfg(feature = "unity_engine-behaviour")]
481    pub use crate::unity_engine::behaviour::IBehaviourMethods;
482    #[cfg(feature = "unity_engine-component")]
483    pub use crate::unity_engine::component::IComponentMethods;
484    #[cfg(feature = "unity_engine-monobehaviour")]
485    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
486    #[cfg(feature = "unity_engine-object_2")]
487    pub use crate::unity_engine::object_2::IObject_2Methods;
488    pub use crate::{
489        root_motion::solvermanager::ISolverManager,
490        system::object::IObject,
491        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
492    };
493}