Skip to main content

engage/generated/root/
ppradialblurplayablebehaviour.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-ppradialblurplayablebehaviour-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::playables::playablebehaviour::{IPlayableBehaviour, PlayableBehaviour},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/ppradialblurplayablebehaviour/PPRadialBlurPlayableBehaviour.md"))]
14    #[::unity::class(namespace = "", name = "PPRadialBlurPlayableBehaviour")]
15    #[parent(crate::unity_engine::playables::playablebehaviour::PlayableBehaviour)]
16    pub struct PPRadialBlurPlayableBehaviour {}
17}
18
19#[cfg(feature = "root-ppradialblurplayablebehaviour-types")]
20pub use __types::*;
21
22#[cfg(feature = "root-ppradialblurplayablebehaviour")]
23pub trait IPPRadialBlurPlayableBehaviourMethods: IPPRadialBlurPlayableBehaviour {
24    #[doc = "`get_PPVolume()` overload"]
25    fn get_pp_volume(self) -> crate::unity_engine::rendering::volume::Volume {
26        unsafe {
27            let __receiver =
28                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
29            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f00usize)as*mut u8,crate::unity_engine::rendering::volume::Volume;
30(PPRadialBlurPlayableBehaviour)__receiver)
31        }
32    }
33    #[doc = "`set_PPVolume(crate::unity_engine::rendering::volume::Volume)` overload"]
34    fn set_pp_volume(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::volume::Volume>) -> () {
35        unsafe {
36            let __receiver =
37                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
38            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f10usize)as*mut u8,();
39(PPRadialBlurPlayableBehaviour)__receiver,(crate::unity_engine::rendering::volume::Volume)::core::convert::Into::into(value))
40        }
41    }
42    #[doc = "`get_BeginIntensity()` overload"]
43    fn get_begin_intensity(self) -> f32 {
44        unsafe {
45            let __receiver =
46                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
47            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f20usize)as*mut u8,f32;
48(PPRadialBlurPlayableBehaviour)__receiver)
49        }
50    }
51    #[doc = "`set_BeginIntensity(f32)` overload"]
52    fn set_begin_intensity(self, value: impl ::core::convert::Into<f32>) -> () {
53        unsafe {
54            let __receiver =
55                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f30usize)as*mut u8,();
57(PPRadialBlurPlayableBehaviour)__receiver,(f32)::core::convert::Into::into(value))
58        }
59    }
60    #[doc = "`get_EndIntensity()` overload"]
61    fn get_end_intensity(self) -> f32 {
62        unsafe {
63            let __receiver =
64                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f40usize)as*mut u8,f32;
66(PPRadialBlurPlayableBehaviour)__receiver)
67        }
68    }
69    #[doc = "`set_EndIntensity(f32)` overload"]
70    fn set_end_intensity(self, value: impl ::core::convert::Into<f32>) -> () {
71        unsafe {
72            let __receiver =
73                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
74            ::unity::il2cpp_call!((::unity::module_base()+0x1f21f50usize)as*mut u8,();
75(PPRadialBlurPlayableBehaviour)__receiver,(f32)::core::convert::Into::into(value))
76        }
77    }
78    #[doc = "`ProcessFrame(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::framedata::FrameData, crate::system::object::Object)` overload"]
79    fn process_frame(
80        self,
81        playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
82        info: impl ::core::convert::Into<crate::unity_engine::playables::framedata::FrameData>,
83        player_data: impl ::core::convert::Into<crate::system::object::Object>,
84    ) -> () {
85        unsafe {
86            let __receiver =
87                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88            {
89                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
90                let __vi = *__vt.get(20usize).unwrap_or_else(|| {
91                    panic!(
92                        "unity: virtual slot {}
93 out of range (vtable len {}
94) on the runtime class behind {}
95 (method `{}
96`)",
97                        20usize,
98                        __vt.len(),
99                        <PPRadialBlurPlayableBehaviour as ::unity::ClassIdentity>::NAME,
100                        "ProcessFrame",
101                    )
102                });
103                let __inner: extern "C" fn(
104                    PPRadialBlurPlayableBehaviour,
105                    crate::unity_engine::playables::playable::Playable,
106                    crate::unity_engine::playables::framedata::FrameData,
107                    crate::system::object::Object,
108                    ::unity::OptionalMethod,
109                ) -> () = ::core::mem::transmute(__vi.method_ptr);
110                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
111                __inner(
112                    __receiver,
113                    ::core::convert::Into::into(playable),
114                    ::core::convert::Into::into(info),
115                    ::core::convert::Into::into(player_data),
116                    __mi,
117                )
118            }
119        }
120    }
121    #[doc = "`.ctor()` overload"]
122    fn ctor(self) -> () {
123        unsafe {
124            let __receiver =
125                <PPRadialBlurPlayableBehaviour as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126            ::unity::il2cpp_call!((::unity::module_base()+0x1f220e0usize)as*mut u8,();
127(PPRadialBlurPlayableBehaviour)__receiver)
128        }
129    }
130}
131
132#[cfg(feature = "root-ppradialblurplayablebehaviour")]
133impl<__T: IPPRadialBlurPlayableBehaviour> IPPRadialBlurPlayableBehaviourMethods for __T {}
134
135#[cfg(feature = "root-ppradialblurplayablebehaviour")]
136impl PPRadialBlurPlayableBehaviour {
137    pub fn get_pp_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
138        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
139    }
140
141    pub fn set_pp_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
142        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
143    }
144
145    pub fn get_begin_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
146        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
147    }
148
149    pub fn set_begin_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
150        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
151    }
152
153    pub fn get_end_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
154        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
155    }
156
157    pub fn set_end_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
158        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
159    }
160
161    pub fn process_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
162        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
163    }
164
165    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
167    }
168}
169
170#[cfg(feature = "root-ppradialblurplayablebehaviour")]
171impl PPRadialBlurPlayableBehaviour {
172    #[doc = "Direct (non-virtual) call to `PPRadialBlurPlayableBehaviour`'s own `ProcessFrame`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
173    pub unsafe fn process_frame(
174        this: impl ::core::convert::Into<::unity::IlInstance>,
175        playable: crate::unity_engine::playables::playable::Playable,
176        info: crate::unity_engine::playables::framedata::FrameData,
177        player_data: crate::system::object::Object,
178    ) -> () {
179        let __mi = Self::process_frame_method_info();
180        let __inner: extern "C" fn(
181            ::unity::IlInstance,
182            crate::unity_engine::playables::playable::Playable,
183            crate::unity_engine::playables::framedata::FrameData,
184            crate::system::object::Object,
185            ::unity::OptionalMethod,
186        ) -> () = ::core::mem::transmute(__mi.method_ptr);
187        __inner(this.into(), playable, info, player_data, ::core::option::Option::None)
188    }
189}
190
191#[cfg(feature = "root-ppradialblurplayablebehaviour")]
192impl PPRadialBlurPlayableBehaviour {
193    #[doc = "`.ctor()` — no args"]
194    pub fn new() -> Self {
195        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
196            panic!(
197                "{}
198::{}
199 failed to instantiate",
200                ::core::stringify!(PPRadialBlurPlayableBehaviour),
201                ::core::stringify!(new),
202            )
203        });
204        <Self as IPPRadialBlurPlayableBehaviourMethods>::ctor(this);
205        this
206    }
207}
208
209#[cfg(feature = "root-ppradialblurplayablebehaviour")]
210#[doc(hidden)]
211pub mod prelude {
212    pub use super::{IPPRadialBlurPlayableBehaviour, IPPRadialBlurPlayableBehaviourMethods, PPRadialBlurPlayableBehaviour};
213    #[cfg(feature = "system-object")]
214    pub use crate::system::object::IObjectMethods;
215    #[cfg(feature = "unity_engine-playables-playablebehaviour")]
216    pub use crate::unity_engine::playables::playablebehaviour::IPlayableBehaviourMethods;
217    pub use crate::{system::object::IObject, unity_engine::playables::playablebehaviour::IPlayableBehaviour};
218}