engage/generated/unity_engine/vfx/
vfxexpressionvalues.rs1#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues-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/vfx/vfxexpressionvalues/VFXExpressionValues.md"))]
11 #[::unity::class(namespace = "UnityEngine.VFX", name = "VFXExpressionValues")]
12 #[parent(crate::system::object::Object)]
13 pub struct VFXExpressionValues {
14 #[offset(16)]
15 #[rename(name = "m_Ptr")]
16 pub m_ptr: ::unity::IntPtr,
17 }
18}
19
20#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
24impl VFXExpressionValues {
25 #[doc = "`CreateExpressionValuesWrapper(::unity::IntPtr)` overload"]
26 pub fn create_expression_values_wrapper(
27 ptr: impl ::core::convert::Into<::unity::IntPtr>,
28 ) -> crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues {
29 unsafe {
30 ::unity::il2cpp_call!((::unity::module_base()+0x3f44820usize)as*mut u8,crate::unity_engine::vfx::vfxexpressionvalues::VFXExpressionValues;
31(::unity::IntPtr)::core::convert::Into::into(ptr))
32 }
33 }
34}
35
36#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
37pub trait IVFXExpressionValuesMethods: IVFXExpressionValues {
38 #[doc = "`.ctor()` overload"]
39 fn ctor(self) -> () {
40 unsafe {
41 let __receiver = <VFXExpressionValues as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
42 ::unity::il2cpp_call!((::unity::module_base()+0x3f44810usize)as*mut u8,();
43(VFXExpressionValues)__receiver)
44 }
45 }
46}
47
48#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
49impl<__T: IVFXExpressionValues> IVFXExpressionValuesMethods for __T {}
50
51#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
52impl VFXExpressionValues {
53 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
54 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
55 }
56
57 pub fn create_expression_values_wrapper_method_info() -> &'static ::unity::il2cpp::MethodInfo {
58 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
59 }
60}
61
62#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
63impl VFXExpressionValues {
64 #[doc = "`.ctor()` — no args"]
65 pub fn new() -> Self {
66 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
67 panic!(
68 "{}
69::{}
70 failed to instantiate",
71 ::core::stringify!(VFXExpressionValues),
72 ::core::stringify!(new),
73 )
74 });
75 <Self as IVFXExpressionValuesMethods>::ctor(this);
76 this
77 }
78}
79
80#[cfg(feature = "unity_engine-vfx-vfxexpressionvalues")]
81#[doc(hidden)]
82pub mod prelude {
83 pub use super::{IVFXExpressionValues, IVFXExpressionValuesMethods, VFXExpressionValues};
84 pub use crate::system::object::IObject;
85 #[cfg(feature = "system-object")]
86 pub use crate::system::object::IObjectMethods;
87}