Skip to main content

engage/generated/unity_engine/rendering/
volumemanager.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-volumemanager-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/volumemanager/VolumeManager.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "VolumeManager")]
12    #[parent(crate::system::object::Object)]
13    pub struct VolumeManager {
14        #[static_field]
15        #[rename(name = "s_Instance")]
16        pub s_instance: ::unity::IlInstance,
17        #[static_field]
18        #[rename(name = "k_MaxLayerCount")]
19        pub k_max_layer_count: i32,
20        #[offset(32)]
21        #[rename(name = "m_SortedVolumes")]
22        pub m_sorted_volumes: crate::system::collections::generic::dictionary_2::Dictionary_2<
23            i32,
24            crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume>,
25        >,
26        #[offset(40)]
27        #[rename(name = "m_Volumes")]
28        pub m_volumes: crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume>,
29        #[offset(48)]
30        #[rename(name = "m_SortNeeded")]
31        pub m_sort_needed: crate::system::collections::generic::dictionary_2::Dictionary_2<i32, bool>,
32        #[offset(56)]
33        #[rename(name = "m_ComponentsDefaultState")]
34        pub m_components_default_state:
35            crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>,
36        #[offset(64)]
37        #[rename(name = "m_TempColliders")]
38        pub m_temp_colliders: crate::system::collections::generic::list_1::List_1<crate::unity_engine::collider::Collider>,
39    }
40}
41
42#[cfg(feature = "unity_engine-rendering-volumemanager-types")]
43pub use __types::*;
44
45#[cfg(feature = "unity_engine-rendering-volumemanager")]
46impl VolumeManager {
47    #[doc = "`get_instance()` overload"]
48    pub fn get_instance() -> crate::unity_engine::rendering::volumemanager::VolumeManager {
49        unsafe {
50            ::unity::il2cpp_call!((::unity::module_base()+0x33e4e00usize)as*mut u8,crate::unity_engine::rendering::volumemanager::VolumeManager;
51            )
52        }
53    }
54
55    #[doc = "`SortByPriority(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume>)` overload"]
56    pub fn sort_by_priority(
57        volumes: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume>>,
58    ) -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x33e8670usize)as*mut u8,();
61(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume>)::core::convert::Into::into(volumes))
62        }
63    }
64
65    #[doc = "`IsVolumeRenderedByCamera(crate::unity_engine::rendering::volume::Volume, crate::unity_engine::camera::Camera)` overload"]
66    pub fn is_volume_rendered_by_camera(
67        volume: impl ::core::convert::Into<crate::unity_engine::rendering::volume::Volume>,
68        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
69    ) -> bool {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x33e87d0usize)as*mut u8,bool;
72(crate::unity_engine::rendering::volume::Volume)::core::convert::Into::into(volume),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera))
73        }
74    }
75
76    #[doc = "`.cctor()` overload"]
77    pub fn cctor() -> () {
78        unsafe {
79            ::unity::il2cpp_call!((::unity::module_base()+0x33e87e0usize)as*mut u8,();
80            )
81        }
82    }
83}
84
85#[cfg(feature = "unity_engine-rendering-volumemanager")]
86pub trait IVolumeManagerMethods: IVolumeManager {
87    #[doc = "`get_stack()` overload"]
88    fn get_stack(self) -> crate::unity_engine::rendering::volumestack::VolumeStack {
89        unsafe {
90            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x33e6830usize)as*mut u8,crate::unity_engine::rendering::volumestack::VolumeStack;
92(VolumeManager)__receiver)
93        }
94    }
95    #[doc = "`set_stack(crate::unity_engine::rendering::volumestack::VolumeStack)` overload"]
96    fn set_stack(self, value: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>) -> () {
97        unsafe {
98            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x33e6840usize)as*mut u8,();
100(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(value))
101        }
102    }
103    #[doc = "`get_baseComponentTypes()` overload"]
104    fn get_base_component_types(self) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType> {
105        unsafe {
106            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x33e6850usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::SystemType> ;
108(VolumeManager)__receiver)
109        }
110    }
111    #[doc = "`set_baseComponentTypes(crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType>)` overload"]
112    fn set_base_component_types(
113        self,
114        value: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::SystemType>>,
115    ) -> () {
116        unsafe {
117            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x33e6860usize)as*mut u8,();
119(VolumeManager)__receiver,(crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::SystemType>)::core::convert::Into::into(value))
120        }
121    }
122    #[doc = "`.ctor()` overload"]
123    fn ctor(self) -> () {
124        unsafe {
125            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126            ::unity::il2cpp_call!((::unity::module_base()+0x33e6870usize)as*mut u8,();
127(VolumeManager)__receiver)
128        }
129    }
130    #[doc = "`CreateStack()` overload"]
131    fn create_stack(self) -> crate::unity_engine::rendering::volumestack::VolumeStack {
132        unsafe {
133            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x33e6f20usize)as*mut u8,crate::unity_engine::rendering::volumestack::VolumeStack;
135(VolumeManager)__receiver)
136        }
137    }
138    #[doc = "`DestroyStack(crate::unity_engine::rendering::volumestack::VolumeStack)` overload"]
139    fn destroy_stack(self, stack: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>) -> () {
140        unsafe {
141            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x33e7330usize)as*mut u8,();
143(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(stack))
144        }
145    }
146    #[doc = "`ReloadBaseTypes()` overload"]
147    fn reload_base_types(self) -> () {
148        unsafe {
149            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150            ::unity::il2cpp_call!((::unity::module_base()+0x33e6ab0usize)as*mut u8,();
151(VolumeManager)__receiver)
152        }
153    }
154    #[doc = "`Register(crate::unity_engine::rendering::volume::Volume, i32)` overload"]
155    fn register(
156        self,
157        volume: impl ::core::convert::Into<crate::unity_engine::rendering::volume::Volume>,
158        layer: impl ::core::convert::Into<i32>,
159    ) -> () {
160        unsafe {
161            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162            ::unity::il2cpp_call!((::unity::module_base()+0x33e4e80usize)as*mut u8,();
163(VolumeManager)__receiver,(crate::unity_engine::rendering::volume::Volume)::core::convert::Into::into(volume),(i32)::core::convert::Into::into(layer))
164        }
165    }
166    #[doc = "`Unregister(crate::unity_engine::rendering::volume::Volume, i32)` overload"]
167    fn unregister(
168        self,
169        volume: impl ::core::convert::Into<crate::unity_engine::rendering::volume::Volume>,
170        layer: impl ::core::convert::Into<i32>,
171    ) -> () {
172        unsafe {
173            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x33e5140usize)as*mut u8,();
175(VolumeManager)__receiver,(crate::unity_engine::rendering::volume::Volume)::core::convert::Into::into(volume),(i32)::core::convert::Into::into(layer))
176        }
177    }
178    fn is_component_active_in_mask<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
179        self,
180        layer_mask: impl ::core::convert::Into<crate::unity_engine::layermask::LayerMask>,
181    ) -> bool {
182        static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
183            ::unity::lookup::method_info_on_class(<VolumeManager as ::unity::ClassIdentity>::class(), "IsComponentActiveInMask", 1)
184        });
185        #[allow(clippy::type_complexity)]
186        static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
187            ::std::sync::OnceLock::new();
188        let _ = false;
189        let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
190            ::core::result::Result::Ok(mi) => *mi,
191            ::core::result::Result::Err(e) => {
192                panic!(
193                    "method lookup failed: {}
194::{}
195: {}
196",
197                    <VolumeManager as ::unity::ClassIdentity>::NAME,
198                    "IsComponentActiveInMask",
199                    e
200                )
201            },
202        };
203        let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
204        let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
205        let __inflated: &'static ::unity::il2cpp::MethodInfo = {
206            let mut __guard = __cache.lock().unwrap();
207            *__guard
208                .entry(__key)
209                .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
210        };
211        unsafe {
212            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            let __f: extern "C" fn(VolumeManager, crate::unity_engine::layermask::LayerMask, ::unity::OptionalMethod) -> bool =
214                ::core::mem::transmute(__inflated.method_ptr);
215            let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
216            __f(
217                __receiver,
218                ::core::convert::Into::into(layer_mask),
219                ::core::option::Option::Some(__mi_opaque),
220            )
221        }
222    }
223    #[doc = "`SetLayerDirty(i32)` overload"]
224    fn set_layer_dirty(self, layer: impl ::core::convert::Into<i32>) -> () {
225        unsafe {
226            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227            ::unity::il2cpp_call!((::unity::module_base()+0x33e5500usize)as*mut u8,();
228(VolumeManager)__receiver,(i32)::core::convert::Into::into(layer))
229        }
230    }
231    #[doc = "`UpdateVolumeLayer(crate::unity_engine::rendering::volume::Volume, i32, i32)` overload"]
232    fn update_volume_layer(
233        self,
234        volume: impl ::core::convert::Into<crate::unity_engine::rendering::volume::Volume>,
235        prev_layer: impl ::core::convert::Into<i32>,
236        new_layer: impl ::core::convert::Into<i32>,
237    ) -> () {
238        unsafe {
239            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240            ::unity::il2cpp_call!((::unity::module_base()+0x33e5650usize)as*mut u8,();
241(VolumeManager)__receiver,(crate::unity_engine::rendering::volume::Volume)::core::convert::Into::into(volume),(i32)::core::convert::Into::into(prev_layer),(i32)::core::convert::Into::into(new_layer))
242        }
243    }
244    #[doc = "`OverrideData(crate::unity_engine::rendering::volumestack::VolumeStack, crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>, f32)` overload"]
245    fn override_data(
246        self,
247        stack: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>,
248        components: impl ::core::convert::Into<
249            crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>,
250        >,
251        interp_factor: impl ::core::convert::Into<f32>,
252    ) -> () {
253        unsafe {
254            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x33e74b0usize)as*mut u8,();
256(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(stack),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>)::core::convert::Into::into(components),(f32)::core::convert::Into::into(interp_factor))
257        }
258    }
259    #[doc = "`ReplaceData(crate::unity_engine::rendering::volumestack::VolumeStack, crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>)` overload"]
260    fn replace_data(
261        self,
262        stack: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>,
263        components: impl ::core::convert::Into<
264            crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>,
265        >,
266    ) -> () {
267        unsafe {
268            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269            ::unity::il2cpp_call!((::unity::module_base()+0x33e76c0usize)as*mut u8,();
270(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(stack),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volumecomponent::VolumeComponent>)::core::convert::Into::into(components))
271        }
272    }
273    #[doc = "`CheckBaseTypes()` overload"]
274    fn check_base_types(self) -> () {
275        unsafe {
276            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277            ::unity::il2cpp_call!((::unity::module_base()+0x33e7920usize)as*mut u8,();
278(VolumeManager)__receiver)
279        }
280    }
281    #[doc = "`CheckStack(crate::unity_engine::rendering::volumestack::VolumeStack)` overload"]
282    fn check_stack(self, stack: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>) -> () {
283        unsafe {
284            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
285            ::unity::il2cpp_call!((::unity::module_base()+0x33e79e0usize)as*mut u8,();
286(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(stack))
287        }
288    }
289    #[doc = "`Update(crate::unity_engine::transform::Transform, crate::unity_engine::layermask::LayerMask)` overload"]
290    fn update(
291        self,
292        trigger: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
293        layer_mask: impl ::core::convert::Into<crate::unity_engine::layermask::LayerMask>,
294    ) -> () {
295        unsafe {
296            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
297            ::unity::il2cpp_call!((::unity::module_base()+0x33e7be0usize)as*mut u8,();
298(VolumeManager)__receiver,(crate::unity_engine::transform::Transform)::core::convert::Into::into(trigger),(crate::unity_engine::layermask::LayerMask)::core::convert::Into::into(layer_mask))
299        }
300    }
301    #[doc = "`Update(crate::unity_engine::rendering::volumestack::VolumeStack, crate::unity_engine::transform::Transform, crate::unity_engine::layermask::LayerMask)` overload"]
302    fn update_2(
303        self,
304        stack: impl ::core::convert::Into<crate::unity_engine::rendering::volumestack::VolumeStack>,
305        trigger: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
306        layer_mask: impl ::core::convert::Into<crate::unity_engine::layermask::LayerMask>,
307    ) -> () {
308        unsafe {
309            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310            ::unity::il2cpp_call!((::unity::module_base()+0x33e7c00usize)as*mut u8,();
311(VolumeManager)__receiver,(crate::unity_engine::rendering::volumestack::VolumeStack)::core::convert::Into::into(stack),(crate::unity_engine::transform::Transform)::core::convert::Into::into(trigger),(crate::unity_engine::layermask::LayerMask)::core::convert::Into::into(layer_mask))
312        }
313    }
314    #[doc = "`UpdateByVolumeProfile(crate::unity_engine::rendering::volumeprofile::VolumeProfile)` overload"]
315    fn update_by_volume_profile(self, profile: impl ::core::convert::Into<crate::unity_engine::rendering::volumeprofile::VolumeProfile>) -> () {
316        unsafe {
317            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318            ::unity::il2cpp_call!((::unity::module_base()+0x33e8560usize)as*mut u8,();
319(VolumeManager)__receiver,(crate::unity_engine::rendering::volumeprofile::VolumeProfile)::core::convert::Into::into(profile))
320        }
321    }
322    #[doc = "`GetVolumes(crate::unity_engine::layermask::LayerMask)` overload"]
323    fn get_volumes(
324        self,
325        layer_mask: impl ::core::convert::Into<crate::unity_engine::layermask::LayerMask>,
326    ) -> ::unity::Array<crate::unity_engine::rendering::volume::Volume> {
327        unsafe {
328            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329            ::unity::il2cpp_call!((::unity::module_base()+0x33e8610usize)as*mut u8, ::unity::Array<crate::unity_engine::rendering::volume::Volume> ;
330(VolumeManager)__receiver,(crate::unity_engine::layermask::LayerMask)::core::convert::Into::into(layer_mask))
331        }
332    }
333    #[doc = "`GrabVolumes(crate::unity_engine::layermask::LayerMask)` overload"]
334    fn grab_volumes(
335        self,
336        mask: impl ::core::convert::Into<crate::unity_engine::layermask::LayerMask>,
337    ) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume> {
338        unsafe {
339            let __receiver = <VolumeManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340            ::unity::il2cpp_call!((::unity::module_base()+0x33e8230usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::rendering::volume::Volume> ;
341(VolumeManager)__receiver,(crate::unity_engine::layermask::LayerMask)::core::convert::Into::into(mask))
342        }
343    }
344}
345
346#[cfg(feature = "unity_engine-rendering-volumemanager")]
347impl<__T: IVolumeManager> IVolumeManagerMethods for __T {}
348
349#[cfg(feature = "unity_engine-rendering-volumemanager")]
350impl VolumeManager {
351    pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
353    }
354
355    pub fn get_stack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
356        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
357    }
358
359    pub fn set_stack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
361    }
362
363    pub fn get_base_component_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
364        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
365    }
366
367    pub fn set_base_component_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
368        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
369    }
370
371    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
373    }
374
375    pub fn create_stack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
376        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
377    }
378
379    pub fn destroy_stack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
380        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
381    }
382
383    pub fn reload_base_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
384        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
385    }
386
387    pub fn register_method_info() -> &'static ::unity::il2cpp::MethodInfo {
388        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
389    }
390
391    pub fn unregister_method_info() -> &'static ::unity::il2cpp::MethodInfo {
392        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
393    }
394
395    pub fn set_layer_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
396        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
397    }
398
399    pub fn update_volume_layer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
401    }
402
403    pub fn override_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
404        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
405    }
406
407    pub fn replace_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
409    }
410
411    pub fn check_base_types_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
413    }
414
415    pub fn check_stack_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
417    }
418
419    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
421    }
422
423    pub fn update_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
425    }
426
427    pub fn update_by_volume_profile_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
429    }
430
431    pub fn get_volumes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
433    }
434
435    pub fn grab_volumes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
437    }
438
439    pub fn sort_by_priority_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
441    }
442
443    pub fn is_volume_rendered_by_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
445    }
446
447    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
449    }
450}
451
452#[cfg(feature = "unity_engine-rendering-volumemanager")]
453impl VolumeManager {
454    #[doc = "`.ctor()` — no args"]
455    pub fn new() -> Self {
456        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
457            panic!(
458                "{}
459::{}
460 failed to instantiate",
461                ::core::stringify!(VolumeManager),
462                ::core::stringify!(new),
463            )
464        });
465        <Self as IVolumeManagerMethods>::ctor(this);
466        this
467    }
468}
469
470#[cfg(feature = "unity_engine-rendering-volumemanager")]
471#[doc(hidden)]
472pub mod prelude {
473    pub use super::{IVolumeManager, IVolumeManagerMethods, VolumeManager};
474    pub use crate::system::object::IObject;
475    #[cfg(feature = "system-object")]
476    pub use crate::system::object::IObjectMethods;
477}