Skip to main content

engage/generated/tm_pro/
tmp_submesh.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_submesh-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            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_submesh/TMP_SubMesh.md"))]
19    #[::unity::class(namespace = "TMPro", name = "TMP_SubMesh")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct TMP_SubMesh {
22        #[offset(24)]
23        #[rename(name = "m_fontAsset")]
24        pub m_font_asset: crate::tm_pro::tmp_fontasset::TMP_FontAsset,
25        #[offset(32)]
26        #[rename(name = "m_spriteAsset")]
27        pub m_sprite_asset: crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset,
28        #[offset(40)]
29        #[rename(name = "m_material")]
30        pub m_material: crate::unity_engine::material::Material,
31        #[offset(48)]
32        #[rename(name = "m_sharedMaterial")]
33        pub m_shared_material: crate::unity_engine::material::Material,
34        #[offset(56)]
35        #[rename(name = "m_fallbackMaterial")]
36        pub m_fallback_material: crate::unity_engine::material::Material,
37        #[offset(64)]
38        #[rename(name = "m_fallbackSourceMaterial")]
39        pub m_fallback_source_material: crate::unity_engine::material::Material,
40        #[offset(72)]
41        #[rename(name = "m_isDefaultMaterial")]
42        pub m_is_default_material: bool,
43        #[offset(76)]
44        #[rename(name = "m_padding")]
45        pub m_padding: f32,
46        #[offset(80)]
47        #[rename(name = "m_renderer")]
48        pub m_renderer: crate::unity_engine::renderer::Renderer,
49        #[offset(88)]
50        #[rename(name = "m_meshFilter")]
51        pub m_mesh_filter: crate::unity_engine::meshfilter::MeshFilter,
52        #[offset(96)]
53        #[rename(name = "m_mesh")]
54        pub m_mesh: crate::unity_engine::mesh::Mesh,
55        #[offset(104)]
56        #[rename(name = "m_TextComponent")]
57        pub m_text_component: crate::tm_pro::textmeshpro::TextMeshPro,
58        #[offset(112)]
59        #[rename(name = "m_isRegisteredForEvents")]
60        pub m_is_registered_for_events: bool,
61    }
62}
63
64#[cfg(feature = "tm_pro-tmp_submesh-types")]
65pub use __types::*;
66
67#[cfg(feature = "tm_pro-tmp_submesh")]
68impl TMP_SubMesh {
69    #[doc = "`AddSubTextObject(crate::tm_pro::textmeshpro::TextMeshPro, crate::tm_pro::materialreference::MaterialReference)` overload"]
70    pub fn add_sub_text_object(
71        text_component: impl ::core::convert::Into<crate::tm_pro::textmeshpro::TextMeshPro>,
72        material_reference: impl ::core::convert::Into<crate::tm_pro::materialreference::MaterialReference>,
73    ) -> crate::tm_pro::tmp_submesh::TMP_SubMesh {
74        unsafe {
75            ::unity::il2cpp_call!((::unity::module_base()+0x282f140usize)as*mut u8,crate::tm_pro::tmp_submesh::TMP_SubMesh;
76(crate::tm_pro::textmeshpro::TextMeshPro)::core::convert::Into::into(text_component),(crate::tm_pro::materialreference::MaterialReference)::core::convert::Into::into(material_reference))
77        }
78    }
79}
80
81#[cfg(feature = "tm_pro-tmp_submesh")]
82pub trait ITMP_SubMeshMethods: ITMP_SubMesh {
83    #[doc = "`get_fontAsset()` overload"]
84    fn get_font_asset(self) -> crate::tm_pro::tmp_fontasset::TMP_FontAsset {
85        unsafe {
86            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x282e650usize)as*mut u8,crate::tm_pro::tmp_fontasset::TMP_FontAsset;
88(TMP_SubMesh)__receiver)
89        }
90    }
91    #[doc = "`set_fontAsset(crate::tm_pro::tmp_fontasset::TMP_FontAsset)` overload"]
92    fn set_font_asset(self, value: impl ::core::convert::Into<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) -> () {
93        unsafe {
94            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x282e660usize)as*mut u8,();
96(TMP_SubMesh)__receiver,(crate::tm_pro::tmp_fontasset::TMP_FontAsset)::core::convert::Into::into(value))
97        }
98    }
99    #[doc = "`get_spriteAsset()` overload"]
100    fn get_sprite_asset(self) -> crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset {
101        unsafe {
102            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x282e670usize)as*mut u8,crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset;
104(TMP_SubMesh)__receiver)
105        }
106    }
107    #[doc = "`set_spriteAsset(crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset)` overload"]
108    fn set_sprite_asset(self, value: impl ::core::convert::Into<crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset>) -> () {
109        unsafe {
110            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            ::unity::il2cpp_call!((::unity::module_base()+0x282e680usize)as*mut u8,();
112(TMP_SubMesh)__receiver,(crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset)::core::convert::Into::into(value))
113        }
114    }
115    #[doc = "`get_material()` overload"]
116    fn get_material(self) -> crate::unity_engine::material::Material {
117        unsafe {
118            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x282e690usize)as*mut u8,crate::unity_engine::material::Material;
120(TMP_SubMesh)__receiver)
121        }
122    }
123    #[doc = "`set_material(crate::unity_engine::material::Material)` overload"]
124    fn set_material(self, value: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
125        unsafe {
126            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x282e860usize)as*mut u8,();
128(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(value))
129        }
130    }
131    #[doc = "`get_sharedMaterial()` overload"]
132    fn get_shared_material(self) -> crate::unity_engine::material::Material {
133        unsafe {
134            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x282eae0usize)as*mut u8,crate::unity_engine::material::Material;
136(TMP_SubMesh)__receiver)
137        }
138    }
139    #[doc = "`set_sharedMaterial(crate::unity_engine::material::Material)` overload"]
140    fn set_shared_material(self, value: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
141        unsafe {
142            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x282eaf0usize)as*mut u8,();
144(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(value))
145        }
146    }
147    #[doc = "`get_fallbackMaterial()` overload"]
148    fn get_fallback_material(self) -> crate::unity_engine::material::Material {
149        unsafe {
150            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x282ebb0usize)as*mut u8,crate::unity_engine::material::Material;
152(TMP_SubMesh)__receiver)
153        }
154    }
155    #[doc = "`set_fallbackMaterial(crate::unity_engine::material::Material)` overload"]
156    fn set_fallback_material(self, value: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
157        unsafe {
158            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159            ::unity::il2cpp_call!((::unity::module_base()+0x282ebc0usize)as*mut u8,();
160(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(value))
161        }
162    }
163    #[doc = "`get_fallbackSourceMaterial()` overload"]
164    fn get_fallback_source_material(self) -> crate::unity_engine::material::Material {
165        unsafe {
166            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x282ed50usize)as*mut u8,crate::unity_engine::material::Material;
168(TMP_SubMesh)__receiver)
169        }
170    }
171    #[doc = "`set_fallbackSourceMaterial(crate::unity_engine::material::Material)` overload"]
172    fn set_fallback_source_material(self, value: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
173        unsafe {
174            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            ::unity::il2cpp_call!((::unity::module_base()+0x282ed60usize)as*mut u8,();
176(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(value))
177        }
178    }
179    #[doc = "`get_isDefaultMaterial()` overload"]
180    fn get_is_default_material(self) -> bool {
181        unsafe {
182            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183            ::unity::il2cpp_call!((::unity::module_base()+0x282ed70usize)as*mut u8,bool;
184(TMP_SubMesh)__receiver)
185        }
186    }
187    #[doc = "`set_isDefaultMaterial(bool)` overload"]
188    fn set_is_default_material(self, value: impl ::core::convert::Into<bool>) -> () {
189        unsafe {
190            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x282ed80usize)as*mut u8,();
192(TMP_SubMesh)__receiver,(bool)::core::convert::Into::into(value))
193        }
194    }
195    #[doc = "`get_padding()` overload"]
196    fn get_padding(self) -> f32 {
197        unsafe {
198            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199            ::unity::il2cpp_call!((::unity::module_base()+0x282ed90usize)as*mut u8,f32;
200(TMP_SubMesh)__receiver)
201        }
202    }
203    #[doc = "`set_padding(f32)` overload"]
204    fn set_padding(self, value: impl ::core::convert::Into<f32>) -> () {
205        unsafe {
206            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207            ::unity::il2cpp_call!((::unity::module_base()+0x282eda0usize)as*mut u8,();
208(TMP_SubMesh)__receiver,(f32)::core::convert::Into::into(value))
209        }
210    }
211    #[doc = "`get_renderer()` overload"]
212    fn get_renderer(self) -> crate::unity_engine::renderer::Renderer {
213        unsafe {
214            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
215            ::unity::il2cpp_call!((::unity::module_base()+0x282edb0usize)as*mut u8,crate::unity_engine::renderer::Renderer;
216(TMP_SubMesh)__receiver)
217        }
218    }
219    #[doc = "`get_meshFilter()` overload"]
220    fn get_mesh_filter(self) -> crate::unity_engine::meshfilter::MeshFilter {
221        unsafe {
222            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
223            ::unity::il2cpp_call!((::unity::module_base()+0x282ee70usize)as*mut u8,crate::unity_engine::meshfilter::MeshFilter;
224(TMP_SubMesh)__receiver)
225        }
226    }
227    #[doc = "`get_mesh()` overload"]
228    fn get_mesh(self) -> crate::unity_engine::mesh::Mesh {
229        unsafe {
230            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
231            ::unity::il2cpp_call!((::unity::module_base()+0x282efa0usize)as*mut u8,crate::unity_engine::mesh::Mesh;
232(TMP_SubMesh)__receiver)
233        }
234    }
235    #[doc = "`set_mesh(crate::unity_engine::mesh::Mesh)` overload"]
236    fn set_mesh(self, value: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>) -> () {
237        unsafe {
238            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
239            ::unity::il2cpp_call!((::unity::module_base()+0x282f070usize)as*mut u8,();
240(TMP_SubMesh)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(value))
241        }
242    }
243    #[doc = "`get_textComponent()` overload"]
244    fn get_text_component(self) -> crate::tm_pro::tmp_text::TMP_Text {
245        unsafe {
246            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247            ::unity::il2cpp_call!((::unity::module_base()+0x282f080usize)as*mut u8,crate::tm_pro::tmp_text::TMP_Text;
248(TMP_SubMesh)__receiver)
249        }
250    }
251    #[doc = "`OnEnable()` overload"]
252    fn on_enable(self) -> () {
253        unsafe {
254            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x282f470usize)as*mut u8,();
256(TMP_SubMesh)__receiver)
257        }
258    }
259    #[doc = "`OnDisable()` overload"]
260    fn on_disable(self) -> () {
261        unsafe {
262            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263            ::unity::il2cpp_call!((::unity::module_base()+0x282f5d0usize)as*mut u8,();
264(TMP_SubMesh)__receiver)
265        }
266    }
267    #[doc = "`OnDestroy()` overload"]
268    fn on_destroy(self) -> () {
269        unsafe {
270            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x282f6c0usize)as*mut u8,();
272(TMP_SubMesh)__receiver)
273        }
274    }
275    #[doc = "`DestroySelf()` overload"]
276    fn destroy_self(self) -> () {
277        unsafe {
278            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x282f890usize)as*mut u8,();
280(TMP_SubMesh)__receiver)
281        }
282    }
283    #[doc = "`GetMaterial(crate::unity_engine::material::Material)` overload"]
284    fn get_material_2(self, mat: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> crate::unity_engine::material::Material {
285        unsafe {
286            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x282e6a0usize)as*mut u8,crate::unity_engine::material::Material;
288(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(mat))
289        }
290    }
291    #[doc = "`CreateMaterialInstance(crate::unity_engine::material::Material)` overload"]
292    fn create_material_instance(
293        self,
294        source: impl ::core::convert::Into<crate::unity_engine::material::Material>,
295    ) -> crate::unity_engine::material::Material {
296        unsafe {
297            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
298            ::unity::il2cpp_call!((::unity::module_base()+0x282f910usize)as*mut u8,crate::unity_engine::material::Material;
299(TMP_SubMesh)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(source))
300        }
301    }
302    #[doc = "`GetPaddingForMaterial()` overload"]
303    fn get_padding_for_material(self) -> f32 {
304        unsafe {
305            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306            ::unity::il2cpp_call!((::unity::module_base()+0x282e970usize)as*mut u8,f32;
307(TMP_SubMesh)__receiver)
308        }
309    }
310    #[doc = "`UpdateMeshPadding(bool, bool)` overload"]
311    fn update_mesh_padding(self, is_extra_padding: impl ::core::convert::Into<bool>, is_using_bold: impl ::core::convert::Into<bool>) -> () {
312        unsafe {
313            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
314            ::unity::il2cpp_call!((::unity::module_base()+0x282fa90usize)as*mut u8,();
315(TMP_SubMesh)__receiver,(bool)::core::convert::Into::into(is_extra_padding),(bool)::core::convert::Into::into(is_using_bold))
316        }
317    }
318    #[doc = "`SetVerticesDirty()` overload"]
319    fn set_vertices_dirty(self) -> () {
320        unsafe {
321            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322            ::unity::il2cpp_call!((::unity::module_base()+0x282ea00usize)as*mut u8,();
323(TMP_SubMesh)__receiver)
324        }
325    }
326    #[doc = "`SetMaterialDirty()` overload"]
327    fn set_material_dirty(self) -> () {
328        unsafe {
329            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
330            ::unity::il2cpp_call!((::unity::module_base()+0x282ead0usize)as*mut u8,();
331(TMP_SubMesh)__receiver)
332        }
333    }
334    #[doc = "`UpdateMaterial()` overload"]
335    fn update_material(self) -> () {
336        unsafe {
337            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338            ::unity::il2cpp_call!((::unity::module_base()+0x282fb20usize)as*mut u8,();
339(TMP_SubMesh)__receiver)
340        }
341    }
342    #[doc = "`.ctor()` overload"]
343    fn ctor(self) -> () {
344        unsafe {
345            let __receiver = <TMP_SubMesh as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
346            ::unity::il2cpp_call!((::unity::module_base()+0x282fca0usize)as*mut u8,();
347(TMP_SubMesh)__receiver)
348        }
349    }
350}
351
352#[cfg(feature = "tm_pro-tmp_submesh")]
353impl<__T: ITMP_SubMesh> ITMP_SubMeshMethods for __T {}
354
355#[cfg(feature = "tm_pro-tmp_submesh")]
356impl TMP_SubMesh {
357    pub fn get_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
359    }
360
361    pub fn set_font_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
363    }
364
365    pub fn get_sprite_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
367    }
368
369    pub fn set_sprite_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
371    }
372
373    pub fn get_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
375    }
376
377    pub fn set_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
379    }
380
381    pub fn get_shared_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
383    }
384
385    pub fn set_shared_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
387    }
388
389    pub fn get_fallback_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
391    }
392
393    pub fn set_fallback_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
395    }
396
397    pub fn get_fallback_source_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
399    }
400
401    pub fn set_fallback_source_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
403    }
404
405    pub fn get_is_default_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
407    }
408
409    pub fn set_is_default_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
411    }
412
413    pub fn get_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
415    }
416
417    pub fn set_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
419    }
420
421    pub fn get_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
423    }
424
425    pub fn get_mesh_filter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
427    }
428
429    pub fn get_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
431    }
432
433    pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
435    }
436
437    pub fn get_text_component_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
439    }
440
441    pub fn add_sub_text_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
443    }
444
445    pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
447    }
448
449    pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
451    }
452
453    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
455    }
456
457    pub fn destroy_self_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
459    }
460
461    pub fn get_material_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
463    }
464
465    pub fn create_material_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
467    }
468
469    pub fn get_padding_for_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
471    }
472
473    pub fn update_mesh_padding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
475    }
476
477    pub fn set_vertices_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
479    }
480
481    pub fn set_material_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
483    }
484
485    pub fn update_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
487    }
488
489    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
491    }
492}
493
494#[cfg(feature = "tm_pro-tmp_submesh")]
495impl TMP_SubMesh {
496    #[doc = "`.ctor()` — no args"]
497    pub fn new() -> Self {
498        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
499            panic!(
500                "{}
501::{}
502 failed to instantiate",
503                ::core::stringify!(TMP_SubMesh),
504                ::core::stringify!(new),
505            )
506        });
507        <Self as ITMP_SubMeshMethods>::ctor(this);
508        this
509    }
510}
511
512#[cfg(feature = "tm_pro-tmp_submesh")]
513#[doc(hidden)]
514pub mod prelude {
515    pub use super::{ITMP_SubMesh, ITMP_SubMeshMethods, TMP_SubMesh};
516    #[cfg(feature = "system-object")]
517    pub use crate::system::object::IObjectMethods;
518    #[cfg(feature = "unity_engine-behaviour")]
519    pub use crate::unity_engine::behaviour::IBehaviourMethods;
520    #[cfg(feature = "unity_engine-component")]
521    pub use crate::unity_engine::component::IComponentMethods;
522    #[cfg(feature = "unity_engine-monobehaviour")]
523    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
524    #[cfg(feature = "unity_engine-object_2")]
525    pub use crate::unity_engine::object_2::IObject_2Methods;
526    pub use crate::{
527        system::object::IObject,
528        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
529    };
530}