1#[cfg(feature = "unity_engine-light-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 object_2::{IObject_2, Object_2},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/light/Light.md"))]
18 #[::unity::class(namespace = "UnityEngine", name = "Light")]
19 #[parent(crate::unity_engine::behaviour::Behaviour)]
20 pub struct Light {
21 #[offset(24)]
22 #[rename(name = "m_BakedIndex")]
23 pub m_baked_index: i32,
24 }
25}
26
27#[cfg(feature = "unity_engine-light-types")]
28pub use __types::*;
29
30#[cfg(feature = "unity_engine-light")]
31impl Light {
32 #[doc = "`get_pixelLightCount()` overload"]
33 pub fn get_pixel_light_count() -> i32 {
34 unsafe {
35 ::unity::il2cpp_call!((::unity::module_base()+0x2c54e40usize)as*mut u8,i32;
36 )
37 }
38 }
39
40 #[doc = "`set_pixelLightCount(i32)` overload"]
41 pub fn set_pixel_light_count(value: impl ::core::convert::Into<i32>) -> () {
42 unsafe {
43 ::unity::il2cpp_call!((::unity::module_base()+0x2c54e50usize)as*mut u8,();
44(i32)::core::convert::Into::into(value))
45 }
46 }
47
48 #[doc = "`GetLights(crate::unity_engine::lighttype::LightType, i32)` overload"]
49 pub fn get_lights(
50 r#type: impl ::core::convert::Into<crate::unity_engine::lighttype::LightType>,
51 layer: impl ::core::convert::Into<i32>,
52 ) -> ::unity::Array<crate::unity_engine::light::Light> {
53 unsafe {
54 ::unity::il2cpp_call!((::unity::module_base()+0x2c54e60usize)as*mut u8, ::unity::Array<crate::unity_engine::light::Light> ;
55(crate::unity_engine::lighttype::LightType)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(layer))
56 }
57 }
58}
59
60#[cfg(feature = "unity_engine-light")]
61pub trait ILightMethods: ILight {
62 #[doc = "`get_type()` overload"]
63 fn get_type(self) -> crate::unity_engine::lighttype::LightType {
64 unsafe {
65 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
66 ::unity::il2cpp_call!((::unity::module_base()+0x2c533b0usize)as*mut u8,crate::unity_engine::lighttype::LightType;
67(Light)__receiver)
68 }
69 }
70 #[doc = "`set_type(crate::unity_engine::lighttype::LightType)` overload"]
71 fn set_type(self, value: impl ::core::convert::Into<crate::unity_engine::lighttype::LightType>) -> () {
72 unsafe {
73 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
74 ::unity::il2cpp_call!((::unity::module_base()+0x2c53400usize)as*mut u8,();
75(Light)__receiver,(crate::unity_engine::lighttype::LightType)::core::convert::Into::into(value))
76 }
77 }
78 #[doc = "`get_shape()` overload"]
79 fn get_shape(self) -> crate::unity_engine::lightshape::LightShape {
80 unsafe {
81 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82 ::unity::il2cpp_call!((::unity::module_base()+0x2c53450usize)as*mut u8,crate::unity_engine::lightshape::LightShape;
83(Light)__receiver)
84 }
85 }
86 #[doc = "`set_shape(crate::unity_engine::lightshape::LightShape)` overload"]
87 fn set_shape(self, value: impl ::core::convert::Into<crate::unity_engine::lightshape::LightShape>) -> () {
88 unsafe {
89 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90 ::unity::il2cpp_call!((::unity::module_base()+0x2c534a0usize)as*mut u8,();
91(Light)__receiver,(crate::unity_engine::lightshape::LightShape)::core::convert::Into::into(value))
92 }
93 }
94 #[doc = "`get_spotAngle()` overload"]
95 fn get_spot_angle(self) -> f32 {
96 unsafe {
97 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98 ::unity::il2cpp_call!((::unity::module_base()+0x2c534f0usize)as*mut u8,f32;
99(Light)__receiver)
100 }
101 }
102 #[doc = "`set_spotAngle(f32)` overload"]
103 fn set_spot_angle(self, value: impl ::core::convert::Into<f32>) -> () {
104 unsafe {
105 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
106 ::unity::il2cpp_call!((::unity::module_base()+0x2c53540usize)as*mut u8,();
107(Light)__receiver,(f32)::core::convert::Into::into(value))
108 }
109 }
110 #[doc = "`get_innerSpotAngle()` overload"]
111 fn get_inner_spot_angle(self) -> f32 {
112 unsafe {
113 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114 ::unity::il2cpp_call!((::unity::module_base()+0x2c53590usize)as*mut u8,f32;
115(Light)__receiver)
116 }
117 }
118 #[doc = "`set_innerSpotAngle(f32)` overload"]
119 fn set_inner_spot_angle(self, value: impl ::core::convert::Into<f32>) -> () {
120 unsafe {
121 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x2c535e0usize)as*mut u8,();
123(Light)__receiver,(f32)::core::convert::Into::into(value))
124 }
125 }
126 #[doc = "`get_color()` overload"]
127 fn get_color(self) -> crate::unity_engine::color::Color {
128 unsafe {
129 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x2c53630usize)as*mut u8,crate::unity_engine::color::Color;
131(Light)__receiver)
132 }
133 }
134 #[doc = "`set_color(crate::unity_engine::color::Color)` overload"]
135 fn set_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
136 unsafe {
137 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x2c536e0usize)as*mut u8,();
139(Light)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
140 }
141 }
142 #[doc = "`get_colorTemperature()` overload"]
143 fn get_color_temperature(self) -> f32 {
144 unsafe {
145 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146 ::unity::il2cpp_call!((::unity::module_base()+0x2c53790usize)as*mut u8,f32;
147(Light)__receiver)
148 }
149 }
150 #[doc = "`set_colorTemperature(f32)` overload"]
151 fn set_color_temperature(self, value: impl ::core::convert::Into<f32>) -> () {
152 unsafe {
153 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x2c537e0usize)as*mut u8,();
155(Light)__receiver,(f32)::core::convert::Into::into(value))
156 }
157 }
158 #[doc = "`get_useColorTemperature()` overload"]
159 fn get_use_color_temperature(self) -> bool {
160 unsafe {
161 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x2c53830usize)as*mut u8,bool;
163(Light)__receiver)
164 }
165 }
166 #[doc = "`set_useColorTemperature(bool)` overload"]
167 fn set_use_color_temperature(self, value: impl ::core::convert::Into<bool>) -> () {
168 unsafe {
169 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170 ::unity::il2cpp_call!((::unity::module_base()+0x2c53880usize)as*mut u8,();
171(Light)__receiver,(bool)::core::convert::Into::into(value))
172 }
173 }
174 #[doc = "`get_intensity()` overload"]
175 fn get_intensity(self) -> f32 {
176 unsafe {
177 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178 ::unity::il2cpp_call!((::unity::module_base()+0x2c538d0usize)as*mut u8,f32;
179(Light)__receiver)
180 }
181 }
182 #[doc = "`set_intensity(f32)` overload"]
183 fn set_intensity(self, value: impl ::core::convert::Into<f32>) -> () {
184 unsafe {
185 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186 ::unity::il2cpp_call!((::unity::module_base()+0x2c53920usize)as*mut u8,();
187(Light)__receiver,(f32)::core::convert::Into::into(value))
188 }
189 }
190 #[doc = "`get_bounceIntensity()` overload"]
191 fn get_bounce_intensity(self) -> f32 {
192 unsafe {
193 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x2c53970usize)as*mut u8,f32;
195(Light)__receiver)
196 }
197 }
198 #[doc = "`set_bounceIntensity(f32)` overload"]
199 fn set_bounce_intensity(self, value: impl ::core::convert::Into<f32>) -> () {
200 unsafe {
201 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202 ::unity::il2cpp_call!((::unity::module_base()+0x2c539c0usize)as*mut u8,();
203(Light)__receiver,(f32)::core::convert::Into::into(value))
204 }
205 }
206 #[doc = "`get_useBoundingSphereOverride()` overload"]
207 fn get_use_bounding_sphere_override(self) -> bool {
208 unsafe {
209 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 ::unity::il2cpp_call!((::unity::module_base()+0x2c53a10usize)as*mut u8,bool;
211(Light)__receiver)
212 }
213 }
214 #[doc = "`set_useBoundingSphereOverride(bool)` overload"]
215 fn set_use_bounding_sphere_override(self, value: impl ::core::convert::Into<bool>) -> () {
216 unsafe {
217 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218 ::unity::il2cpp_call!((::unity::module_base()+0x2c53a60usize)as*mut u8,();
219(Light)__receiver,(bool)::core::convert::Into::into(value))
220 }
221 }
222 #[doc = "`get_boundingSphereOverride()` overload"]
223 fn get_bounding_sphere_override(self) -> crate::unity_engine::vector4::Vector4 {
224 unsafe {
225 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226 ::unity::il2cpp_call!((::unity::module_base()+0x2c53ab0usize)as*mut u8,crate::unity_engine::vector4::Vector4;
227(Light)__receiver)
228 }
229 }
230 #[doc = "`set_boundingSphereOverride(crate::unity_engine::vector4::Vector4)` overload"]
231 fn set_bounding_sphere_override(self, value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>) -> () {
232 unsafe {
233 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234 ::unity::il2cpp_call!((::unity::module_base()+0x2c53b60usize)as*mut u8,();
235(Light)__receiver,(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
236 }
237 }
238 #[doc = "`get_useViewFrustumForShadowCasterCull()` overload"]
239 fn get_use_view_frustum_for_shadow_caster_cull(self) -> bool {
240 unsafe {
241 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242 ::unity::il2cpp_call!((::unity::module_base()+0x2c53c10usize)as*mut u8,bool;
243(Light)__receiver)
244 }
245 }
246 #[doc = "`set_useViewFrustumForShadowCasterCull(bool)` overload"]
247 fn set_use_view_frustum_for_shadow_caster_cull(self, value: impl ::core::convert::Into<bool>) -> () {
248 unsafe {
249 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250 ::unity::il2cpp_call!((::unity::module_base()+0x2c53c60usize)as*mut u8,();
251(Light)__receiver,(bool)::core::convert::Into::into(value))
252 }
253 }
254 #[doc = "`get_shadowCustomResolution()` overload"]
255 fn get_shadow_custom_resolution(self) -> i32 {
256 unsafe {
257 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258 ::unity::il2cpp_call!((::unity::module_base()+0x2c53cb0usize)as*mut u8,i32;
259(Light)__receiver)
260 }
261 }
262 #[doc = "`set_shadowCustomResolution(i32)` overload"]
263 fn set_shadow_custom_resolution(self, value: impl ::core::convert::Into<i32>) -> () {
264 unsafe {
265 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266 ::unity::il2cpp_call!((::unity::module_base()+0x2c53d00usize)as*mut u8,();
267(Light)__receiver,(i32)::core::convert::Into::into(value))
268 }
269 }
270 #[doc = "`get_shadowBias()` overload"]
271 fn get_shadow_bias(self) -> f32 {
272 unsafe {
273 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
274 ::unity::il2cpp_call!((::unity::module_base()+0x2c53d50usize)as*mut u8,f32;
275(Light)__receiver)
276 }
277 }
278 #[doc = "`set_shadowBias(f32)` overload"]
279 fn set_shadow_bias(self, value: impl ::core::convert::Into<f32>) -> () {
280 unsafe {
281 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282 ::unity::il2cpp_call!((::unity::module_base()+0x2c53da0usize)as*mut u8,();
283(Light)__receiver,(f32)::core::convert::Into::into(value))
284 }
285 }
286 #[doc = "`get_shadowNormalBias()` overload"]
287 fn get_shadow_normal_bias(self) -> f32 {
288 unsafe {
289 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
290 ::unity::il2cpp_call!((::unity::module_base()+0x2c53df0usize)as*mut u8,f32;
291(Light)__receiver)
292 }
293 }
294 #[doc = "`set_shadowNormalBias(f32)` overload"]
295 fn set_shadow_normal_bias(self, value: impl ::core::convert::Into<f32>) -> () {
296 unsafe {
297 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
298 ::unity::il2cpp_call!((::unity::module_base()+0x2c53e40usize)as*mut u8,();
299(Light)__receiver,(f32)::core::convert::Into::into(value))
300 }
301 }
302 #[doc = "`get_shadowNearPlane()` overload"]
303 fn get_shadow_near_plane(self) -> f32 {
304 unsafe {
305 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306 ::unity::il2cpp_call!((::unity::module_base()+0x2c53e90usize)as*mut u8,f32;
307(Light)__receiver)
308 }
309 }
310 #[doc = "`set_shadowNearPlane(f32)` overload"]
311 fn set_shadow_near_plane(self, value: impl ::core::convert::Into<f32>) -> () {
312 unsafe {
313 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314 ::unity::il2cpp_call!((::unity::module_base()+0x2c53ee0usize)as*mut u8,();
315(Light)__receiver,(f32)::core::convert::Into::into(value))
316 }
317 }
318 #[doc = "`get_useShadowMatrixOverride()` overload"]
319 fn get_use_shadow_matrix_override(self) -> bool {
320 unsafe {
321 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322 ::unity::il2cpp_call!((::unity::module_base()+0x2c53f30usize)as*mut u8,bool;
323(Light)__receiver)
324 }
325 }
326 #[doc = "`set_useShadowMatrixOverride(bool)` overload"]
327 fn set_use_shadow_matrix_override(self, value: impl ::core::convert::Into<bool>) -> () {
328 unsafe {
329 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330 ::unity::il2cpp_call!((::unity::module_base()+0x2c53f80usize)as*mut u8,();
331(Light)__receiver,(bool)::core::convert::Into::into(value))
332 }
333 }
334 #[doc = "`get_shadowMatrixOverride()` overload"]
335 fn get_shadow_matrix_override(self) -> crate::unity_engine::matrix4x4::Matrix4x4 {
336 unsafe {
337 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338 ::unity::il2cpp_call!((::unity::module_base()+0x2c53fd0usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
339(Light)__receiver)
340 }
341 }
342 #[doc = "`set_shadowMatrixOverride(crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
343 fn set_shadow_matrix_override(self, value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>) -> () {
344 unsafe {
345 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346 ::unity::il2cpp_call!((::unity::module_base()+0x2c540b0usize)as*mut u8,();
347(Light)__receiver,(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
348 }
349 }
350 #[doc = "`get_range()` overload"]
351 fn get_range(self) -> f32 {
352 unsafe {
353 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354 ::unity::il2cpp_call!((::unity::module_base()+0x2c54150usize)as*mut u8,f32;
355(Light)__receiver)
356 }
357 }
358 #[doc = "`set_range(f32)` overload"]
359 fn set_range(self, value: impl ::core::convert::Into<f32>) -> () {
360 unsafe {
361 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
362 ::unity::il2cpp_call!((::unity::module_base()+0x2c541a0usize)as*mut u8,();
363(Light)__receiver,(f32)::core::convert::Into::into(value))
364 }
365 }
366 #[doc = "`get_flare()` overload"]
367 fn get_flare(self) -> crate::unity_engine::flare::Flare {
368 unsafe {
369 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
370 ::unity::il2cpp_call!((::unity::module_base()+0x2c541f0usize)as*mut u8,crate::unity_engine::flare::Flare;
371(Light)__receiver)
372 }
373 }
374 #[doc = "`set_flare(crate::unity_engine::flare::Flare)` overload"]
375 fn set_flare(self, value: impl ::core::convert::Into<crate::unity_engine::flare::Flare>) -> () {
376 unsafe {
377 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
378 ::unity::il2cpp_call!((::unity::module_base()+0x2c54240usize)as*mut u8,();
379(Light)__receiver,(crate::unity_engine::flare::Flare)::core::convert::Into::into(value))
380 }
381 }
382 #[doc = "`get_bakingOutput()` overload"]
383 fn get_baking_output(self) -> crate::unity_engine::lightbakingoutput::LightBakingOutput {
384 unsafe {
385 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386 ::unity::il2cpp_call!((::unity::module_base()+0x2c54290usize)as*mut u8,crate::unity_engine::lightbakingoutput::LightBakingOutput;
387(Light)__receiver)
388 }
389 }
390 #[doc = "`set_bakingOutput(crate::unity_engine::lightbakingoutput::LightBakingOutput)` overload"]
391 fn set_baking_output(self, value: impl ::core::convert::Into<crate::unity_engine::lightbakingoutput::LightBakingOutput>) -> () {
392 unsafe {
393 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394 ::unity::il2cpp_call!((::unity::module_base()+0x2c54360usize)as*mut u8,();
395(Light)__receiver,(crate::unity_engine::lightbakingoutput::LightBakingOutput)::core::convert::Into::into(value))
396 }
397 }
398 #[doc = "`get_cullingMask()` overload"]
399 fn get_culling_mask(self) -> i32 {
400 unsafe {
401 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x2c54400usize)as*mut u8,i32;
403(Light)__receiver)
404 }
405 }
406 #[doc = "`set_cullingMask(i32)` overload"]
407 fn set_culling_mask(self, value: impl ::core::convert::Into<i32>) -> () {
408 unsafe {
409 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
410 ::unity::il2cpp_call!((::unity::module_base()+0x2c54450usize)as*mut u8,();
411(Light)__receiver,(i32)::core::convert::Into::into(value))
412 }
413 }
414 #[doc = "`get_renderingLayerMask()` overload"]
415 fn get_rendering_layer_mask(self) -> i32 {
416 unsafe {
417 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
418 ::unity::il2cpp_call!((::unity::module_base()+0x2c544a0usize)as*mut u8,i32;
419(Light)__receiver)
420 }
421 }
422 #[doc = "`set_renderingLayerMask(i32)` overload"]
423 fn set_rendering_layer_mask(self, value: impl ::core::convert::Into<i32>) -> () {
424 unsafe {
425 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
426 ::unity::il2cpp_call!((::unity::module_base()+0x2c544f0usize)as*mut u8,();
427(Light)__receiver,(i32)::core::convert::Into::into(value))
428 }
429 }
430 #[doc = "`get_lightShadowCasterMode()` overload"]
431 fn get_light_shadow_caster_mode(self) -> crate::unity_engine::lightshadowcastermode::LightShadowCasterMode {
432 unsafe {
433 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
434 ::unity::il2cpp_call!((::unity::module_base()+0x2c54540usize)as*mut u8,crate::unity_engine::lightshadowcastermode::LightShadowCasterMode;
435(Light)__receiver)
436 }
437 }
438 #[doc = "`set_lightShadowCasterMode(crate::unity_engine::lightshadowcastermode::LightShadowCasterMode)` overload"]
439 fn set_light_shadow_caster_mode(
440 self,
441 value: impl ::core::convert::Into<crate::unity_engine::lightshadowcastermode::LightShadowCasterMode>,
442 ) -> () {
443 unsafe {
444 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 ::unity::il2cpp_call!((::unity::module_base()+0x2c54590usize)as*mut u8,();
446(Light)__receiver,(crate::unity_engine::lightshadowcastermode::LightShadowCasterMode)::core::convert::Into::into(value))
447 }
448 }
449 #[doc = "`Reset()` overload"]
450 fn reset(self) -> () {
451 unsafe {
452 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
453 ::unity::il2cpp_call!((::unity::module_base()+0x2c545e0usize)as*mut u8,();
454(Light)__receiver)
455 }
456 }
457 #[doc = "`get_shadows()` overload"]
458 fn get_shadows(self) -> crate::unity_engine::lightshadows::LightShadows {
459 unsafe {
460 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
461 ::unity::il2cpp_call!((::unity::module_base()+0x2c54630usize)as*mut u8,crate::unity_engine::lightshadows::LightShadows;
462(Light)__receiver)
463 }
464 }
465 #[doc = "`set_shadows(crate::unity_engine::lightshadows::LightShadows)` overload"]
466 fn set_shadows(self, value: impl ::core::convert::Into<crate::unity_engine::lightshadows::LightShadows>) -> () {
467 unsafe {
468 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469 ::unity::il2cpp_call!((::unity::module_base()+0x2c54680usize)as*mut u8,();
470(Light)__receiver,(crate::unity_engine::lightshadows::LightShadows)::core::convert::Into::into(value))
471 }
472 }
473 #[doc = "`get_shadowStrength()` overload"]
474 fn get_shadow_strength(self) -> f32 {
475 unsafe {
476 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
477 ::unity::il2cpp_call!((::unity::module_base()+0x2c546d0usize)as*mut u8,f32;
478(Light)__receiver)
479 }
480 }
481 #[doc = "`set_shadowStrength(f32)` overload"]
482 fn set_shadow_strength(self, value: impl ::core::convert::Into<f32>) -> () {
483 unsafe {
484 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
485 ::unity::il2cpp_call!((::unity::module_base()+0x2c54720usize)as*mut u8,();
486(Light)__receiver,(f32)::core::convert::Into::into(value))
487 }
488 }
489 #[doc = "`get_shadowResolution()` overload"]
490 fn get_shadow_resolution(self) -> crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution {
491 unsafe {
492 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
493 ::unity::il2cpp_call!((::unity::module_base()+0x2c54770usize)as*mut u8,crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution;
494(Light)__receiver)
495 }
496 }
497 #[doc = "`set_shadowResolution(crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution)` overload"]
498 fn set_shadow_resolution(
499 self,
500 value: impl ::core::convert::Into<crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution>,
501 ) -> () {
502 unsafe {
503 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
504 ::unity::il2cpp_call!((::unity::module_base()+0x2c547c0usize)as*mut u8,();
505(Light)__receiver,(crate::unity_engine::rendering::lightshadowresolution::LightShadowResolution)::core::convert::Into::into(value))
506 }
507 }
508 #[doc = "`get_shadowSoftness()` overload"]
509 fn get_shadow_softness(self) -> f32 {
510 unsafe {
511 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
512 ::unity::il2cpp_call!((::unity::module_base()+0x2c54810usize)as*mut u8,f32;
513(Light)__receiver)
514 }
515 }
516 #[doc = "`set_shadowSoftness(f32)` overload"]
517 fn set_shadow_softness(self, value: impl ::core::convert::Into<f32>) -> () {
518 unsafe {
519 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
520 ::unity::il2cpp_call!((::unity::module_base()+0x2c54820usize)as*mut u8,();
521(Light)__receiver,(f32)::core::convert::Into::into(value))
522 }
523 }
524 #[doc = "`get_shadowSoftnessFade()` overload"]
525 fn get_shadow_softness_fade(self) -> f32 {
526 unsafe {
527 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
528 ::unity::il2cpp_call!((::unity::module_base()+0x2c54830usize)as*mut u8,f32;
529(Light)__receiver)
530 }
531 }
532 #[doc = "`set_shadowSoftnessFade(f32)` overload"]
533 fn set_shadow_softness_fade(self, value: impl ::core::convert::Into<f32>) -> () {
534 unsafe {
535 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
536 ::unity::il2cpp_call!((::unity::module_base()+0x2c54840usize)as*mut u8,();
537(Light)__receiver,(f32)::core::convert::Into::into(value))
538 }
539 }
540 #[doc = "`get_layerShadowCullDistances()` overload"]
541 fn get_layer_shadow_cull_distances(self) -> ::unity::Array<f32> {
542 unsafe {
543 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
544 ::unity::il2cpp_call!((::unity::module_base()+0x2c54850usize)as*mut u8, ::unity::Array<f32> ;
545(Light)__receiver)
546 }
547 }
548 #[doc = "`set_layerShadowCullDistances(::unity::Array<f32>)` overload"]
549 fn set_layer_shadow_cull_distances(self, value: impl ::core::convert::Into<::unity::Array<f32>>) -> () {
550 unsafe {
551 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
552 ::unity::il2cpp_call!((::unity::module_base()+0x2c548a0usize)as*mut u8,();
553(Light)__receiver,(::unity::Array<f32>)::core::convert::Into::into(value))
554 }
555 }
556 #[doc = "`get_cookieSize()` overload"]
557 fn get_cookie_size(self) -> f32 {
558 unsafe {
559 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
560 ::unity::il2cpp_call!((::unity::module_base()+0x2c548f0usize)as*mut u8,f32;
561(Light)__receiver)
562 }
563 }
564 #[doc = "`set_cookieSize(f32)` overload"]
565 fn set_cookie_size(self, value: impl ::core::convert::Into<f32>) -> () {
566 unsafe {
567 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
568 ::unity::il2cpp_call!((::unity::module_base()+0x2c54940usize)as*mut u8,();
569(Light)__receiver,(f32)::core::convert::Into::into(value))
570 }
571 }
572 #[doc = "`get_cookie()` overload"]
573 fn get_cookie(self) -> crate::unity_engine::texture::Texture {
574 unsafe {
575 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 ::unity::il2cpp_call!((::unity::module_base()+0x2c54990usize)as*mut u8,crate::unity_engine::texture::Texture;
577(Light)__receiver)
578 }
579 }
580 #[doc = "`set_cookie(crate::unity_engine::texture::Texture)` overload"]
581 fn set_cookie(self, value: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
582 unsafe {
583 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
584 ::unity::il2cpp_call!((::unity::module_base()+0x2c549e0usize)as*mut u8,();
585(Light)__receiver,(crate::unity_engine::texture::Texture)::core::convert::Into::into(value))
586 }
587 }
588 #[doc = "`get_renderMode()` overload"]
589 fn get_render_mode(self) -> crate::unity_engine::lightrendermode::LightRenderMode {
590 unsafe {
591 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
592 ::unity::il2cpp_call!((::unity::module_base()+0x2c54a30usize)as*mut u8,crate::unity_engine::lightrendermode::LightRenderMode;
593(Light)__receiver)
594 }
595 }
596 #[doc = "`set_renderMode(crate::unity_engine::lightrendermode::LightRenderMode)` overload"]
597 fn set_render_mode(self, value: impl ::core::convert::Into<crate::unity_engine::lightrendermode::LightRenderMode>) -> () {
598 unsafe {
599 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
600 ::unity::il2cpp_call!((::unity::module_base()+0x2c54a80usize)as*mut u8,();
601(Light)__receiver,(crate::unity_engine::lightrendermode::LightRenderMode)::core::convert::Into::into(value))
602 }
603 }
604 #[doc = "`get_bakedIndex()` overload"]
605 fn get_baked_index(self) -> i32 {
606 unsafe {
607 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ad0usize)as*mut u8,i32;
609(Light)__receiver)
610 }
611 }
612 #[doc = "`set_bakedIndex(i32)` overload"]
613 fn set_baked_index(self, value: impl ::core::convert::Into<i32>) -> () {
614 unsafe {
615 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
616 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ae0usize)as*mut u8,();
617(Light)__receiver,(i32)::core::convert::Into::into(value))
618 }
619 }
620 #[doc = "`AddCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
621 fn add_command_buffer(
622 self,
623 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
624 buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
625 ) -> () {
626 unsafe {
627 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
628 ::unity::il2cpp_call!((::unity::module_base()+0x2c54af0usize)as*mut u8,();
629(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(buffer))
630 }
631 }
632 #[doc = "`AddCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::shadowmappass::ShadowMapPass)` overload"]
633 fn add_command_buffer_2(
634 self,
635 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
636 buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
637 shadow_pass_mask: impl ::core::convert::Into<crate::unity_engine::rendering::shadowmappass::ShadowMapPass>,
638 ) -> () {
639 unsafe {
640 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
641 ::unity::il2cpp_call!((::unity::module_base()+0x2c54b50usize)as*mut u8,();
642(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::shadowmappass::ShadowMapPass)::core::convert::Into::into(shadow_pass_mask))
643 }
644 }
645 #[doc = "`AddCommandBufferAsync(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::computequeuetype::ComputeQueueType)` overload"]
646 fn add_command_buffer_async(
647 self,
648 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
649 buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
650 queue_type: impl ::core::convert::Into<crate::unity_engine::rendering::computequeuetype::ComputeQueueType>,
651 ) -> () {
652 unsafe {
653 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
654 ::unity::il2cpp_call!((::unity::module_base()+0x2c54bc0usize)as*mut u8,();
655(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::computequeuetype::ComputeQueueType)::core::convert::Into::into(queue_type))
656 }
657 }
658 #[doc = "`AddCommandBufferAsync(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::rendering::shadowmappass::ShadowMapPass, crate::unity_engine::rendering::computequeuetype::ComputeQueueType)` overload"]
659 fn add_command_buffer_async_2(
660 self,
661 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
662 buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
663 shadow_pass_mask: impl ::core::convert::Into<crate::unity_engine::rendering::shadowmappass::ShadowMapPass>,
664 queue_type: impl ::core::convert::Into<crate::unity_engine::rendering::computequeuetype::ComputeQueueType>,
665 ) -> () {
666 unsafe {
667 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
668 ::unity::il2cpp_call!((::unity::module_base()+0x2c54c30usize)as*mut u8,();
669(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(buffer),(crate::unity_engine::rendering::shadowmappass::ShadowMapPass)::core::convert::Into::into(shadow_pass_mask),(crate::unity_engine::rendering::computequeuetype::ComputeQueueType)::core::convert::Into::into(queue_type))
670 }
671 }
672 #[doc = "`RemoveCommandBuffer(crate::unity_engine::rendering::lightevent::LightEvent, crate::unity_engine::rendering::commandbuffer::CommandBuffer)` overload"]
673 fn remove_command_buffer(
674 self,
675 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
676 buffer: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
677 ) -> () {
678 unsafe {
679 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
680 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ca0usize)as*mut u8,();
681(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt),(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(buffer))
682 }
683 }
684 #[doc = "`RemoveCommandBuffers(crate::unity_engine::rendering::lightevent::LightEvent)` overload"]
685 fn remove_command_buffers(self, evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>) -> () {
686 unsafe {
687 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
688 ::unity::il2cpp_call!((::unity::module_base()+0x2c54d00usize)as*mut u8,();
689(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt))
690 }
691 }
692 #[doc = "`RemoveAllCommandBuffers()` overload"]
693 fn remove_all_command_buffers(self) -> () {
694 unsafe {
695 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
696 ::unity::il2cpp_call!((::unity::module_base()+0x2c54d50usize)as*mut u8,();
697(Light)__receiver)
698 }
699 }
700 #[doc = "`GetCommandBuffers(crate::unity_engine::rendering::lightevent::LightEvent)` overload"]
701 fn get_command_buffers(
702 self,
703 evt: impl ::core::convert::Into<crate::unity_engine::rendering::lightevent::LightEvent>,
704 ) -> ::unity::Array<crate::unity_engine::rendering::commandbuffer::CommandBuffer> {
705 unsafe {
706 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
707 ::unity::il2cpp_call!((::unity::module_base()+0x2c54da0usize)as*mut u8, ::unity::Array<crate::unity_engine::rendering::commandbuffer::CommandBuffer> ;
708(Light)__receiver,(crate::unity_engine::rendering::lightevent::LightEvent)::core::convert::Into::into(evt))
709 }
710 }
711 #[doc = "`get_commandBufferCount()` overload"]
712 fn get_command_buffer_count(self) -> i32 {
713 unsafe {
714 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
715 ::unity::il2cpp_call!((::unity::module_base()+0x2c54df0usize)as*mut u8,i32;
716(Light)__receiver)
717 }
718 }
719 #[doc = "`get_shadowConstantBias()` overload"]
720 fn get_shadow_constant_bias(self) -> f32 {
721 unsafe {
722 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
723 ::unity::il2cpp_call!((::unity::module_base()+0x2c54eb0usize)as*mut u8,f32;
724(Light)__receiver)
725 }
726 }
727 #[doc = "`set_shadowConstantBias(f32)` overload"]
728 fn set_shadow_constant_bias(self, value: impl ::core::convert::Into<f32>) -> () {
729 unsafe {
730 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
731 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ec0usize)as*mut u8,();
732(Light)__receiver,(f32)::core::convert::Into::into(value))
733 }
734 }
735 #[doc = "`get_shadowObjectSizeBias()` overload"]
736 fn get_shadow_object_size_bias(self) -> f32 {
737 unsafe {
738 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
739 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ed0usize)as*mut u8,f32;
740(Light)__receiver)
741 }
742 }
743 #[doc = "`set_shadowObjectSizeBias(f32)` overload"]
744 fn set_shadow_object_size_bias(self, value: impl ::core::convert::Into<f32>) -> () {
745 unsafe {
746 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
747 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ee0usize)as*mut u8,();
748(Light)__receiver,(f32)::core::convert::Into::into(value))
749 }
750 }
751 #[doc = "`get_attenuate()` overload"]
752 fn get_attenuate(self) -> bool {
753 unsafe {
754 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
755 ::unity::il2cpp_call!((::unity::module_base()+0x2c54ef0usize)as*mut u8,bool;
756(Light)__receiver)
757 }
758 }
759 #[doc = "`set_attenuate(bool)` overload"]
760 fn set_attenuate(self, value: impl ::core::convert::Into<bool>) -> () {
761 unsafe {
762 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
763 ::unity::il2cpp_call!((::unity::module_base()+0x2c54f00usize)as*mut u8,();
764(Light)__receiver,(bool)::core::convert::Into::into(value))
765 }
766 }
767 #[doc = "`.ctor()` overload"]
768 fn ctor(self) -> () {
769 unsafe {
770 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
771 ::unity::il2cpp_call!((::unity::module_base()+0x2c54f10usize)as*mut u8,();
772(Light)__receiver)
773 }
774 }
775 #[doc = "`get_color_Injected(*mutcrate::unity_engine::color::Color)` overload"]
776 fn get_color_injected(self) -> crate::unity_engine::color::Color {
777 unsafe {
778 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
779 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
780 ::unity::il2cpp_call!((::unity::module_base()+0x2c53690usize)as*mut u8,();
781(Light)__receiver,(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
782 __out_0.assume_init()
783 }
784 }
785 #[doc = "`set_color_Injected(*mutcrate::unity_engine::color::Color)` overload"]
786 fn set_color_injected(self) -> crate::unity_engine::color::Color {
787 unsafe {
788 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
790 ::unity::il2cpp_call!((::unity::module_base()+0x2c53740usize)as*mut u8,();
791(Light)__receiver,(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
792 __out_0.assume_init()
793 }
794 }
795 #[doc = "`get_boundingSphereOverride_Injected(*mutcrate::unity_engine::vector4::Vector4)` overload"]
796 fn get_bounding_sphere_override_injected(self) -> crate::unity_engine::vector4::Vector4 {
797 unsafe {
798 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector4::Vector4>::uninit();
800 ::unity::il2cpp_call!((::unity::module_base()+0x2c53b10usize)as*mut u8,();
801(Light)__receiver,(*mut crate::unity_engine::vector4::Vector4)__out_0.as_mut_ptr());
802 __out_0.assume_init()
803 }
804 }
805 #[doc = "`set_boundingSphereOverride_Injected(*mutcrate::unity_engine::vector4::Vector4)` overload"]
806 fn set_bounding_sphere_override_injected(self) -> crate::unity_engine::vector4::Vector4 {
807 unsafe {
808 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
809 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector4::Vector4>::uninit();
810 ::unity::il2cpp_call!((::unity::module_base()+0x2c53bc0usize)as*mut u8,();
811(Light)__receiver,(*mut crate::unity_engine::vector4::Vector4)__out_0.as_mut_ptr());
812 __out_0.assume_init()
813 }
814 }
815 #[doc = "`get_shadowMatrixOverride_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
816 fn get_shadow_matrix_override_injected(self) -> crate::unity_engine::matrix4x4::Matrix4x4 {
817 unsafe {
818 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
819 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
820 ::unity::il2cpp_call!((::unity::module_base()+0x2c54060usize)as*mut u8,();
821(Light)__receiver,(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr());
822 __out_0.assume_init()
823 }
824 }
825 #[doc = "`set_shadowMatrixOverride_Injected(*mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
826 fn set_shadow_matrix_override_injected(self) -> crate::unity_engine::matrix4x4::Matrix4x4 {
827 unsafe {
828 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
829 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
830 ::unity::il2cpp_call!((::unity::module_base()+0x2c54100usize)as*mut u8,();
831(Light)__receiver,(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr());
832 __out_0.assume_init()
833 }
834 }
835 #[doc = "`get_bakingOutput_Injected(*mutcrate::unity_engine::lightbakingoutput::LightBakingOutput)` overload"]
836 fn get_baking_output_injected(self) -> crate::unity_engine::lightbakingoutput::LightBakingOutput {
837 unsafe {
838 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
839 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::lightbakingoutput::LightBakingOutput>::uninit();
840 ::unity::il2cpp_call!((::unity::module_base()+0x2c54310usize)as*mut u8,();
841(Light)__receiver,(*mut crate::unity_engine::lightbakingoutput::LightBakingOutput)__out_0.as_mut_ptr());
842 __out_0.assume_init()
843 }
844 }
845 #[doc = "`set_bakingOutput_Injected(*mutcrate::unity_engine::lightbakingoutput::LightBakingOutput)` overload"]
846 fn set_baking_output_injected(self) -> crate::unity_engine::lightbakingoutput::LightBakingOutput {
847 unsafe {
848 let __receiver = <Light as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
849 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::lightbakingoutput::LightBakingOutput>::uninit();
850 ::unity::il2cpp_call!((::unity::module_base()+0x2c543b0usize)as*mut u8,();
851(Light)__receiver,(*mut crate::unity_engine::lightbakingoutput::LightBakingOutput)__out_0.as_mut_ptr());
852 __out_0.assume_init()
853 }
854 }
855}
856
857#[cfg(feature = "unity_engine-light")]
858impl<__T: ILight> ILightMethods for __T {}
859
860#[cfg(feature = "unity_engine-light")]
861impl Light {
862 pub fn get_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
863 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
864 }
865
866 pub fn set_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
867 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
868 }
869
870 pub fn get_shape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
871 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
872 }
873
874 pub fn set_shape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
875 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
876 }
877
878 pub fn get_spot_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
879 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
880 }
881
882 pub fn set_spot_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
883 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
884 }
885
886 pub fn get_inner_spot_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
887 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
888 }
889
890 pub fn set_inner_spot_angle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
891 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
892 }
893
894 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
895 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
896 }
897
898 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
899 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
900 }
901
902 pub fn get_color_temperature_method_info() -> &'static ::unity::il2cpp::MethodInfo {
903 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
904 }
905
906 pub fn set_color_temperature_method_info() -> &'static ::unity::il2cpp::MethodInfo {
907 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
908 }
909
910 pub fn get_use_color_temperature_method_info() -> &'static ::unity::il2cpp::MethodInfo {
911 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
912 }
913
914 pub fn set_use_color_temperature_method_info() -> &'static ::unity::il2cpp::MethodInfo {
915 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
916 }
917
918 pub fn get_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
919 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
920 }
921
922 pub fn set_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
923 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
924 }
925
926 pub fn get_bounce_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
927 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
928 }
929
930 pub fn set_bounce_intensity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
931 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
932 }
933
934 pub fn get_use_bounding_sphere_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
935 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
936 }
937
938 pub fn set_use_bounding_sphere_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
939 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
940 }
941
942 pub fn get_bounding_sphere_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
943 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
944 }
945
946 pub fn set_bounding_sphere_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
947 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
948 }
949
950 pub fn get_use_view_frustum_for_shadow_caster_cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
951 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
952 }
953
954 pub fn set_use_view_frustum_for_shadow_caster_cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
955 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
956 }
957
958 pub fn get_shadow_custom_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
959 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
960 }
961
962 pub fn set_shadow_custom_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
963 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
964 }
965
966 pub fn get_shadow_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
967 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
968 }
969
970 pub fn set_shadow_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
971 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
972 }
973
974 pub fn get_shadow_normal_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
975 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
976 }
977
978 pub fn set_shadow_normal_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
979 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
980 }
981
982 pub fn get_shadow_near_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
983 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
984 }
985
986 pub fn set_shadow_near_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
987 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
988 }
989
990 pub fn get_use_shadow_matrix_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
991 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
992 }
993
994 pub fn set_use_shadow_matrix_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
995 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
996 }
997
998 pub fn get_shadow_matrix_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
999 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1000 }
1001
1002 pub fn set_shadow_matrix_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1003 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1004 }
1005
1006 pub fn get_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1007 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1008 }
1009
1010 pub fn set_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1011 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1012 }
1013
1014 pub fn get_flare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1015 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1016 }
1017
1018 pub fn set_flare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1019 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1020 }
1021
1022 pub fn get_baking_output_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1023 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1024 }
1025
1026 pub fn set_baking_output_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1027 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1028 }
1029
1030 pub fn get_culling_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1031 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1032 }
1033
1034 pub fn set_culling_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1035 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1036 }
1037
1038 pub fn get_rendering_layer_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1039 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1040 }
1041
1042 pub fn set_rendering_layer_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1043 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1044 }
1045
1046 pub fn get_light_shadow_caster_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1047 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1048 }
1049
1050 pub fn set_light_shadow_caster_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1051 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1052 }
1053
1054 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1055 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1056 }
1057
1058 pub fn get_shadows_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1059 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1060 }
1061
1062 pub fn set_shadows_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1063 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1064 }
1065
1066 pub fn get_shadow_strength_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1067 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1068 }
1069
1070 pub fn set_shadow_strength_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1071 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1072 }
1073
1074 pub fn get_shadow_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1075 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1076 }
1077
1078 pub fn set_shadow_resolution_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1079 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1080 }
1081
1082 pub fn get_shadow_softness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1083 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1084 }
1085
1086 pub fn set_shadow_softness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1087 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1088 }
1089
1090 pub fn get_shadow_softness_fade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1091 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1092 }
1093
1094 pub fn set_shadow_softness_fade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1095 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1096 }
1097
1098 pub fn get_layer_shadow_cull_distances_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1099 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1100 }
1101
1102 pub fn set_layer_shadow_cull_distances_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1104 }
1105
1106 pub fn get_cookie_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1107 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1108 }
1109
1110 pub fn set_cookie_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1111 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1112 }
1113
1114 pub fn get_cookie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1115 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1116 }
1117
1118 pub fn set_cookie_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1119 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1120 }
1121
1122 pub fn get_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1123 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1124 }
1125
1126 pub fn set_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1127 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1128 }
1129
1130 pub fn get_baked_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1131 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1132 }
1133
1134 pub fn set_baked_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1136 }
1137
1138 pub fn add_command_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1140 }
1141
1142 pub fn add_command_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1144 }
1145
1146 pub fn add_command_buffer_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1148 }
1149
1150 pub fn add_command_buffer_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1152 }
1153
1154 pub fn remove_command_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1155 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1156 }
1157
1158 pub fn remove_command_buffers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1160 }
1161
1162 pub fn remove_all_command_buffers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1164 }
1165
1166 pub fn get_command_buffers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1168 }
1169
1170 pub fn get_command_buffer_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1172 }
1173
1174 pub fn get_pixel_light_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1176 }
1177
1178 pub fn set_pixel_light_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1180 }
1181
1182 pub fn get_lights_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1184 }
1185
1186 pub fn get_shadow_constant_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1188 }
1189
1190 pub fn set_shadow_constant_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1192 }
1193
1194 pub fn get_shadow_object_size_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1196 }
1197
1198 pub fn set_shadow_object_size_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1200 }
1201
1202 pub fn get_attenuate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1204 }
1205
1206 pub fn set_attenuate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1208 }
1209
1210 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1212 }
1213
1214 pub fn get_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1216 }
1217
1218 pub fn set_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1220 }
1221
1222 pub fn get_bounding_sphere_override_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1223 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1224 }
1225
1226 pub fn set_bounding_sphere_override_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1228 }
1229
1230 pub fn get_shadow_matrix_override_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1232 }
1233
1234 pub fn set_shadow_matrix_override_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1236 }
1237
1238 pub fn get_baking_output_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1240 }
1241
1242 pub fn set_baking_output_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1244 }
1245}
1246
1247#[cfg(feature = "unity_engine-light")]
1248impl Light {
1249 #[doc = "`.ctor()` — no args"]
1250 pub fn new() -> Self {
1251 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1252 panic!(
1253 "{}
1254::{}
1255 failed to instantiate",
1256 ::core::stringify!(Light),
1257 ::core::stringify!(new),
1258 )
1259 });
1260 <Self as ILightMethods>::ctor(this);
1261 this
1262 }
1263}
1264
1265#[cfg(feature = "unity_engine-light")]
1266#[doc(hidden)]
1267pub mod prelude {
1268 pub use super::{ILight, ILightMethods, Light};
1269 #[cfg(feature = "system-object")]
1270 pub use crate::system::object::IObjectMethods;
1271 #[cfg(feature = "unity_engine-behaviour")]
1272 pub use crate::unity_engine::behaviour::IBehaviourMethods;
1273 #[cfg(feature = "unity_engine-component")]
1274 pub use crate::unity_engine::component::IComponentMethods;
1275 #[cfg(feature = "unity_engine-object_2")]
1276 pub use crate::unity_engine::object_2::IObject_2Methods;
1277 pub use crate::{
1278 system::object::IObject,
1279 unity_engine::{behaviour::IBehaviour, component::IComponent, object_2::IObject_2},
1280 };
1281}