Skip to main content

engage/generated/unity_engine/experimental/playables/
texturemixerplayable.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-experimental-playables-texturemixerplayable-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/playables/texturemixerplayable/TextureMixerPlayable.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct TextureMixerPlayable {
17        pub m_handle: crate::unity_engine::playables::playablehandle::PlayableHandle,
18    }
19    impl ::unity::ClassIdentity for TextureMixerPlayable {
20        const NAME: &'static str = "TextureMixerPlayable";
21        const NAMESPACE: &'static str = "UnityEngine.Experimental.Playables";
22
23        fn class() -> ::unity::Class {
24            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
25            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
26        }
27    }
28    impl ::unity::IlType for TextureMixerPlayable {
29        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
30            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
31        }
32    }
33}
34
35#[cfg(feature = "unity_engine-experimental-playables-texturemixerplayable-types")]
36pub use __types::*;
37
38#[cfg(feature = "unity_engine-experimental-playables-texturemixerplayable")]
39impl TextureMixerPlayable {
40    #[doc = "`GetHandle()` overload"]
41    pub fn get_handle(&mut self) -> crate::unity_engine::playables::playablehandle::PlayableHandle {
42        unsafe {
43            ::unity::il2cpp_call!((::unity::module_base()+0x378e6b0usize)as*mut u8,crate::unity_engine::playables::playablehandle::PlayableHandle;
44(*mut TextureMixerPlayable)self as*mut TextureMixerPlayable)
45        }
46    }
47
48    #[doc = "`Equals(crate::unity_engine::experimental::playables::texturemixerplayable::TextureMixerPlayable)` overload"]
49    pub fn equals(
50        &mut self,
51        other: impl ::core::convert::Into<crate::unity_engine::experimental::playables::texturemixerplayable::TextureMixerPlayable>,
52    ) -> bool {
53        unsafe {
54            ::unity::il2cpp_call!((::unity::module_base()+0x378e6c0usize)as*mut u8,bool;
55(*mut TextureMixerPlayable)self as*mut TextureMixerPlayable,(crate::unity_engine::experimental::playables::texturemixerplayable::TextureMixerPlayable)::core::convert::Into::into(other))
56        }
57    }
58}
59
60#[cfg(feature = "unity_engine-experimental-playables-texturemixerplayable")]
61impl TextureMixerPlayable {
62    pub fn get_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
63        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
64    }
65
66    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
67        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
68    }
69}
70
71#[cfg(feature = "unity_engine-experimental-playables-texturemixerplayable")]
72#[doc(hidden)]
73pub mod prelude {
74    pub use super::TextureMixerPlayable;
75    #[cfg(feature = "system-object")]
76    pub use crate::system::object::IObjectMethods;
77    #[cfg(feature = "system-valuetype")]
78    pub use crate::system::valuetype::IValueTypeMethods;
79    pub use crate::system::{object::IObject, valuetype::IValueType};
80}