engage/generated/unity_engine/
lightprobegroup.rs1#[cfg(feature = "unity_engine-lightprobegroup-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/lightprobegroup/LightProbeGroup.md"))]
18 #[::unity::class(namespace = "UnityEngine", name = "LightProbeGroup")]
19 #[parent(crate::unity_engine::behaviour::Behaviour)]
20 pub struct LightProbeGroup {}
21}
22
23#[cfg(feature = "unity_engine-lightprobegroup-types")]
24pub use __types::*;
25
26#[cfg(feature = "unity_engine-lightprobegroup")]
27pub trait ILightProbeGroupMethods: ILightProbeGroup {
28 #[doc = "`get_probePositions()` overload"]
29 fn get_probe_positions(self) -> ::unity::Array<crate::unity_engine::vector3::Vector3> {
30 unsafe {
31 let __receiver = <LightProbeGroup as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x2c552c0usize)as*mut u8, ::unity::Array<crate::unity_engine::vector3::Vector3> ;
33(LightProbeGroup)__receiver)
34 }
35 }
36 #[doc = "`.ctor()` overload"]
37 fn ctor(self) -> () {
38 unsafe {
39 let __receiver = <LightProbeGroup as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
40 ::unity::il2cpp_call!((::unity::module_base()+0x2c552d0usize)as*mut u8,();
41(LightProbeGroup)__receiver)
42 }
43 }
44}
45
46#[cfg(feature = "unity_engine-lightprobegroup")]
47impl<__T: ILightProbeGroup> ILightProbeGroupMethods for __T {}
48
49#[cfg(feature = "unity_engine-lightprobegroup")]
50impl LightProbeGroup {
51 pub fn get_probe_positions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
52 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
53 }
54
55 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
56 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
57 }
58}
59
60#[cfg(feature = "unity_engine-lightprobegroup")]
61impl LightProbeGroup {
62 #[doc = "`.ctor()` — no args"]
63 pub fn new() -> Self {
64 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
65 panic!(
66 "{}
67::{}
68 failed to instantiate",
69 ::core::stringify!(LightProbeGroup),
70 ::core::stringify!(new),
71 )
72 });
73 <Self as ILightProbeGroupMethods>::ctor(this);
74 this
75 }
76}
77
78#[cfg(feature = "unity_engine-lightprobegroup")]
79#[doc(hidden)]
80pub mod prelude {
81 pub use super::{ILightProbeGroup, ILightProbeGroupMethods, LightProbeGroup};
82 #[cfg(feature = "system-object")]
83 pub use crate::system::object::IObjectMethods;
84 #[cfg(feature = "unity_engine-behaviour")]
85 pub use crate::unity_engine::behaviour::IBehaviourMethods;
86 #[cfg(feature = "unity_engine-component")]
87 pub use crate::unity_engine::component::IComponentMethods;
88 #[cfg(feature = "unity_engine-object_2")]
89 pub use crate::unity_engine::object_2::IObject_2Methods;
90 pub use crate::{
91 system::object::IObject,
92 unity_engine::{behaviour::IBehaviour, component::IComponent, object_2::IObject_2},
93 };
94}