Skip to main content

engage/generated/root_motion/final_ik/
grounderquadruped.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root_motion-final_ik-grounderquadruped-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        root_motion::final_ik::grounder::{Grounder, IGrounder},
10        system::{
11            object::{IObject, Object},
12            valuetype::{IValueType, ValueType},
13        },
14        unity_engine::{
15            behaviour::{Behaviour, IBehaviour},
16            component::{Component, IComponent},
17            monobehaviour::{IMonoBehaviour, MonoBehaviour},
18            object_2::{IObject_2, Object_2},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/grounderquadruped/GrounderQuadruped_Foot.md"))]
23    #[repr(C)]
24    #[derive(::core::clone::Clone, ::core::marker::Copy)]
25    pub struct GrounderQuadruped_Foot {
26        pub solver: crate::root_motion::final_ik::iksolver::IKSolver,
27        pub transform: crate::unity_engine::transform::Transform,
28        pub rotation: crate::unity_engine::quaternion::Quaternion,
29        pub leg: crate::root_motion::final_ik::grounding::Grounding_Leg,
30    }
31    impl ::unity::ClassIdentity for GrounderQuadruped_Foot {
32        const NAME: &'static str = "GrounderQuadruped.Foot";
33        const NAMESPACE: &'static str = "RootMotion.FinalIK";
34
35        fn class() -> ::unity::Class {
36            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
37            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
38        }
39    }
40    impl ::unity::IlType for GrounderQuadruped_Foot {
41        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
42            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
43        }
44    }
45
46    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/grounderquadruped/GrounderQuadruped.md"))]
47    #[::unity::class(namespace = "RootMotion.FinalIK", name = "GrounderQuadruped")]
48    #[parent(crate::root_motion::final_ik::grounder::Grounder)]
49    pub struct GrounderQuadruped {
50        #[offset(64)]
51        #[rename(name = "forelegSolver")]
52        pub foreleg_solver: crate::root_motion::final_ik::grounding::Grounding,
53        #[offset(72)]
54        #[rename(name = "rootRotationWeight")]
55        pub root_rotation_weight: f32,
56        #[offset(76)]
57        #[rename(name = "minRootRotation")]
58        pub min_root_rotation: f32,
59        #[offset(80)]
60        #[rename(name = "maxRootRotation")]
61        pub max_root_rotation: f32,
62        #[offset(84)]
63        #[rename(name = "rootRotationSpeed")]
64        pub root_rotation_speed: f32,
65        #[offset(88)]
66        #[rename(name = "maxLegOffset")]
67        pub max_leg_offset: f32,
68        #[offset(92)]
69        #[rename(name = "maxForeLegOffset")]
70        pub max_fore_leg_offset: f32,
71        #[offset(96)]
72        #[rename(name = "maintainHeadRotationWeight")]
73        pub maintain_head_rotation_weight: f32,
74        #[offset(104)]
75        #[rename(name = "characterRoot")]
76        pub character_root: crate::unity_engine::transform::Transform,
77        #[offset(112)]
78        #[rename(name = "pelvis")]
79        pub pelvis: crate::unity_engine::transform::Transform,
80        #[offset(120)]
81        #[rename(name = "lastSpineBone")]
82        pub last_spine_bone: crate::unity_engine::transform::Transform,
83        #[offset(128)]
84        #[rename(name = "head")]
85        pub head: crate::unity_engine::transform::Transform,
86        #[offset(136)]
87        #[rename(name = "legs")]
88        pub legs: ::unity::Array<crate::root_motion::final_ik::ik::IK>,
89        #[offset(144)]
90        #[rename(name = "forelegs")]
91        pub forelegs: ::unity::Array<crate::root_motion::final_ik::ik::IK>,
92        #[offset(152)]
93        #[rename(name = "gravity")]
94        pub gravity: crate::unity_engine::vector3::Vector3,
95        #[offset(168)]
96        #[rename(name = "feet")]
97        pub feet: ::unity::Array<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>,
98        #[offset(176)]
99        #[rename(name = "animatedPelvisLocalPosition")]
100        pub animated_pelvis_local_position: crate::unity_engine::vector3::Vector3,
101        #[offset(188)]
102        #[rename(name = "animatedPelvisLocalRotation")]
103        pub animated_pelvis_local_rotation: crate::unity_engine::quaternion::Quaternion,
104        #[offset(204)]
105        #[rename(name = "animatedHeadLocalRotation")]
106        pub animated_head_local_rotation: crate::unity_engine::quaternion::Quaternion,
107        #[offset(220)]
108        #[rename(name = "solvedPelvisLocalPosition")]
109        pub solved_pelvis_local_position: crate::unity_engine::vector3::Vector3,
110        #[offset(232)]
111        #[rename(name = "solvedPelvisLocalRotation")]
112        pub solved_pelvis_local_rotation: crate::unity_engine::quaternion::Quaternion,
113        #[offset(248)]
114        #[rename(name = "solvedHeadLocalRotation")]
115        pub solved_head_local_rotation: crate::unity_engine::quaternion::Quaternion,
116        #[offset(264)]
117        #[rename(name = "solvedFeet")]
118        pub solved_feet: i32,
119        #[offset(268)]
120        #[rename(name = "solved")]
121        pub solved: bool,
122        #[offset(272)]
123        #[rename(name = "angle")]
124        pub angle: f32,
125        #[offset(280)]
126        #[rename(name = "forefeetRoot")]
127        pub forefeet_root: crate::unity_engine::transform::Transform,
128        #[offset(288)]
129        #[rename(name = "headRotation")]
130        pub head_rotation: crate::unity_engine::quaternion::Quaternion,
131        #[offset(304)]
132        #[rename(name = "lastWeight")]
133        pub last_weight: f32,
134        #[offset(312)]
135        #[rename(name = "characterRootRigidbody")]
136        pub character_root_rigidbody: crate::unity_engine::rigidbody::Rigidbody,
137    }
138}
139
140#[cfg(feature = "root_motion-final_ik-grounderquadruped-types")]
141pub use __types::*;
142
143#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
144impl GrounderQuadruped_Foot {
145    #[doc = "`.ctor(crate::root_motion::final_ik::iksolver::IKSolver, crate::unity_engine::transform::Transform)` overload"]
146    pub fn ctor(
147        &mut self,
148        solver: impl ::core::convert::Into<crate::root_motion::final_ik::iksolver::IKSolver>,
149        transform: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
150    ) -> () {
151        unsafe {
152            ::unity::il2cpp_call!((::unity::module_base()+0x1cdb7d0usize)as*mut u8,();
153(*mut GrounderQuadruped_Foot)self as*mut GrounderQuadruped_Foot,(crate::root_motion::final_ik::iksolver::IKSolver)::core::convert::Into::into(solver),(crate::unity_engine::transform::Transform)::core::convert::Into::into(transform))
154        }
155    }
156}
157
158#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
159impl GrounderQuadruped_Foot {
160    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
162    }
163}
164
165#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
166pub trait IGrounderQuadrupedMethods: IGrounderQuadruped {
167    #[doc = "`OpenUserManual()` overload"]
168    fn open_user_manual(self) -> () {
169        unsafe {
170            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171            {
172                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
173                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
174                    panic!(
175                        "unity: virtual slot {}
176 out of range (vtable len {}
177) on the runtime class behind {}
178 (method `{}
179`)",
180                        5usize,
181                        __vt.len(),
182                        <GrounderQuadruped as ::unity::ClassIdentity>::NAME,
183                        "OpenUserManual",
184                    )
185                });
186                let __inner: extern "C" fn(GrounderQuadruped, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
187                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
188                __inner(__receiver, __mi)
189            }
190        }
191    }
192    #[doc = "`OpenScriptReference()` overload"]
193    fn open_script_reference(self) -> () {
194        unsafe {
195            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196            {
197                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
198                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
199                    panic!(
200                        "unity: virtual slot {}
201 out of range (vtable len {}
202) on the runtime class behind {}
203 (method `{}
204`)",
205                        6usize,
206                        __vt.len(),
207                        <GrounderQuadruped as ::unity::ClassIdentity>::NAME,
208                        "OpenScriptReference",
209                    )
210                });
211                let __inner: extern "C" fn(GrounderQuadruped, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
212                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
213                __inner(__receiver, __mi)
214            }
215        }
216    }
217    #[doc = "`ResetPosition()` overload"]
218    fn reset_position(self) -> () {
219        unsafe {
220            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            {
222                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
223                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
224                    panic!(
225                        "unity: virtual slot {}
226 out of range (vtable len {}
227) on the runtime class behind {}
228 (method `{}
229`)",
230                        4usize,
231                        __vt.len(),
232                        <GrounderQuadruped as ::unity::ClassIdentity>::NAME,
233                        "ResetPosition",
234                    )
235                });
236                let __inner: extern "C" fn(GrounderQuadruped, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
237                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
238                __inner(__receiver, __mi)
239            }
240        }
241    }
242    #[doc = "`IsReadyToInitiate()` overload"]
243    fn is_ready_to_initiate(self) -> bool {
244        unsafe {
245            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246            ::unity::il2cpp_call!((::unity::module_base()+0x2974de0usize)as*mut u8,bool;
247(GrounderQuadruped)__receiver)
248        }
249    }
250    #[doc = "`IsReadyToInitiateLegs(::unity::Array<crate::root_motion::final_ik::ik::IK>)` overload"]
251    fn is_ready_to_initiate_legs(self, ik_components: impl ::core::convert::Into<::unity::Array<crate::root_motion::final_ik::ik::IK>>) -> bool {
252        unsafe {
253            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
254            ::unity::il2cpp_call!((::unity::module_base()+0x2974f00usize)as*mut u8,bool;
255(GrounderQuadruped)__receiver,(::unity::Array<crate::root_motion::final_ik::ik::IK>)::core::convert::Into::into(ik_components))
256        }
257    }
258    #[doc = "`OnDisable()` overload"]
259    fn on_disable(self) -> () {
260        unsafe {
261            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262            ::unity::il2cpp_call!((::unity::module_base()+0x2975100usize)as*mut u8,();
263(GrounderQuadruped)__receiver)
264        }
265    }
266    #[doc = "`Update()` overload"]
267    fn update(self) -> () {
268        unsafe {
269            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270            ::unity::il2cpp_call!((::unity::module_base()+0x2975180usize)as*mut u8,();
271(GrounderQuadruped)__receiver)
272        }
273    }
274    #[doc = "`Initiate()` overload"]
275    fn initiate(self) -> () {
276        unsafe {
277            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278            ::unity::il2cpp_call!((::unity::module_base()+0x29751f0usize)as*mut u8,();
279(GrounderQuadruped)__receiver)
280        }
281    }
282    #[doc = "`InitiateFeet(::unity::Array<crate::root_motion::final_ik::ik::IK>, *mut::unity::Array<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>, i32)` overload"]
283    fn initiate_feet(
284        self,
285        ik_components: impl ::core::convert::Into<::unity::Array<crate::root_motion::final_ik::ik::IK>>,
286        index_offset: impl ::core::convert::Into<i32>,
287    ) -> (
288        ::unity::Array<crate::unity_engine::transform::Transform>,
289        ::unity::Array<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>,
290    ) {
291        unsafe {
292            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
293            let mut __out_0 =
294                ::core::mem::MaybeUninit::<::unity::Array<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>>::uninit();
295            let __ret = {
296                ::unity::il2cpp_call!((::unity::module_base()+0x29754f0usize)as*mut u8, ::unity::Array<crate::unity_engine::transform::Transform> ;
297(GrounderQuadruped)__receiver,(::unity::Array<crate::root_motion::final_ik::ik::IK>)::core::convert::Into::into(ik_components),(*mut::unity::Array<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>)__out_0.as_mut_ptr(),(i32)::core::convert::Into::into(index_offset))
298            };
299            (__ret, __out_0.assume_init())
300        }
301    }
302    #[doc = "`LateUpdate()` overload"]
303    fn late_update(self) -> () {
304        unsafe {
305            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306            ::unity::il2cpp_call!((::unity::module_base()+0x2975860usize)as*mut u8,();
307(GrounderQuadruped)__receiver)
308        }
309    }
310    #[doc = "`RootRotation()` overload"]
311    fn root_rotation(self) -> () {
312        unsafe {
313            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314            ::unity::il2cpp_call!((::unity::module_base()+0x2975960usize)as*mut u8,();
315(GrounderQuadruped)__receiver)
316        }
317    }
318    #[doc = "`OnSolverUpdate()` overload"]
319    fn on_solver_update(self) -> () {
320        unsafe {
321            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322            ::unity::il2cpp_call!((::unity::module_base()+0x2975d20usize)as*mut u8,();
323(GrounderQuadruped)__receiver)
324        }
325    }
326    #[doc = "`UpdateForefeetRoot()` overload"]
327    fn update_forefeet_root(self) -> () {
328        unsafe {
329            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330            ::unity::il2cpp_call!((::unity::module_base()+0x2976320usize)as*mut u8,();
331(GrounderQuadruped)__receiver)
332        }
333    }
334    #[doc = "`SetFootIK(crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot, f32)` overload"]
335    fn set_foot_ik(
336        self,
337        foot: impl ::core::convert::Into<crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot>,
338        max_offset: impl ::core::convert::Into<f32>,
339    ) -> () {
340        unsafe {
341            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342            ::unity::il2cpp_call!((::unity::module_base()+0x29764e0usize)as*mut u8,();
343(GrounderQuadruped)__receiver,(crate::root_motion::final_ik::grounderquadruped::GrounderQuadruped_Foot)::core::convert::Into::into(foot),(f32)::core::convert::Into::into(max_offset))
344        }
345    }
346    #[doc = "`OnPostSolverUpdate()` overload"]
347    fn on_post_solver_update(self) -> () {
348        unsafe {
349            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350            ::unity::il2cpp_call!((::unity::module_base()+0x29765b0usize)as*mut u8,();
351(GrounderQuadruped)__receiver)
352        }
353    }
354    #[doc = "`OnDestroy()` overload"]
355    fn on_destroy(self) -> () {
356        unsafe {
357            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358            ::unity::il2cpp_call!((::unity::module_base()+0x29767d0usize)as*mut u8,();
359(GrounderQuadruped)__receiver)
360        }
361    }
362    #[doc = "`DestroyLegs(::unity::Array<crate::root_motion::final_ik::ik::IK>)` overload"]
363    fn destroy_legs(self, ik_components: impl ::core::convert::Into<::unity::Array<crate::root_motion::final_ik::ik::IK>>) -> () {
364        unsafe {
365            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366            ::unity::il2cpp_call!((::unity::module_base()+0x2976810usize)as*mut u8,();
367(GrounderQuadruped)__receiver,(::unity::Array<crate::root_motion::final_ik::ik::IK>)::core::convert::Into::into(ik_components))
368        }
369    }
370    #[doc = "`.ctor()` overload"]
371    fn ctor(self) -> () {
372        unsafe {
373            let __receiver = <GrounderQuadruped as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
374            ::unity::il2cpp_call!((::unity::module_base()+0x2974a80usize)as*mut u8,();
375(GrounderQuadruped)__receiver)
376        }
377    }
378}
379
380#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
381impl<__T: IGrounderQuadruped> IGrounderQuadrupedMethods for __T {}
382
383#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
384impl GrounderQuadruped {
385    pub fn open_user_manual_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
387    }
388
389    pub fn open_script_reference_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
391    }
392
393    pub fn reset_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
395    }
396
397    pub fn is_ready_to_initiate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
399    }
400
401    pub fn is_ready_to_initiate_legs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
403    }
404
405    pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
407    }
408
409    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
411    }
412
413    pub fn initiate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
415    }
416
417    pub fn initiate_feet_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
419    }
420
421    pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
423    }
424
425    pub fn root_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
427    }
428
429    pub fn on_solver_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
431    }
432
433    pub fn update_forefeet_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
435    }
436
437    pub fn set_foot_ik_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
439    }
440
441    pub fn on_post_solver_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
443    }
444
445    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
447    }
448
449    pub fn destroy_legs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
451    }
452
453    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
455    }
456}
457
458#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
459impl GrounderQuadruped {
460    #[doc = "Direct (non-virtual) call to `GrounderQuadruped`'s own `OpenUserManual`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
461    pub unsafe fn open_user_manual(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
462        let __mi = Self::open_user_manual_method_info();
463        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
464        __inner(this.into(), ::core::option::Option::None)
465    }
466
467    #[doc = "Direct (non-virtual) call to `GrounderQuadruped`'s own `OpenScriptReference`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
468    pub unsafe fn open_script_reference(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
469        let __mi = Self::open_script_reference_method_info();
470        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
471        __inner(this.into(), ::core::option::Option::None)
472    }
473
474    #[doc = "Direct (non-virtual) call to `GrounderQuadruped`'s own `ResetPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
475    pub unsafe fn reset_position(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
476        let __mi = Self::reset_position_method_info();
477        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
478        __inner(this.into(), ::core::option::Option::None)
479    }
480}
481
482#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
483impl GrounderQuadruped {
484    #[doc = "`.ctor()` — no args"]
485    pub fn new() -> Self {
486        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
487            panic!(
488                "{}
489::{}
490 failed to instantiate",
491                ::core::stringify!(GrounderQuadruped),
492                ::core::stringify!(new),
493            )
494        });
495        <Self as IGrounderQuadrupedMethods>::ctor(this);
496        this
497    }
498}
499
500#[cfg(feature = "root_motion-final_ik-grounderquadruped")]
501#[doc(hidden)]
502pub mod prelude {
503    pub use super::{GrounderQuadruped, GrounderQuadruped_Foot, IGrounderQuadruped, IGrounderQuadrupedMethods};
504    #[cfg(feature = "root_motion-final_ik-grounder")]
505    pub use crate::root_motion::final_ik::grounder::IGrounderMethods;
506    #[cfg(feature = "system-object")]
507    pub use crate::system::object::IObjectMethods;
508    #[cfg(feature = "system-valuetype")]
509    pub use crate::system::valuetype::IValueTypeMethods;
510    #[cfg(feature = "unity_engine-behaviour")]
511    pub use crate::unity_engine::behaviour::IBehaviourMethods;
512    #[cfg(feature = "unity_engine-component")]
513    pub use crate::unity_engine::component::IComponentMethods;
514    #[cfg(feature = "unity_engine-monobehaviour")]
515    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
516    #[cfg(feature = "unity_engine-object_2")]
517    pub use crate::unity_engine::object_2::IObject_2Methods;
518    pub use crate::{
519        root_motion::final_ik::grounder::IGrounder,
520        system::{object::IObject, valuetype::IValueType},
521        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
522    };
523}