engage/generated/unity_engine/experimental/global_illumination/
rectanglelight.rs1#[cfg(feature = "unity_engine-experimental-global_illumination-rectanglelight-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/experimental/global_illumination/rectanglelight/RectangleLight.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct RectangleLight {
17 pub instance_id: i32,
18 pub shadow: bool,
19 pub mode: crate::unity_engine::experimental::global_illumination::lightmode::LightMode,
20 pub position: crate::unity_engine::vector3::Vector3,
21 pub orientation: crate::unity_engine::quaternion::Quaternion,
22 pub color: crate::unity_engine::experimental::global_illumination::linearcolor::LinearColor,
23 pub indirect_color: crate::unity_engine::experimental::global_illumination::linearcolor::LinearColor,
24 pub range: f32,
25 pub width: f32,
26 pub height: f32,
27 pub falloff: crate::unity_engine::experimental::global_illumination::fallofftype::FalloffType,
28 }
29 impl ::unity::ClassIdentity for RectangleLight {
30 const NAME: &'static str = "RectangleLight";
31 const NAMESPACE: &'static str = "UnityEngine.Experimental.GlobalIllumination";
32
33 fn class() -> ::unity::Class {
34 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
35 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
36 }
37 }
38 impl ::unity::IlType for RectangleLight {
39 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
40 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
41 }
42 }
43}
44
45#[cfg(feature = "unity_engine-experimental-global_illumination-rectanglelight-types")]
46pub use __types::*;
47
48#[cfg(feature = "unity_engine-experimental-global_illumination-rectanglelight")]
49#[doc(hidden)]
50pub mod prelude {
51 pub use super::RectangleLight;
52 #[cfg(feature = "system-object")]
53 pub use crate::system::object::IObjectMethods;
54 #[cfg(feature = "system-valuetype")]
55 pub use crate::system::valuetype::IValueTypeMethods;
56 pub use crate::system::{object::IObject, valuetype::IValueType};
57}