engage/generated/combat/
radialblurcomponent.rs1#[cfg(feature = "combat-radialblurcomponent-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/combat/radialblurcomponent/RadialBlurComponent.md"))]
19 #[::unity::class(namespace = "Combat", name = "RadialBlurComponent")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct RadialBlurComponent {
22 #[offset(24)]
23 #[rename(name = "_radialBlur")]
24 pub radial_blur: crate::unity_engine::rendering::universal::custom::customradialblur::CustomRadialBlur,
25 #[offset(32)]
26 #[rename(name = "RadialBlurCurve")]
27 pub radial_blur_curve: crate::unity_engine::animationcurve::AnimationCurve,
28 #[offset(40)]
29 #[rename(name = "m_ElapsedTime")]
30 pub m_elapsed_time: f32,
31 }
32}
33
34#[cfg(feature = "combat-radialblurcomponent-types")]
35pub use __types::*;
36
37#[cfg(feature = "combat-radialblurcomponent")]
38impl RadialBlurComponent {
39 #[doc = "`FindVolumeFromScene()` overload"]
40 pub fn find_volume_from_scene() -> crate::unity_engine::rendering::volume::Volume {
41 unsafe {
42 ::unity::il2cpp_call!((::unity::module_base()+0x23725f0usize)as*mut u8,crate::unity_engine::rendering::volume::Volume;
43 )
44 }
45 }
46}
47
48#[cfg(feature = "combat-radialblurcomponent")]
49pub trait IRadialBlurComponentMethods: IRadialBlurComponent {
50 #[doc = "`get_RadialBlur()` overload"]
51 fn get_radial_blur(self) -> crate::unity_engine::rendering::universal::custom::customradialblur::CustomRadialBlur {
52 unsafe {
53 let __receiver = <RadialBlurComponent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54 ::unity::il2cpp_call!((::unity::module_base()+0x2372510usize)as*mut u8,crate::unity_engine::rendering::universal::custom::customradialblur::CustomRadialBlur;
55(RadialBlurComponent)__receiver)
56 }
57 }
58 #[doc = "`OnEnable()` overload"]
59 fn on_enable(self) -> () {
60 unsafe {
61 let __receiver = <RadialBlurComponent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62 ::unity::il2cpp_call!((::unity::module_base()+0x23726f0usize)as*mut u8,();
63(RadialBlurComponent)__receiver)
64 }
65 }
66 #[doc = "`Start()` overload"]
67 fn start(self) -> () {
68 unsafe {
69 let __receiver = <RadialBlurComponent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70 ::unity::il2cpp_call!((::unity::module_base()+0x2372700usize)as*mut u8,();
71(RadialBlurComponent)__receiver)
72 }
73 }
74 #[doc = "`Update()` overload"]
75 fn update(self) -> () {
76 unsafe {
77 let __receiver = <RadialBlurComponent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78 ::unity::il2cpp_call!((::unity::module_base()+0x23727f0usize)as*mut u8,();
79(RadialBlurComponent)__receiver)
80 }
81 }
82 #[doc = "`.ctor()` overload"]
83 fn ctor(self) -> () {
84 unsafe {
85 let __receiver = <RadialBlurComponent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86 ::unity::il2cpp_call!((::unity::module_base()+0x2372950usize)as*mut u8,();
87(RadialBlurComponent)__receiver)
88 }
89 }
90}
91
92#[cfg(feature = "combat-radialblurcomponent")]
93impl<__T: IRadialBlurComponent> IRadialBlurComponentMethods for __T {}
94
95#[cfg(feature = "combat-radialblurcomponent")]
96impl RadialBlurComponent {
97 pub fn get_radial_blur_method_info() -> &'static ::unity::il2cpp::MethodInfo {
98 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
99 }
100
101 pub fn find_volume_from_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
103 }
104
105 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
107 }
108
109 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
111 }
112
113 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
115 }
116
117 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
119 }
120}
121
122#[cfg(feature = "combat-radialblurcomponent")]
123impl RadialBlurComponent {
124 #[doc = "`.ctor()` — no args"]
125 pub fn new() -> Self {
126 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
127 panic!(
128 "{}
129::{}
130 failed to instantiate",
131 ::core::stringify!(RadialBlurComponent),
132 ::core::stringify!(new),
133 )
134 });
135 <Self as IRadialBlurComponentMethods>::ctor(this);
136 this
137 }
138}
139
140#[cfg(feature = "combat-radialblurcomponent")]
141#[doc(hidden)]
142pub mod prelude {
143 pub use super::{IRadialBlurComponent, IRadialBlurComponentMethods, RadialBlurComponent};
144 #[cfg(feature = "system-object")]
145 pub use crate::system::object::IObjectMethods;
146 #[cfg(feature = "unity_engine-behaviour")]
147 pub use crate::unity_engine::behaviour::IBehaviourMethods;
148 #[cfg(feature = "unity_engine-component")]
149 pub use crate::unity_engine::component::IComponentMethods;
150 #[cfg(feature = "unity_engine-monobehaviour")]
151 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
152 #[cfg(feature = "unity_engine-object_2")]
153 pub use crate::unity_engine::object_2::IObject_2Methods;
154 pub use crate::{
155 system::object::IObject,
156 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
157 };
158}