Skip to main content

engage/generated/unity_engine/
lightbakingoutput.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-lightbakingoutput-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/lightbakingoutput/LightBakingOutput.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct LightBakingOutput {
17        pub probe_occlusion_light_index: i32,
18        pub occlusion_mask_channel: i32,
19        pub lightmap_bake_type: crate::unity_engine::lightmapbaketype::LightmapBakeType,
20        pub mixed_lighting_mode: crate::unity_engine::mixedlightingmode::MixedLightingMode,
21        pub is_baked: bool,
22    }
23    impl ::unity::ClassIdentity for LightBakingOutput {
24        const NAME: &'static str = "LightBakingOutput";
25        const NAMESPACE: &'static str = "UnityEngine";
26
27        fn class() -> ::unity::Class {
28            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30        }
31    }
32    impl ::unity::IlType for LightBakingOutput {
33        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35        }
36    }
37}
38
39#[cfg(feature = "unity_engine-lightbakingoutput-types")]
40pub use __types::*;
41
42#[cfg(feature = "unity_engine-lightbakingoutput")]
43#[doc(hidden)]
44pub mod prelude {
45    pub use super::LightBakingOutput;
46    #[cfg(feature = "system-object")]
47    pub use crate::system::object::IObjectMethods;
48    #[cfg(feature = "system-valuetype")]
49    pub use crate::system::valuetype::IValueTypeMethods;
50    pub use crate::system::{object::IObject, valuetype::IValueType};
51}