Skip to main content

engage/generated/unity_engine/experimental/rendering/universal/lib_tess_dot_net/
contourvertex.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-contourvertex-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/rendering/universal/lib_tess_dot_net/contourvertex/ContourVertex.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct ContourVertex {
17        pub position: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3,
18        pub data: ::unity::IlInstance,
19    }
20    impl ::unity::ClassIdentity for ContourVertex {
21        const NAME: &'static str = "ContourVertex";
22        const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering.Universal.LibTessDotNet";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for ContourVertex {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34}
35
36#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-contourvertex-types")]
37pub use __types::*;
38
39#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-contourvertex")]
40impl ContourVertex {
41    #[doc = "`ToString()` overload"]
42    pub fn to_string(&mut self) -> ::unity::Il2CppString {
43        unsafe {
44            ::unity::il2cpp_call!((::unity::module_base()+0x2a41140usize)as*mut u8, ::unity::Il2CppString;
45(*mut ContourVertex)self as*mut ContourVertex)
46        }
47    }
48}
49
50#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-contourvertex")]
51impl ContourVertex {
52    pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
54    }
55}
56
57#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-contourvertex")]
58#[doc(hidden)]
59pub mod prelude {
60    pub use super::ContourVertex;
61    #[cfg(feature = "system-object")]
62    pub use crate::system::object::IObjectMethods;
63    #[cfg(feature = "system-valuetype")]
64    pub use crate::system::valuetype::IValueTypeMethods;
65    pub use crate::system::{object::IObject, valuetype::IValueType};
66}