1#[cfg(feature = "unity_engine-material-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::object_2::{IObject_2, Object_2},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/material/Material.md"))]
14 #[::unity::class(namespace = "UnityEngine", name = "Material")]
15 #[parent(crate::unity_engine::object_2::Object_2)]
16 pub struct Material {}
17}
18
19#[cfg(feature = "unity_engine-material-types")]
20pub use __types::*;
21
22#[cfg(feature = "unity_engine-material")]
23impl Material {
24 #[doc = "`Create(::unity::Il2CppString)` overload"]
25 pub fn create(script_contents: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::material::Material {
26 unsafe {
27 ::unity::il2cpp_call!((::unity::module_base()+0x32d8e50usize)as*mut u8,crate::unity_engine::material::Material;
28(::unity::Il2CppString)::core::convert::Into::into(script_contents))
29 }
30 }
31
32 #[doc = "`CreateWithShader(crate::unity_engine::material::Material, crate::unity_engine::shader::Shader)` overload"]
33 pub fn create_with_shader(
34 self_: impl ::core::convert::Into<crate::unity_engine::material::Material>,
35 shader: impl ::core::convert::Into<crate::unity_engine::shader::Shader>,
36 ) -> () {
37 unsafe {
38 ::unity::il2cpp_call!((::unity::module_base()+0x32d8fc0usize)as*mut u8,();
39(crate::unity_engine::material::Material)::core::convert::Into::into(self_),(crate::unity_engine::shader::Shader)::core::convert::Into::into(shader))
40 }
41 }
42
43 #[doc = "`CreateWithMaterial(crate::unity_engine::material::Material, crate::unity_engine::material::Material)` overload"]
44 pub fn create_with_material(
45 self_: impl ::core::convert::Into<crate::unity_engine::material::Material>,
46 source: impl ::core::convert::Into<crate::unity_engine::material::Material>,
47 ) -> () {
48 unsafe {
49 ::unity::il2cpp_call!((::unity::module_base()+0x32d9010usize)as*mut u8,();
50(crate::unity_engine::material::Material)::core::convert::Into::into(self_),(crate::unity_engine::material::Material)::core::convert::Into::into(source))
51 }
52 }
53
54 #[doc = "`CreateWithString(crate::unity_engine::material::Material)` overload"]
55 pub fn create_with_string(self_: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
56 unsafe {
57 ::unity::il2cpp_call!((::unity::module_base()+0x32d9060usize)as*mut u8,();
58(crate::unity_engine::material::Material)::core::convert::Into::into(self_))
59 }
60 }
61
62 #[doc = "`GetDefaultMaterial()` overload"]
63 pub fn get_default_material() -> crate::unity_engine::material::Material {
64 unsafe {
65 ::unity::il2cpp_call!((::unity::module_base()+0x32d9200usize)as*mut u8,crate::unity_engine::material::Material;
66 )
67 }
68 }
69
70 #[doc = "`GetDefaultParticleMaterial()` overload"]
71 pub fn get_default_particle_material() -> crate::unity_engine::material::Material {
72 unsafe {
73 ::unity::il2cpp_call!((::unity::module_base()+0x32d9240usize)as*mut u8,crate::unity_engine::material::Material;
74 )
75 }
76 }
77
78 #[doc = "`GetDefaultLineMaterial()` overload"]
79 pub fn get_default_line_material() -> crate::unity_engine::material::Material {
80 unsafe {
81 ::unity::il2cpp_call!((::unity::module_base()+0x32d9280usize)as*mut u8,crate::unity_engine::material::Material;
82 )
83 }
84 }
85}
86
87#[cfg(feature = "unity_engine-material")]
88pub trait IMaterialMethods: IMaterial {
89 #[doc = "`.ctor(crate::unity_engine::shader::Shader)` overload"]
90 fn ctor(self, shader: impl ::core::convert::Into<crate::unity_engine::shader::Shader>) -> () {
91 unsafe {
92 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93 ::unity::il2cpp_call!((::unity::module_base()+0x32d90b0usize)as*mut u8,();
94(Material)__receiver,(crate::unity_engine::shader::Shader)::core::convert::Into::into(shader))
95 }
96 }
97 #[doc = "`.ctor(crate::unity_engine::material::Material)` overload"]
98 fn ctor_2(self, source: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
99 unsafe {
100 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101 ::unity::il2cpp_call!((::unity::module_base()+0x32d9160usize)as*mut u8,();
102(Material)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(source))
103 }
104 }
105 #[doc = "`.ctor(::unity::Il2CppString)` overload"]
106 fn ctor_3(self, contents: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
107 unsafe {
108 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109 ::unity::il2cpp_call!((::unity::module_base()+0x32d8f20usize)as*mut u8,();
110(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(contents))
111 }
112 }
113 #[doc = "`get_shader()` overload"]
114 fn get_shader(self) -> crate::unity_engine::shader::Shader {
115 unsafe {
116 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 ::unity::il2cpp_call!((::unity::module_base()+0x32d92c0usize)as*mut u8,crate::unity_engine::shader::Shader;
118(Material)__receiver)
119 }
120 }
121 #[doc = "`set_shader(crate::unity_engine::shader::Shader)` overload"]
122 fn set_shader(self, value: impl ::core::convert::Into<crate::unity_engine::shader::Shader>) -> () {
123 unsafe {
124 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125 ::unity::il2cpp_call!((::unity::module_base()+0x32d9310usize)as*mut u8,();
126(Material)__receiver,(crate::unity_engine::shader::Shader)::core::convert::Into::into(value))
127 }
128 }
129 #[doc = "`get_color()` overload"]
130 fn get_color(self) -> crate::unity_engine::color::Color {
131 unsafe {
132 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133 ::unity::il2cpp_call!((::unity::module_base()+0x32d9360usize)as*mut u8,crate::unity_engine::color::Color;
134(Material)__receiver)
135 }
136 }
137 #[doc = "`set_color(crate::unity_engine::color::Color)` overload"]
138 fn set_color(self, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
139 unsafe {
140 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141 ::unity::il2cpp_call!((::unity::module_base()+0x32d9590usize)as*mut u8,();
142(Material)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(value))
143 }
144 }
145 #[doc = "`get_mainTexture()` overload"]
146 fn get_main_texture(self) -> crate::unity_engine::texture::Texture {
147 unsafe {
148 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x32d97b0usize)as*mut u8,crate::unity_engine::texture::Texture;
150(Material)__receiver)
151 }
152 }
153 #[doc = "`set_mainTexture(crate::unity_engine::texture::Texture)` overload"]
154 fn set_main_texture(self, value: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
155 unsafe {
156 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157 ::unity::il2cpp_call!((::unity::module_base()+0x32d9950usize)as*mut u8,();
158(Material)__receiver,(crate::unity_engine::texture::Texture)::core::convert::Into::into(value))
159 }
160 }
161 #[doc = "`get_mainTextureOffset()` overload"]
162 fn get_main_texture_offset(self) -> crate::unity_engine::vector2::Vector2 {
163 unsafe {
164 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165 ::unity::il2cpp_call!((::unity::module_base()+0x32d9b10usize)as*mut u8,crate::unity_engine::vector2::Vector2;
166(Material)__receiver)
167 }
168 }
169 #[doc = "`set_mainTextureOffset(crate::unity_engine::vector2::Vector2)` overload"]
170 fn set_main_texture_offset(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
171 unsafe {
172 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173 ::unity::il2cpp_call!((::unity::module_base()+0x32d9cf0usize)as*mut u8,();
174(Material)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
175 }
176 }
177 #[doc = "`get_mainTextureScale()` overload"]
178 fn get_main_texture_scale(self) -> crate::unity_engine::vector2::Vector2 {
179 unsafe {
180 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181 ::unity::il2cpp_call!((::unity::module_base()+0x32d9ec0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
182(Material)__receiver)
183 }
184 }
185 #[doc = "`set_mainTextureScale(crate::unity_engine::vector2::Vector2)` overload"]
186 fn set_main_texture_scale(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
187 unsafe {
188 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189 ::unity::il2cpp_call!((::unity::module_base()+0x32da0a0usize)as*mut u8,();
190(Material)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
191 }
192 }
193 #[doc = "`GetFirstPropertyNameIdByAttribute(crate::unity_engine::rendering::shaderpropertyflags::ShaderPropertyFlags)` overload"]
194 fn get_first_property_name_id_by_attribute(
195 self,
196 attribute_flag: impl ::core::convert::Into<crate::unity_engine::rendering::shaderpropertyflags::ShaderPropertyFlags>,
197 ) -> i32 {
198 unsafe {
199 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
200 ::unity::il2cpp_call!((::unity::module_base()+0x32d9450usize)as*mut u8,i32;
201(Material)__receiver,(crate::unity_engine::rendering::shaderpropertyflags::ShaderPropertyFlags)::core::convert::Into::into(attribute_flag))
202 }
203 }
204 #[doc = "`HasProperty(i32)` overload"]
205 fn has_property(self, name_id: impl ::core::convert::Into<i32>) -> bool {
206 unsafe {
207 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208 ::unity::il2cpp_call!((::unity::module_base()+0x32da270usize)as*mut u8,bool;
209(Material)__receiver,(i32)::core::convert::Into::into(name_id))
210 }
211 }
212 #[doc = "`HasProperty(::unity::Il2CppString)` overload"]
213 fn has_property_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
214 unsafe {
215 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216 ::unity::il2cpp_call!((::unity::module_base()+0x32da2c0usize)as*mut u8,bool;
217(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
218 }
219 }
220 #[doc = "`get_renderQueue()` overload"]
221 fn get_render_queue(self) -> i32 {
222 unsafe {
223 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224 ::unity::il2cpp_call!((::unity::module_base()+0x32da320usize)as*mut u8,i32;
225(Material)__receiver)
226 }
227 }
228 #[doc = "`set_renderQueue(i32)` overload"]
229 fn set_render_queue(self, value: impl ::core::convert::Into<i32>) -> () {
230 unsafe {
231 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232 ::unity::il2cpp_call!((::unity::module_base()+0x32da370usize)as*mut u8,();
233(Material)__receiver,(i32)::core::convert::Into::into(value))
234 }
235 }
236 #[doc = "`get_rawRenderQueue()` overload"]
237 fn get_raw_render_queue(self) -> i32 {
238 unsafe {
239 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240 ::unity::il2cpp_call!((::unity::module_base()+0x32da3c0usize)as*mut u8,i32;
241(Material)__receiver)
242 }
243 }
244 #[doc = "`EnableKeyword(::unity::Il2CppString)` overload"]
245 fn enable_keyword(self, keyword: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
246 unsafe {
247 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248 ::unity::il2cpp_call!((::unity::module_base()+0x32da410usize)as*mut u8,();
249(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(keyword))
250 }
251 }
252 #[doc = "`DisableKeyword(::unity::Il2CppString)` overload"]
253 fn disable_keyword(self, keyword: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
254 unsafe {
255 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256 ::unity::il2cpp_call!((::unity::module_base()+0x32da460usize)as*mut u8,();
257(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(keyword))
258 }
259 }
260 #[doc = "`IsKeywordEnabled(::unity::Il2CppString)` overload"]
261 fn is_keyword_enabled(self, keyword: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
262 unsafe {
263 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
264 ::unity::il2cpp_call!((::unity::module_base()+0x32da4b0usize)as*mut u8,bool;
265(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(keyword))
266 }
267 }
268 #[doc = "`get_globalIlluminationFlags()` overload"]
269 fn get_global_illumination_flags(self) -> crate::unity_engine::materialglobalilluminationflags::MaterialGlobalIlluminationFlags {
270 unsafe {
271 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
272 ::unity::il2cpp_call!((::unity::module_base()+0x32da500usize)as*mut u8,crate::unity_engine::materialglobalilluminationflags::MaterialGlobalIlluminationFlags;
273(Material)__receiver)
274 }
275 }
276 #[doc = "`set_globalIlluminationFlags(crate::unity_engine::materialglobalilluminationflags::MaterialGlobalIlluminationFlags)` overload"]
277 fn set_global_illumination_flags(
278 self,
279 value: impl ::core::convert::Into<crate::unity_engine::materialglobalilluminationflags::MaterialGlobalIlluminationFlags>,
280 ) -> () {
281 unsafe {
282 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
283 ::unity::il2cpp_call!((::unity::module_base()+0x32da550usize)as*mut u8,();
284(Material)__receiver,(crate::unity_engine::materialglobalilluminationflags::MaterialGlobalIlluminationFlags)::core::convert::Into::into(value))
285 }
286 }
287 #[doc = "`get_doubleSidedGI()` overload"]
288 fn get_double_sided_gi(self) -> bool {
289 unsafe {
290 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291 ::unity::il2cpp_call!((::unity::module_base()+0x32da5a0usize)as*mut u8,bool;
292(Material)__receiver)
293 }
294 }
295 #[doc = "`set_doubleSidedGI(bool)` overload"]
296 fn set_double_sided_gi(self, value: impl ::core::convert::Into<bool>) -> () {
297 unsafe {
298 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
299 ::unity::il2cpp_call!((::unity::module_base()+0x32da5f0usize)as*mut u8,();
300(Material)__receiver,(bool)::core::convert::Into::into(value))
301 }
302 }
303 #[doc = "`get_enableInstancing()` overload"]
304 fn get_enable_instancing(self) -> bool {
305 unsafe {
306 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
307 ::unity::il2cpp_call!((::unity::module_base()+0x32da640usize)as*mut u8,bool;
308(Material)__receiver)
309 }
310 }
311 #[doc = "`set_enableInstancing(bool)` overload"]
312 fn set_enable_instancing(self, value: impl ::core::convert::Into<bool>) -> () {
313 unsafe {
314 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315 ::unity::il2cpp_call!((::unity::module_base()+0x32da690usize)as*mut u8,();
316(Material)__receiver,(bool)::core::convert::Into::into(value))
317 }
318 }
319 #[doc = "`get_passCount()` overload"]
320 fn get_pass_count(self) -> i32 {
321 unsafe {
322 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
323 ::unity::il2cpp_call!((::unity::module_base()+0x32da6e0usize)as*mut u8,i32;
324(Material)__receiver)
325 }
326 }
327 #[doc = "`SetShaderPassEnabled(::unity::Il2CppString, bool)` overload"]
328 fn set_shader_pass_enabled(self, pass_name: impl ::core::convert::Into<::unity::Il2CppString>, enabled: impl ::core::convert::Into<bool>) -> () {
329 unsafe {
330 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331 ::unity::il2cpp_call!((::unity::module_base()+0x32da730usize)as*mut u8,();
332(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pass_name),(bool)::core::convert::Into::into(enabled))
333 }
334 }
335 #[doc = "`GetShaderPassEnabled(::unity::Il2CppString)` overload"]
336 fn get_shader_pass_enabled(self, pass_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
337 unsafe {
338 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
339 ::unity::il2cpp_call!((::unity::module_base()+0x32da790usize)as*mut u8,bool;
340(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pass_name))
341 }
342 }
343 #[doc = "`GetPassName(i32)` overload"]
344 fn get_pass_name(self, pass: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
345 unsafe {
346 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
347 ::unity::il2cpp_call!((::unity::module_base()+0x32da7e0usize)as*mut u8, ::unity::Il2CppString;
348(Material)__receiver,(i32)::core::convert::Into::into(pass))
349 }
350 }
351 #[doc = "`FindPass(::unity::Il2CppString)` overload"]
352 fn find_pass(self, pass_name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
353 unsafe {
354 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355 ::unity::il2cpp_call!((::unity::module_base()+0x32da830usize)as*mut u8,i32;
356(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(pass_name))
357 }
358 }
359 #[doc = "`SetOverrideTag(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
360 fn set_override_tag(self, tag: impl ::core::convert::Into<::unity::Il2CppString>, val: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
361 unsafe {
362 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x32da880usize)as*mut u8,();
364(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(tag),(::unity::Il2CppString)::core::convert::Into::into(val))
365 }
366 }
367 #[doc = "`GetTagImpl(::unity::Il2CppString, bool, ::unity::Il2CppString)` overload"]
368 fn get_tag_impl(
369 self,
370 tag: impl ::core::convert::Into<::unity::Il2CppString>,
371 current_sub_shader_only: impl ::core::convert::Into<bool>,
372 default_value: impl ::core::convert::Into<::unity::Il2CppString>,
373 ) -> ::unity::Il2CppString {
374 unsafe {
375 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x32da8e0usize)as*mut u8, ::unity::Il2CppString;
377(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(tag),(bool)::core::convert::Into::into(current_sub_shader_only),(::unity::Il2CppString)::core::convert::Into::into(default_value))
378 }
379 }
380 #[doc = "`GetTag(::unity::Il2CppString, bool, ::unity::Il2CppString)` overload"]
381 fn get_tag(
382 self,
383 tag: impl ::core::convert::Into<::unity::Il2CppString>,
384 search_fallbacks: impl ::core::convert::Into<bool>,
385 default_value: impl ::core::convert::Into<::unity::Il2CppString>,
386 ) -> ::unity::Il2CppString {
387 unsafe {
388 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389 ::unity::il2cpp_call!((::unity::module_base()+0x32da950usize)as*mut u8, ::unity::Il2CppString;
390(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(tag),(bool)::core::convert::Into::into(search_fallbacks),(::unity::Il2CppString)::core::convert::Into::into(default_value))
391 }
392 }
393 #[doc = "`GetTag(::unity::Il2CppString, bool)` overload"]
394 fn get_tag_2(
395 self,
396 tag: impl ::core::convert::Into<::unity::Il2CppString>,
397 search_fallbacks: impl ::core::convert::Into<bool>,
398 ) -> ::unity::Il2CppString {
399 unsafe {
400 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
401 ::unity::il2cpp_call!((::unity::module_base()+0x32da9c0usize)as*mut u8, ::unity::Il2CppString;
402(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(tag),(bool)::core::convert::Into::into(search_fallbacks))
403 }
404 }
405 #[doc = "`Lerp(crate::unity_engine::material::Material, crate::unity_engine::material::Material, f32)` overload"]
406 fn lerp(
407 self,
408 start: impl ::core::convert::Into<crate::unity_engine::material::Material>,
409 end: impl ::core::convert::Into<crate::unity_engine::material::Material>,
410 t: impl ::core::convert::Into<f32>,
411 ) -> () {
412 unsafe {
413 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x32daa60usize)as*mut u8,();
415(Material)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(start),(crate::unity_engine::material::Material)::core::convert::Into::into(end),(f32)::core::convert::Into::into(t))
416 }
417 }
418 #[doc = "`SetPass(i32)` overload"]
419 fn set_pass(self, pass: impl ::core::convert::Into<i32>) -> bool {
420 unsafe {
421 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x32daad0usize)as*mut u8,bool;
423(Material)__receiver,(i32)::core::convert::Into::into(pass))
424 }
425 }
426 #[doc = "`CopyPropertiesFromMaterial(crate::unity_engine::material::Material)` overload"]
427 fn copy_properties_from_material(self, mat: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
428 unsafe {
429 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x32dab20usize)as*mut u8,();
431(Material)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(mat))
432 }
433 }
434 #[doc = "`GetShaderKeywords()` overload"]
435 fn get_shader_keywords(self) -> ::unity::Array<::unity::Il2CppString> {
436 unsafe {
437 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x32dab70usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
439(Material)__receiver)
440 }
441 }
442 #[doc = "`SetShaderKeywords(::unity::Array<::unity::Il2CppString>)` overload"]
443 fn set_shader_keywords(self, names: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
444 unsafe {
445 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x32dabc0usize)as*mut u8,();
447(Material)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(names))
448 }
449 }
450 #[doc = "`ComputeCRC()` overload"]
451 fn compute_crc(self) -> i32 {
452 unsafe {
453 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454 ::unity::il2cpp_call!((::unity::module_base()+0x32dacb0usize)as*mut u8,i32;
455(Material)__receiver)
456 }
457 }
458 #[doc = "`GetTexturePropertyNames()` overload"]
459 fn get_texture_property_names(self) -> ::unity::Array<::unity::Il2CppString> {
460 unsafe {
461 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x32dad00usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
463(Material)__receiver)
464 }
465 }
466 #[doc = "`GetTexturePropertyNameIDs()` overload"]
467 fn get_texture_property_name_i_ds(self) -> ::unity::Array<i32> {
468 unsafe {
469 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x32dad50usize)as*mut u8, ::unity::Array<i32> ;
471(Material)__receiver)
472 }
473 }
474 #[doc = "`GetTexturePropertyNamesInternal(crate::system::object::Object)` overload"]
475 fn get_texture_property_names_internal(self, out_names: impl ::core::convert::Into<crate::system::object::Object>) -> () {
476 unsafe {
477 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x32dada0usize)as*mut u8,();
479(Material)__receiver,(crate::system::object::Object)::core::convert::Into::into(out_names))
480 }
481 }
482 #[doc = "`GetTexturePropertyNameIDsInternal(crate::system::object::Object)` overload"]
483 fn get_texture_property_name_i_ds_internal(self, out_names: impl ::core::convert::Into<crate::system::object::Object>) -> () {
484 unsafe {
485 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 ::unity::il2cpp_call!((::unity::module_base()+0x32dadf0usize)as*mut u8,();
487(Material)__receiver,(crate::system::object::Object)::core::convert::Into::into(out_names))
488 }
489 }
490 #[doc = "`GetTexturePropertyNames(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>)` overload"]
491 fn get_texture_property_names_2(
492 self,
493 out_names: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>>,
494 ) -> () {
495 unsafe {
496 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
497 ::unity::il2cpp_call!((::unity::module_base()+0x32dae40usize)as*mut u8,();
498(Material)__receiver,(crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString>)::core::convert::Into::into(out_names))
499 }
500 }
501 #[doc = "`GetTexturePropertyNameIDs(crate::system::collections::generic::list_1::List_1<i32>)` overload"]
502 fn get_texture_property_name_i_ds_2(self, out_names: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>) -> () {
503 unsafe {
504 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
505 ::unity::il2cpp_call!((::unity::module_base()+0x32daee0usize)as*mut u8,();
506(Material)__receiver,(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(out_names))
507 }
508 }
509 #[doc = "`SetFloatImpl(i32, f32)` overload"]
510 fn set_float_impl(self, name: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<f32>) -> () {
511 unsafe {
512 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x32daf80usize)as*mut u8,();
514(Material)__receiver,(i32)::core::convert::Into::into(name),(f32)::core::convert::Into::into(value))
515 }
516 }
517 #[doc = "`SetColorImpl(i32, crate::unity_engine::color::Color)` overload"]
518 fn set_color_impl(self, name: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
519 unsafe {
520 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 ::unity::il2cpp_call!((::unity::module_base()+0x32dafe0usize)as*mut u8,();
522(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::color::Color)::core::convert::Into::into(value))
523 }
524 }
525 #[doc = "`SetMatrixImpl(i32, crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
526 fn set_matrix_impl(
527 self,
528 name: impl ::core::convert::Into<i32>,
529 value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
530 ) -> () {
531 unsafe {
532 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533 ::unity::il2cpp_call!((::unity::module_base()+0x32db0b0usize)as*mut u8,();
534(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
535 }
536 }
537 #[doc = "`SetTextureImpl(i32, crate::unity_engine::texture::Texture)` overload"]
538 fn set_texture_impl(self, name: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
539 unsafe {
540 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 ::unity::il2cpp_call!((::unity::module_base()+0x32db170usize)as*mut u8,();
542(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::texture::Texture)::core::convert::Into::into(value))
543 }
544 }
545 #[doc = "`SetRenderTextureImpl(i32, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
546 fn set_render_texture_impl(
547 self,
548 name: impl ::core::convert::Into<i32>,
549 value: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
550 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
551 ) -> () {
552 unsafe {
553 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
554 ::unity::il2cpp_call!((::unity::module_base()+0x32db1d0usize)as*mut u8,();
555(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(value),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element))
556 }
557 }
558 #[doc = "`SetBufferImpl(i32, crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
559 fn set_buffer_impl(
560 self,
561 name: impl ::core::convert::Into<i32>,
562 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
563 ) -> () {
564 unsafe {
565 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
566 ::unity::il2cpp_call!((::unity::module_base()+0x32db240usize)as*mut u8,();
567(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value))
568 }
569 }
570 #[doc = "`SetGraphicsBufferImpl(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer)` overload"]
571 fn set_graphics_buffer_impl(
572 self,
573 name: impl ::core::convert::Into<i32>,
574 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
575 ) -> () {
576 unsafe {
577 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
578 ::unity::il2cpp_call!((::unity::module_base()+0x32db2a0usize)as*mut u8,();
579(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value))
580 }
581 }
582 #[doc = "`SetConstantBufferImpl(i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32)` overload"]
583 fn set_constant_buffer_impl(
584 self,
585 name: impl ::core::convert::Into<i32>,
586 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
587 offset: impl ::core::convert::Into<i32>,
588 size: impl ::core::convert::Into<i32>,
589 ) -> () {
590 unsafe {
591 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
592 ::unity::il2cpp_call!((::unity::module_base()+0x32db300usize)as*mut u8,();
593(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
594 }
595 }
596 #[doc = "`SetConstantGraphicsBufferImpl(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32)` overload"]
597 fn set_constant_graphics_buffer_impl(
598 self,
599 name: impl ::core::convert::Into<i32>,
600 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
601 offset: impl ::core::convert::Into<i32>,
602 size: impl ::core::convert::Into<i32>,
603 ) -> () {
604 unsafe {
605 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
606 ::unity::il2cpp_call!((::unity::module_base()+0x32db370usize)as*mut u8,();
607(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
608 }
609 }
610 #[doc = "`GetFloatImpl(i32)` overload"]
611 fn get_float_impl(self, name: impl ::core::convert::Into<i32>) -> f32 {
612 unsafe {
613 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
614 ::unity::il2cpp_call!((::unity::module_base()+0x32db3e0usize)as*mut u8,f32;
615(Material)__receiver,(i32)::core::convert::Into::into(name))
616 }
617 }
618 #[doc = "`GetColorImpl(i32)` overload"]
619 fn get_color_impl(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::color::Color {
620 unsafe {
621 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
622 ::unity::il2cpp_call!((::unity::module_base()+0x32db430usize)as*mut u8,crate::unity_engine::color::Color;
623(Material)__receiver,(i32)::core::convert::Into::into(name))
624 }
625 }
626 #[doc = "`GetMatrixImpl(i32)` overload"]
627 fn get_matrix_impl(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
628 unsafe {
629 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630 ::unity::il2cpp_call!((::unity::module_base()+0x32db500usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
631(Material)__receiver,(i32)::core::convert::Into::into(name))
632 }
633 }
634 #[doc = "`GetTextureImpl(i32)` overload"]
635 fn get_texture_impl(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::texture::Texture {
636 unsafe {
637 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 ::unity::il2cpp_call!((::unity::module_base()+0x32db600usize)as*mut u8,crate::unity_engine::texture::Texture;
639(Material)__receiver,(i32)::core::convert::Into::into(name))
640 }
641 }
642 #[doc = "`SetFloatArrayImpl(i32, ::unity::Array<f32>, i32)` overload"]
643 fn set_float_array_impl(
644 self,
645 name: impl ::core::convert::Into<i32>,
646 values: impl ::core::convert::Into<::unity::Array<f32>>,
647 count: impl ::core::convert::Into<i32>,
648 ) -> () {
649 unsafe {
650 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
651 ::unity::il2cpp_call!((::unity::module_base()+0x32db650usize)as*mut u8,();
652(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<f32>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
653 }
654 }
655 #[doc = "`SetVectorArrayImpl(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32)` overload"]
656 fn set_vector_array_impl(
657 self,
658 name: impl ::core::convert::Into<i32>,
659 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
660 count: impl ::core::convert::Into<i32>,
661 ) -> () {
662 unsafe {
663 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
664 ::unity::il2cpp_call!((::unity::module_base()+0x32db6c0usize)as*mut u8,();
665(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
666 }
667 }
668 #[doc = "`SetColorArrayImpl(i32, ::unity::Array<crate::unity_engine::color::Color>, i32)` overload"]
669 fn set_color_array_impl(
670 self,
671 name: impl ::core::convert::Into<i32>,
672 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::color::Color>>,
673 count: impl ::core::convert::Into<i32>,
674 ) -> () {
675 unsafe {
676 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
677 ::unity::il2cpp_call!((::unity::module_base()+0x32db730usize)as*mut u8,();
678(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::color::Color>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
679 }
680 }
681 #[doc = "`SetMatrixArrayImpl(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>, i32)` overload"]
682 fn set_matrix_array_impl(
683 self,
684 name: impl ::core::convert::Into<i32>,
685 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
686 count: impl ::core::convert::Into<i32>,
687 ) -> () {
688 unsafe {
689 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
690 ::unity::il2cpp_call!((::unity::module_base()+0x32db7a0usize)as*mut u8,();
691(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
692 }
693 }
694 #[doc = "`GetFloatArrayImpl(i32)` overload"]
695 fn get_float_array_impl(self, name: impl ::core::convert::Into<i32>) -> ::unity::Array<f32> {
696 unsafe {
697 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
698 ::unity::il2cpp_call!((::unity::module_base()+0x32db810usize)as*mut u8, ::unity::Array<f32> ;
699(Material)__receiver,(i32)::core::convert::Into::into(name))
700 }
701 }
702 #[doc = "`GetVectorArrayImpl(i32)` overload"]
703 fn get_vector_array_impl(self, name: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::vector4::Vector4> {
704 unsafe {
705 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
706 ::unity::il2cpp_call!((::unity::module_base()+0x32db860usize)as*mut u8, ::unity::Array<crate::unity_engine::vector4::Vector4> ;
707(Material)__receiver,(i32)::core::convert::Into::into(name))
708 }
709 }
710 #[doc = "`GetColorArrayImpl(i32)` overload"]
711 fn get_color_array_impl(self, name: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::color::Color> {
712 unsafe {
713 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
714 ::unity::il2cpp_call!((::unity::module_base()+0x32db8b0usize)as*mut u8, ::unity::Array<crate::unity_engine::color::Color> ;
715(Material)__receiver,(i32)::core::convert::Into::into(name))
716 }
717 }
718 #[doc = "`GetMatrixArrayImpl(i32)` overload"]
719 fn get_matrix_array_impl(self, name: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> {
720 unsafe {
721 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
722 ::unity::il2cpp_call!((::unity::module_base()+0x32db900usize)as*mut u8, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> ;
723(Material)__receiver,(i32)::core::convert::Into::into(name))
724 }
725 }
726 #[doc = "`GetFloatArrayCountImpl(i32)` overload"]
727 fn get_float_array_count_impl(self, name: impl ::core::convert::Into<i32>) -> i32 {
728 unsafe {
729 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
730 ::unity::il2cpp_call!((::unity::module_base()+0x32db950usize)as*mut u8,i32;
731(Material)__receiver,(i32)::core::convert::Into::into(name))
732 }
733 }
734 #[doc = "`GetVectorArrayCountImpl(i32)` overload"]
735 fn get_vector_array_count_impl(self, name: impl ::core::convert::Into<i32>) -> i32 {
736 unsafe {
737 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
738 ::unity::il2cpp_call!((::unity::module_base()+0x32db9a0usize)as*mut u8,i32;
739(Material)__receiver,(i32)::core::convert::Into::into(name))
740 }
741 }
742 #[doc = "`GetColorArrayCountImpl(i32)` overload"]
743 fn get_color_array_count_impl(self, name: impl ::core::convert::Into<i32>) -> i32 {
744 unsafe {
745 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
746 ::unity::il2cpp_call!((::unity::module_base()+0x32db9f0usize)as*mut u8,i32;
747(Material)__receiver,(i32)::core::convert::Into::into(name))
748 }
749 }
750 #[doc = "`GetMatrixArrayCountImpl(i32)` overload"]
751 fn get_matrix_array_count_impl(self, name: impl ::core::convert::Into<i32>) -> i32 {
752 unsafe {
753 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
754 ::unity::il2cpp_call!((::unity::module_base()+0x32dba40usize)as*mut u8,i32;
755(Material)__receiver,(i32)::core::convert::Into::into(name))
756 }
757 }
758 #[doc = "`ExtractFloatArrayImpl(i32, ::unity::Array<f32>)` overload"]
759 fn extract_float_array_impl(self, name: impl ::core::convert::Into<i32>, val: impl ::core::convert::Into<::unity::Array<f32>>) -> () {
760 unsafe {
761 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
762 ::unity::il2cpp_call!((::unity::module_base()+0x32dba90usize)as*mut u8,();
763(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<f32>)::core::convert::Into::into(val))
764 }
765 }
766 #[doc = "`ExtractVectorArrayImpl(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>)` overload"]
767 fn extract_vector_array_impl(
768 self,
769 name: impl ::core::convert::Into<i32>,
770 val: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
771 ) -> () {
772 unsafe {
773 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
774 ::unity::il2cpp_call!((::unity::module_base()+0x32dbaf0usize)as*mut u8,();
775(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(val))
776 }
777 }
778 #[doc = "`ExtractColorArrayImpl(i32, ::unity::Array<crate::unity_engine::color::Color>)` overload"]
779 fn extract_color_array_impl(
780 self,
781 name: impl ::core::convert::Into<i32>,
782 val: impl ::core::convert::Into<::unity::Array<crate::unity_engine::color::Color>>,
783 ) -> () {
784 unsafe {
785 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
786 ::unity::il2cpp_call!((::unity::module_base()+0x32dbb50usize)as*mut u8,();
787(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::color::Color>)::core::convert::Into::into(val))
788 }
789 }
790 #[doc = "`ExtractMatrixArrayImpl(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
791 fn extract_matrix_array_impl(
792 self,
793 name: impl ::core::convert::Into<i32>,
794 val: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
795 ) -> () {
796 unsafe {
797 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
798 ::unity::il2cpp_call!((::unity::module_base()+0x32dbbb0usize)as*mut u8,();
799(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(val))
800 }
801 }
802 #[doc = "`GetTextureScaleAndOffsetImpl(i32)` overload"]
803 fn get_texture_scale_and_offset_impl(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector4::Vector4 {
804 unsafe {
805 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
806 ::unity::il2cpp_call!((::unity::module_base()+0x32dbc10usize)as*mut u8,crate::unity_engine::vector4::Vector4;
807(Material)__receiver,(i32)::core::convert::Into::into(name))
808 }
809 }
810 #[doc = "`SetTextureOffsetImpl(i32, crate::unity_engine::vector2::Vector2)` overload"]
811 fn set_texture_offset_impl(
812 self,
813 name: impl ::core::convert::Into<i32>,
814 offset: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
815 ) -> () {
816 unsafe {
817 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
818 ::unity::il2cpp_call!((::unity::module_base()+0x32dbce0usize)as*mut u8,();
819(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(offset))
820 }
821 }
822 #[doc = "`SetTextureScaleImpl(i32, crate::unity_engine::vector2::Vector2)` overload"]
823 fn set_texture_scale_impl(
824 self,
825 name: impl ::core::convert::Into<i32>,
826 scale: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
827 ) -> () {
828 unsafe {
829 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
830 ::unity::il2cpp_call!((::unity::module_base()+0x32dbda0usize)as*mut u8,();
831(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(scale))
832 }
833 }
834 #[doc = "`SetFloatArray(i32, ::unity::Array<f32>, i32)` overload"]
835 fn set_float_array(
836 self,
837 name: impl ::core::convert::Into<i32>,
838 values: impl ::core::convert::Into<::unity::Array<f32>>,
839 count: impl ::core::convert::Into<i32>,
840 ) -> () {
841 unsafe {
842 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
843 ::unity::il2cpp_call!((::unity::module_base()+0x32dbe60usize)as*mut u8,();
844(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<f32>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
845 }
846 }
847 #[doc = "`SetVectorArray(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>, i32)` overload"]
848 fn set_vector_array(
849 self,
850 name: impl ::core::convert::Into<i32>,
851 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
852 count: impl ::core::convert::Into<i32>,
853 ) -> () {
854 unsafe {
855 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
856 ::unity::il2cpp_call!((::unity::module_base()+0x32dbf80usize)as*mut u8,();
857(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
858 }
859 }
860 #[doc = "`SetColorArray(i32, ::unity::Array<crate::unity_engine::color::Color>, i32)` overload"]
861 fn set_color_array(
862 self,
863 name: impl ::core::convert::Into<i32>,
864 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::color::Color>>,
865 count: impl ::core::convert::Into<i32>,
866 ) -> () {
867 unsafe {
868 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
869 ::unity::il2cpp_call!((::unity::module_base()+0x32dc0a0usize)as*mut u8,();
870(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::color::Color>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
871 }
872 }
873 #[doc = "`SetMatrixArray(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>, i32)` overload"]
874 fn set_matrix_array(
875 self,
876 name: impl ::core::convert::Into<i32>,
877 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
878 count: impl ::core::convert::Into<i32>,
879 ) -> () {
880 unsafe {
881 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
882 ::unity::il2cpp_call!((::unity::module_base()+0x32dc1c0usize)as*mut u8,();
883(Material)__receiver,(i32)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values),(i32)::core::convert::Into::into(count))
884 }
885 }
886 #[doc = "`ExtractFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>)` overload"]
887 fn extract_float_array(
888 self,
889 name: impl ::core::convert::Into<i32>,
890 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<f32>>,
891 ) -> () {
892 unsafe {
893 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
894 ::unity::il2cpp_call!((::unity::module_base()+0x32dc2e0usize)as*mut u8,();
895(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<f32>)::core::convert::Into::into(values))
896 }
897 }
898 #[doc = "`ExtractVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
899 fn extract_vector_array(
900 self,
901 name: impl ::core::convert::Into<i32>,
902 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
903 ) -> () {
904 unsafe {
905 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
906 ::unity::il2cpp_call!((::unity::module_base()+0x32dc500usize)as*mut u8,();
907(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
908 }
909 }
910 #[doc = "`ExtractColorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
911 fn extract_color_array(
912 self,
913 name: impl ::core::convert::Into<i32>,
914 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>,
915 ) -> () {
916 unsafe {
917 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
918 ::unity::il2cpp_call!((::unity::module_base()+0x32dc6d0usize)as*mut u8,();
919(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
920 }
921 }
922 #[doc = "`ExtractMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
923 fn extract_matrix_array(
924 self,
925 name: impl ::core::convert::Into<i32>,
926 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>>,
927 ) -> () {
928 unsafe {
929 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
930 ::unity::il2cpp_call!((::unity::module_base()+0x32dc8a0usize)as*mut u8,();
931(Material)__receiver,(i32)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
932 }
933 }
934 #[doc = "`SetFloat(::unity::Il2CppString, f32)` overload"]
935 fn set_float(self, name: impl ::core::convert::Into<::unity::Il2CppString>, value: impl ::core::convert::Into<f32>) -> () {
936 unsafe {
937 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
938 ::unity::il2cpp_call!((::unity::module_base()+0x32dca70usize)as*mut u8,();
939(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(f32)::core::convert::Into::into(value))
940 }
941 }
942 #[doc = "`SetFloat(i32, f32)` overload"]
943 fn set_float_2(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<f32>) -> () {
944 unsafe {
945 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
946 ::unity::il2cpp_call!((::unity::module_base()+0x32dcae0usize)as*mut u8,();
947(Material)__receiver,(i32)::core::convert::Into::into(name_id),(f32)::core::convert::Into::into(value))
948 }
949 }
950 #[doc = "`SetInt(::unity::Il2CppString, i32)` overload"]
951 fn set_int(self, name: impl ::core::convert::Into<::unity::Il2CppString>, value: impl ::core::convert::Into<i32>) -> () {
952 unsafe {
953 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
954 ::unity::il2cpp_call!((::unity::module_base()+0x32dcb40usize)as*mut u8,();
955(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(i32)::core::convert::Into::into(value))
956 }
957 }
958 #[doc = "`SetInt(i32, i32)` overload"]
959 fn set_int_2(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<i32>) -> () {
960 unsafe {
961 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
962 ::unity::il2cpp_call!((::unity::module_base()+0x32dcbb0usize)as*mut u8,();
963(Material)__receiver,(i32)::core::convert::Into::into(name_id),(i32)::core::convert::Into::into(value))
964 }
965 }
966 #[doc = "`SetColor(::unity::Il2CppString, crate::unity_engine::color::Color)` overload"]
967 fn set_color_2(
968 self,
969 name: impl ::core::convert::Into<::unity::Il2CppString>,
970 value: impl ::core::convert::Into<crate::unity_engine::color::Color>,
971 ) -> () {
972 unsafe {
973 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
974 ::unity::il2cpp_call!((::unity::module_base()+0x32d9710usize)as*mut u8,();
975(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::color::Color)::core::convert::Into::into(value))
976 }
977 }
978 #[doc = "`SetColor(i32, crate::unity_engine::color::Color)` overload"]
979 fn set_color_3(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
980 unsafe {
981 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
982 ::unity::il2cpp_call!((::unity::module_base()+0x32d96a0usize)as*mut u8,();
983(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::color::Color)::core::convert::Into::into(value))
984 }
985 }
986 #[doc = "`SetVector(::unity::Il2CppString, crate::unity_engine::vector4::Vector4)` overload"]
987 fn set_vector(
988 self,
989 name: impl ::core::convert::Into<::unity::Il2CppString>,
990 value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>,
991 ) -> () {
992 unsafe {
993 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
994 ::unity::il2cpp_call!((::unity::module_base()+0x32dcc10usize)as*mut u8,();
995(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
996 }
997 }
998 #[doc = "`SetVector(i32, crate::unity_engine::vector4::Vector4)` overload"]
999 fn set_vector_2(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::vector4::Vector4>) -> () {
1000 unsafe {
1001 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1002 ::unity::il2cpp_call!((::unity::module_base()+0x32dccc0usize)as*mut u8,();
1003(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::vector4::Vector4)::core::convert::Into::into(value))
1004 }
1005 }
1006 #[doc = "`SetMatrix(::unity::Il2CppString, crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1007 fn set_matrix(
1008 self,
1009 name: impl ::core::convert::Into<::unity::Il2CppString>,
1010 value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1011 ) -> () {
1012 unsafe {
1013 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1014 ::unity::il2cpp_call!((::unity::module_base()+0x32dcd30usize)as*mut u8,();
1015(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
1016 }
1017 }
1018 #[doc = "`SetMatrix(i32, crate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1019 fn set_matrix_2(
1020 self,
1021 name_id: impl ::core::convert::Into<i32>,
1022 value: impl ::core::convert::Into<crate::unity_engine::matrix4x4::Matrix4x4>,
1023 ) -> () {
1024 unsafe {
1025 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1026 ::unity::il2cpp_call!((::unity::module_base()+0x32dcdc0usize)as*mut u8,();
1027(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::matrix4x4::Matrix4x4)::core::convert::Into::into(value))
1028 }
1029 }
1030 #[doc = "`SetTexture(::unity::Il2CppString, crate::unity_engine::texture::Texture)` overload"]
1031 fn set_texture(
1032 self,
1033 name: impl ::core::convert::Into<::unity::Il2CppString>,
1034 value: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
1035 ) -> () {
1036 unsafe {
1037 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1038 ::unity::il2cpp_call!((::unity::module_base()+0x32d9aa0usize)as*mut u8,();
1039(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::texture::Texture)::core::convert::Into::into(value))
1040 }
1041 }
1042 #[doc = "`SetTexture(i32, crate::unity_engine::texture::Texture)` overload"]
1043 fn set_texture_2(self, name_id: impl ::core::convert::Into<i32>, value: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
1044 unsafe {
1045 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1046 ::unity::il2cpp_call!((::unity::module_base()+0x32d9a40usize)as*mut u8,();
1047(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::texture::Texture)::core::convert::Into::into(value))
1048 }
1049 }
1050 #[doc = "`SetTexture(::unity::Il2CppString, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
1051 fn set_texture_3(
1052 self,
1053 name: impl ::core::convert::Into<::unity::Il2CppString>,
1054 value: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
1055 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
1056 ) -> () {
1057 unsafe {
1058 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1059 ::unity::il2cpp_call!((::unity::module_base()+0x32dce40usize)as*mut u8,();
1060(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(value),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element))
1061 }
1062 }
1063 #[doc = "`SetTexture(i32, crate::unity_engine::rendertexture::RenderTexture, crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)` overload"]
1064 fn set_texture_4(
1065 self,
1066 name_id: impl ::core::convert::Into<i32>,
1067 value: impl ::core::convert::Into<crate::unity_engine::rendertexture::RenderTexture>,
1068 element: impl ::core::convert::Into<crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement>,
1069 ) -> () {
1070 unsafe {
1071 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1072 ::unity::il2cpp_call!((::unity::module_base()+0x32dcec0usize)as*mut u8,();
1073(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::rendertexture::RenderTexture)::core::convert::Into::into(value),(crate::unity_engine::rendering::rendertexturesubelement::RenderTextureSubElement)::core::convert::Into::into(element))
1074 }
1075 }
1076 #[doc = "`SetBuffer(::unity::Il2CppString, crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
1077 fn set_buffer(
1078 self,
1079 name: impl ::core::convert::Into<::unity::Il2CppString>,
1080 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1081 ) -> () {
1082 unsafe {
1083 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1084 ::unity::il2cpp_call!((::unity::module_base()+0x32dcf30usize)as*mut u8,();
1085(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value))
1086 }
1087 }
1088 #[doc = "`SetBuffer(i32, crate::unity_engine::computebuffer::ComputeBuffer)` overload"]
1089 fn set_buffer_2(
1090 self,
1091 name_id: impl ::core::convert::Into<i32>,
1092 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1093 ) -> () {
1094 unsafe {
1095 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1096 ::unity::il2cpp_call!((::unity::module_base()+0x32dcfa0usize)as*mut u8,();
1097(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value))
1098 }
1099 }
1100 #[doc = "`SetBuffer(::unity::Il2CppString, crate::unity_engine::graphicsbuffer::GraphicsBuffer)` overload"]
1101 fn set_buffer_3(
1102 self,
1103 name: impl ::core::convert::Into<::unity::Il2CppString>,
1104 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
1105 ) -> () {
1106 unsafe {
1107 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1108 ::unity::il2cpp_call!((::unity::module_base()+0x32dd000usize)as*mut u8,();
1109(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value))
1110 }
1111 }
1112 #[doc = "`SetBuffer(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer)` overload"]
1113 fn set_buffer_4(
1114 self,
1115 name_id: impl ::core::convert::Into<i32>,
1116 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
1117 ) -> () {
1118 unsafe {
1119 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1120 ::unity::il2cpp_call!((::unity::module_base()+0x32dd070usize)as*mut u8,();
1121(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value))
1122 }
1123 }
1124 #[doc = "`SetConstantBuffer(::unity::Il2CppString, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32)` overload"]
1125 fn set_constant_buffer(
1126 self,
1127 name: impl ::core::convert::Into<::unity::Il2CppString>,
1128 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1129 offset: impl ::core::convert::Into<i32>,
1130 size: impl ::core::convert::Into<i32>,
1131 ) -> () {
1132 unsafe {
1133 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1134 ::unity::il2cpp_call!((::unity::module_base()+0x32dd0d0usize)as*mut u8,();
1135(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
1136 }
1137 }
1138 #[doc = "`SetConstantBuffer(i32, crate::unity_engine::computebuffer::ComputeBuffer, i32, i32)` overload"]
1139 fn set_constant_buffer_2(
1140 self,
1141 name_id: impl ::core::convert::Into<i32>,
1142 value: impl ::core::convert::Into<crate::unity_engine::computebuffer::ComputeBuffer>,
1143 offset: impl ::core::convert::Into<i32>,
1144 size: impl ::core::convert::Into<i32>,
1145 ) -> () {
1146 unsafe {
1147 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1148 ::unity::il2cpp_call!((::unity::module_base()+0x32dd150usize)as*mut u8,();
1149(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::computebuffer::ComputeBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
1150 }
1151 }
1152 #[doc = "`SetConstantBuffer(::unity::Il2CppString, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32)` overload"]
1153 fn set_constant_buffer_3(
1154 self,
1155 name: impl ::core::convert::Into<::unity::Il2CppString>,
1156 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
1157 offset: impl ::core::convert::Into<i32>,
1158 size: impl ::core::convert::Into<i32>,
1159 ) -> () {
1160 unsafe {
1161 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1162 ::unity::il2cpp_call!((::unity::module_base()+0x32dd1c0usize)as*mut u8,();
1163(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
1164 }
1165 }
1166 #[doc = "`SetConstantBuffer(i32, crate::unity_engine::graphicsbuffer::GraphicsBuffer, i32, i32)` overload"]
1167 fn set_constant_buffer_4(
1168 self,
1169 name_id: impl ::core::convert::Into<i32>,
1170 value: impl ::core::convert::Into<crate::unity_engine::graphicsbuffer::GraphicsBuffer>,
1171 offset: impl ::core::convert::Into<i32>,
1172 size: impl ::core::convert::Into<i32>,
1173 ) -> () {
1174 unsafe {
1175 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1176 ::unity::il2cpp_call!((::unity::module_base()+0x32dd240usize)as*mut u8,();
1177(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::graphicsbuffer::GraphicsBuffer)::core::convert::Into::into(value),(i32)::core::convert::Into::into(offset),(i32)::core::convert::Into::into(size))
1178 }
1179 }
1180 #[doc = "`SetFloatArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<f32>)` overload"]
1181 fn set_float_array_2(
1182 self,
1183 name: impl ::core::convert::Into<::unity::Il2CppString>,
1184 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<f32>>,
1185 ) -> () {
1186 unsafe {
1187 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1188 ::unity::il2cpp_call!((::unity::module_base()+0x32dd2b0usize)as*mut u8,();
1189(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<f32>)::core::convert::Into::into(values))
1190 }
1191 }
1192 #[doc = "`SetFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>)` overload"]
1193 fn set_float_array_3(
1194 self,
1195 name_id: impl ::core::convert::Into<i32>,
1196 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<f32>>,
1197 ) -> () {
1198 unsafe {
1199 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1200 ::unity::il2cpp_call!((::unity::module_base()+0x32dd350usize)as*mut u8,();
1201(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<f32>)::core::convert::Into::into(values))
1202 }
1203 }
1204 #[doc = "`SetFloatArray(::unity::Il2CppString, ::unity::Array<f32>)` overload"]
1205 fn set_float_array_4(
1206 self,
1207 name: impl ::core::convert::Into<::unity::Il2CppString>,
1208 values: impl ::core::convert::Into<::unity::Array<f32>>,
1209 ) -> () {
1210 unsafe {
1211 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1212 ::unity::il2cpp_call!((::unity::module_base()+0x32dd3e0usize)as*mut u8,();
1213(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Array<f32>)::core::convert::Into::into(values))
1214 }
1215 }
1216 #[doc = "`SetFloatArray(i32, ::unity::Array<f32>)` overload"]
1217 fn set_float_array_5(self, name_id: impl ::core::convert::Into<i32>, values: impl ::core::convert::Into<::unity::Array<f32>>) -> () {
1218 unsafe {
1219 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1220 ::unity::il2cpp_call!((::unity::module_base()+0x32dd420usize)as*mut u8,();
1221(Material)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<f32>)::core::convert::Into::into(values))
1222 }
1223 }
1224 #[doc = "`SetColorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
1225 fn set_color_array_2(
1226 self,
1227 name: impl ::core::convert::Into<::unity::Il2CppString>,
1228 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>,
1229 ) -> () {
1230 unsafe {
1231 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1232 ::unity::il2cpp_call!((::unity::module_base()+0x32dd430usize)as*mut u8,();
1233(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1234 }
1235 }
1236 #[doc = "`SetColorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
1237 fn set_color_array_3(
1238 self,
1239 name_id: impl ::core::convert::Into<i32>,
1240 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>,
1241 ) -> () {
1242 unsafe {
1243 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1244 ::unity::il2cpp_call!((::unity::module_base()+0x32dd4d0usize)as*mut u8,();
1245(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1246 }
1247 }
1248 #[doc = "`SetColorArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::color::Color>)` overload"]
1249 fn set_color_array_4(
1250 self,
1251 name: impl ::core::convert::Into<::unity::Il2CppString>,
1252 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::color::Color>>,
1253 ) -> () {
1254 unsafe {
1255 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1256 ::unity::il2cpp_call!((::unity::module_base()+0x32dd560usize)as*mut u8,();
1257(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1258 }
1259 }
1260 #[doc = "`SetColorArray(i32, ::unity::Array<crate::unity_engine::color::Color>)` overload"]
1261 fn set_color_array_5(
1262 self,
1263 name_id: impl ::core::convert::Into<i32>,
1264 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::color::Color>>,
1265 ) -> () {
1266 unsafe {
1267 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1268 ::unity::il2cpp_call!((::unity::module_base()+0x32dd5a0usize)as*mut u8,();
1269(Material)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1270 }
1271 }
1272 #[doc = "`SetVectorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
1273 fn set_vector_array_2(
1274 self,
1275 name: impl ::core::convert::Into<::unity::Il2CppString>,
1276 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
1277 ) -> () {
1278 unsafe {
1279 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1280 ::unity::il2cpp_call!((::unity::module_base()+0x32dd5b0usize)as*mut u8,();
1281(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1282 }
1283 }
1284 #[doc = "`SetVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
1285 fn set_vector_array_3(
1286 self,
1287 name_id: impl ::core::convert::Into<i32>,
1288 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
1289 ) -> () {
1290 unsafe {
1291 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1292 ::unity::il2cpp_call!((::unity::module_base()+0x32dd650usize)as*mut u8,();
1293(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1294 }
1295 }
1296 #[doc = "`SetVectorArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::vector4::Vector4>)` overload"]
1297 fn set_vector_array_4(
1298 self,
1299 name: impl ::core::convert::Into<::unity::Il2CppString>,
1300 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
1301 ) -> () {
1302 unsafe {
1303 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1304 ::unity::il2cpp_call!((::unity::module_base()+0x32dd6e0usize)as*mut u8,();
1305(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1306 }
1307 }
1308 #[doc = "`SetVectorArray(i32, ::unity::Array<crate::unity_engine::vector4::Vector4>)` overload"]
1309 fn set_vector_array_5(
1310 self,
1311 name_id: impl ::core::convert::Into<i32>,
1312 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::vector4::Vector4>>,
1313 ) -> () {
1314 unsafe {
1315 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1316 ::unity::il2cpp_call!((::unity::module_base()+0x32dd720usize)as*mut u8,();
1317(Material)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1318 }
1319 }
1320 #[doc = "`SetMatrixArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1321 fn set_matrix_array_2(
1322 self,
1323 name: impl ::core::convert::Into<::unity::Il2CppString>,
1324 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>>,
1325 ) -> () {
1326 unsafe {
1327 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1328 ::unity::il2cpp_call!((::unity::module_base()+0x32dd730usize)as*mut u8,();
1329(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1330 }
1331 }
1332 #[doc = "`SetMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1333 fn set_matrix_array_3(
1334 self,
1335 name_id: impl ::core::convert::Into<i32>,
1336 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>>,
1337 ) -> () {
1338 unsafe {
1339 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1340 ::unity::il2cpp_call!((::unity::module_base()+0x32dd7d0usize)as*mut u8,();
1341(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1342 }
1343 }
1344 #[doc = "`SetMatrixArray(::unity::Il2CppString, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1345 fn set_matrix_array_4(
1346 self,
1347 name: impl ::core::convert::Into<::unity::Il2CppString>,
1348 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
1349 ) -> () {
1350 unsafe {
1351 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1352 ::unity::il2cpp_call!((::unity::module_base()+0x32dd860usize)as*mut u8,();
1353(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1354 }
1355 }
1356 #[doc = "`SetMatrixArray(i32, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1357 fn set_matrix_array_5(
1358 self,
1359 name_id: impl ::core::convert::Into<i32>,
1360 values: impl ::core::convert::Into<::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>>,
1361 ) -> () {
1362 unsafe {
1363 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1364 ::unity::il2cpp_call!((::unity::module_base()+0x32dd8a0usize)as*mut u8,();
1365(Material)__receiver,(i32)::core::convert::Into::into(name_id),(::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1366 }
1367 }
1368 #[doc = "`GetFloat(::unity::Il2CppString)` overload"]
1369 fn get_float(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
1370 unsafe {
1371 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1372 ::unity::il2cpp_call!((::unity::module_base()+0x32dd8b0usize)as*mut u8,f32;
1373(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1374 }
1375 }
1376 #[doc = "`GetFloat(i32)` overload"]
1377 fn get_float_2(self, name_id: impl ::core::convert::Into<i32>) -> f32 {
1378 unsafe {
1379 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1380 ::unity::il2cpp_call!((::unity::module_base()+0x32dd910usize)as*mut u8,f32;
1381(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1382 }
1383 }
1384 #[doc = "`GetInt(::unity::Il2CppString)` overload"]
1385 fn get_int(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
1386 unsafe {
1387 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1388 ::unity::il2cpp_call!((::unity::module_base()+0x32dd960usize)as*mut u8,i32;
1389(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1390 }
1391 }
1392 #[doc = "`GetInt(i32)` overload"]
1393 fn get_int_2(self, name_id: impl ::core::convert::Into<i32>) -> i32 {
1394 unsafe {
1395 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1396 ::unity::il2cpp_call!((::unity::module_base()+0x32dd9e0usize)as*mut u8,i32;
1397(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1398 }
1399 }
1400 #[doc = "`GetColor(::unity::Il2CppString)` overload"]
1401 fn get_color_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::color::Color {
1402 unsafe {
1403 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1404 ::unity::il2cpp_call!((::unity::module_base()+0x32d9510usize)as*mut u8,crate::unity_engine::color::Color;
1405(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1406 }
1407 }
1408 #[doc = "`GetColor(i32)` overload"]
1409 fn get_color_3(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::color::Color {
1410 unsafe {
1411 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1412 ::unity::il2cpp_call!((::unity::module_base()+0x32d94a0usize)as*mut u8,crate::unity_engine::color::Color;
1413(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1414 }
1415 }
1416 #[doc = "`GetVector(::unity::Il2CppString)` overload"]
1417 fn get_vector(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::vector4::Vector4 {
1418 unsafe {
1419 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1420 ::unity::il2cpp_call!((::unity::module_base()+0x32dda50usize)as*mut u8,crate::unity_engine::vector4::Vector4;
1421(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1422 }
1423 }
1424 #[doc = "`GetVector(i32)` overload"]
1425 fn get_vector_2(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector4::Vector4 {
1426 unsafe {
1427 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1428 ::unity::il2cpp_call!((::unity::module_base()+0x32ddad0usize)as*mut u8,crate::unity_engine::vector4::Vector4;
1429(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1430 }
1431 }
1432 #[doc = "`GetMatrix(::unity::Il2CppString)` overload"]
1433 fn get_matrix(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1434 unsafe {
1435 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1436 ::unity::il2cpp_call!((::unity::module_base()+0x32ddb50usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
1437(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1438 }
1439 }
1440 #[doc = "`GetMatrix(i32)` overload"]
1441 fn get_matrix_2(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1442 unsafe {
1443 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1444 ::unity::il2cpp_call!((::unity::module_base()+0x32ddc20usize)as*mut u8,crate::unity_engine::matrix4x4::Matrix4x4;
1445(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1446 }
1447 }
1448 #[doc = "`GetTexture(::unity::Il2CppString)` overload"]
1449 fn get_texture(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::texture::Texture {
1450 unsafe {
1451 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1452 ::unity::il2cpp_call!((::unity::module_base()+0x32d98f0usize)as*mut u8,crate::unity_engine::texture::Texture;
1453(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1454 }
1455 }
1456 #[doc = "`GetTexture(i32)` overload"]
1457 fn get_texture_2(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::texture::Texture {
1458 unsafe {
1459 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1460 ::unity::il2cpp_call!((::unity::module_base()+0x32d98a0usize)as*mut u8,crate::unity_engine::texture::Texture;
1461(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1462 }
1463 }
1464 #[doc = "`GetFloatArray(::unity::Il2CppString)` overload"]
1465 fn get_float_array(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<f32> {
1466 unsafe {
1467 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1468 ::unity::il2cpp_call!((::unity::module_base()+0x32ddce0usize)as*mut u8, ::unity::Array<f32> ;
1469(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1470 }
1471 }
1472 #[doc = "`GetFloatArray(i32)` overload"]
1473 fn get_float_array_2(self, name_id: impl ::core::convert::Into<i32>) -> ::unity::Array<f32> {
1474 unsafe {
1475 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1476 ::unity::il2cpp_call!((::unity::module_base()+0x32ddd90usize)as*mut u8, ::unity::Array<f32> ;
1477(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1478 }
1479 }
1480 #[doc = "`GetColorArray(::unity::Il2CppString)` overload"]
1481 fn get_color_array(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<crate::unity_engine::color::Color> {
1482 unsafe {
1483 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1484 ::unity::il2cpp_call!((::unity::module_base()+0x32dde40usize)as*mut u8, ::unity::Array<crate::unity_engine::color::Color> ;
1485(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1486 }
1487 }
1488 #[doc = "`GetColorArray(i32)` overload"]
1489 fn get_color_array_2(self, name_id: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::color::Color> {
1490 unsafe {
1491 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1492 ::unity::il2cpp_call!((::unity::module_base()+0x32ddef0usize)as*mut u8, ::unity::Array<crate::unity_engine::color::Color> ;
1493(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1494 }
1495 }
1496 #[doc = "`GetVectorArray(::unity::Il2CppString)` overload"]
1497 fn get_vector_array(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<crate::unity_engine::vector4::Vector4> {
1498 unsafe {
1499 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1500 ::unity::il2cpp_call!((::unity::module_base()+0x32ddfa0usize)as*mut u8, ::unity::Array<crate::unity_engine::vector4::Vector4> ;
1501(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1502 }
1503 }
1504 #[doc = "`GetVectorArray(i32)` overload"]
1505 fn get_vector_array_2(self, name_id: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::vector4::Vector4> {
1506 unsafe {
1507 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1508 ::unity::il2cpp_call!((::unity::module_base()+0x32de050usize)as*mut u8, ::unity::Array<crate::unity_engine::vector4::Vector4> ;
1509(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1510 }
1511 }
1512 #[doc = "`GetMatrixArray(::unity::Il2CppString)` overload"]
1513 fn get_matrix_array(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> {
1514 unsafe {
1515 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1516 ::unity::il2cpp_call!((::unity::module_base()+0x32de100usize)as*mut u8, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> ;
1517(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1518 }
1519 }
1520 #[doc = "`GetMatrixArray(i32)` overload"]
1521 fn get_matrix_array_2(self, name_id: impl ::core::convert::Into<i32>) -> ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> {
1522 unsafe {
1523 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1524 ::unity::il2cpp_call!((::unity::module_base()+0x32de1b0usize)as*mut u8, ::unity::Array<crate::unity_engine::matrix4x4::Matrix4x4> ;
1525(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1526 }
1527 }
1528 #[doc = "`GetFloatArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<f32>)` overload"]
1529 fn get_float_array_3(
1530 self,
1531 name: impl ::core::convert::Into<::unity::Il2CppString>,
1532 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<f32>>,
1533 ) -> () {
1534 unsafe {
1535 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1536 ::unity::il2cpp_call!((::unity::module_base()+0x32de260usize)as*mut u8,();
1537(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<f32>)::core::convert::Into::into(values))
1538 }
1539 }
1540 #[doc = "`GetFloatArray(i32, crate::system::collections::generic::list_1::List_1<f32>)` overload"]
1541 fn get_float_array_4(
1542 self,
1543 name_id: impl ::core::convert::Into<i32>,
1544 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<f32>>,
1545 ) -> () {
1546 unsafe {
1547 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1548 ::unity::il2cpp_call!((::unity::module_base()+0x32de2a0usize)as*mut u8,();
1549(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<f32>)::core::convert::Into::into(values))
1550 }
1551 }
1552 #[doc = "`GetColorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
1553 fn get_color_array_3(
1554 self,
1555 name: impl ::core::convert::Into<::unity::Il2CppString>,
1556 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>,
1557 ) -> () {
1558 unsafe {
1559 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1560 ::unity::il2cpp_call!((::unity::module_base()+0x32de2b0usize)as*mut u8,();
1561(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1562 }
1563 }
1564 #[doc = "`GetColorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)` overload"]
1565 fn get_color_array_4(
1566 self,
1567 name_id: impl ::core::convert::Into<i32>,
1568 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>>,
1569 ) -> () {
1570 unsafe {
1571 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1572 ::unity::il2cpp_call!((::unity::module_base()+0x32de2f0usize)as*mut u8,();
1573(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color::Color>)::core::convert::Into::into(values))
1574 }
1575 }
1576 #[doc = "`GetVectorArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
1577 fn get_vector_array_3(
1578 self,
1579 name: impl ::core::convert::Into<::unity::Il2CppString>,
1580 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
1581 ) -> () {
1582 unsafe {
1583 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1584 ::unity::il2cpp_call!((::unity::module_base()+0x32de300usize)as*mut u8,();
1585(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1586 }
1587 }
1588 #[doc = "`GetVectorArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
1589 fn get_vector_array_4(
1590 self,
1591 name_id: impl ::core::convert::Into<i32>,
1592 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
1593 ) -> () {
1594 unsafe {
1595 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1596 ::unity::il2cpp_call!((::unity::module_base()+0x32de340usize)as*mut u8,();
1597(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(values))
1598 }
1599 }
1600 #[doc = "`GetMatrixArray(::unity::Il2CppString, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1601 fn get_matrix_array_3(
1602 self,
1603 name: impl ::core::convert::Into<::unity::Il2CppString>,
1604 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>>,
1605 ) -> () {
1606 unsafe {
1607 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1608 ::unity::il2cpp_call!((::unity::module_base()+0x32de350usize)as*mut u8,();
1609(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1610 }
1611 }
1612 #[doc = "`GetMatrixArray(i32, crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)` overload"]
1613 fn get_matrix_array_4(
1614 self,
1615 name_id: impl ::core::convert::Into<i32>,
1616 values: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>>,
1617 ) -> () {
1618 unsafe {
1619 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1620 ::unity::il2cpp_call!((::unity::module_base()+0x32de390usize)as*mut u8,();
1621(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::matrix4x4::Matrix4x4>)::core::convert::Into::into(values))
1622 }
1623 }
1624 #[doc = "`SetTextureOffset(::unity::Il2CppString, crate::unity_engine::vector2::Vector2)` overload"]
1625 fn set_texture_offset(
1626 self,
1627 name: impl ::core::convert::Into<::unity::Il2CppString>,
1628 value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1629 ) -> () {
1630 unsafe {
1631 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1632 ::unity::il2cpp_call!((::unity::module_base()+0x32d9e40usize)as*mut u8,();
1633(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
1634 }
1635 }
1636 #[doc = "`SetTextureOffset(i32, crate::unity_engine::vector2::Vector2)` overload"]
1637 fn set_texture_offset_2(
1638 self,
1639 name_id: impl ::core::convert::Into<i32>,
1640 value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1641 ) -> () {
1642 unsafe {
1643 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1644 ::unity::il2cpp_call!((::unity::module_base()+0x32d9de0usize)as*mut u8,();
1645(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
1646 }
1647 }
1648 #[doc = "`SetTextureScale(::unity::Il2CppString, crate::unity_engine::vector2::Vector2)` overload"]
1649 fn set_texture_scale(
1650 self,
1651 name: impl ::core::convert::Into<::unity::Il2CppString>,
1652 value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1653 ) -> () {
1654 unsafe {
1655 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1656 ::unity::il2cpp_call!((::unity::module_base()+0x32da1f0usize)as*mut u8,();
1657(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
1658 }
1659 }
1660 #[doc = "`SetTextureScale(i32, crate::unity_engine::vector2::Vector2)` overload"]
1661 fn set_texture_scale_2(
1662 self,
1663 name_id: impl ::core::convert::Into<i32>,
1664 value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>,
1665 ) -> () {
1666 unsafe {
1667 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1668 ::unity::il2cpp_call!((::unity::module_base()+0x32da190usize)as*mut u8,();
1669(Material)__receiver,(i32)::core::convert::Into::into(name_id),(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
1670 }
1671 }
1672 #[doc = "`GetTextureOffset(::unity::Il2CppString)` overload"]
1673 fn get_texture_offset(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::vector2::Vector2 {
1674 unsafe {
1675 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1676 ::unity::il2cpp_call!((::unity::module_base()+0x32d9c70usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1677(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1678 }
1679 }
1680 #[doc = "`GetTextureOffset(i32)` overload"]
1681 fn get_texture_offset_2(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector2::Vector2 {
1682 unsafe {
1683 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1684 ::unity::il2cpp_call!((::unity::module_base()+0x32d9c00usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1685(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1686 }
1687 }
1688 #[doc = "`GetTextureScale(::unity::Il2CppString)` overload"]
1689 fn get_texture_scale(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::unity_engine::vector2::Vector2 {
1690 unsafe {
1691 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1692 ::unity::il2cpp_call!((::unity::module_base()+0x32da020usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1693(Material)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
1694 }
1695 }
1696 #[doc = "`GetTextureScale(i32)` overload"]
1697 fn get_texture_scale_2(self, name_id: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector2::Vector2 {
1698 unsafe {
1699 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1700 ::unity::il2cpp_call!((::unity::module_base()+0x32d9fb0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
1701(Material)__receiver,(i32)::core::convert::Into::into(name_id))
1702 }
1703 }
1704 #[doc = "`SetColorImpl_Injected(i32, *mutcrate::unity_engine::color::Color)` overload"]
1705 fn set_color_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::color::Color {
1706 unsafe {
1707 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1708 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1709 ::unity::il2cpp_call!((::unity::module_base()+0x32db050usize)as*mut u8,();
1710(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1711 __out_0.assume_init()
1712 }
1713 }
1714 #[doc = "`SetMatrixImpl_Injected(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1715 fn set_matrix_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1716 unsafe {
1717 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1718 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1719 ::unity::il2cpp_call!((::unity::module_base()+0x32db110usize)as*mut u8,();
1720(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr());
1721 __out_0.assume_init()
1722 }
1723 }
1724 #[doc = "`GetColorImpl_Injected(i32, *mutcrate::unity_engine::color::Color)` overload"]
1725 fn get_color_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::color::Color {
1726 unsafe {
1727 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1728 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
1729 ::unity::il2cpp_call!((::unity::module_base()+0x32db4a0usize)as*mut u8,();
1730(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
1731 __out_0.assume_init()
1732 }
1733 }
1734 #[doc = "`GetMatrixImpl_Injected(i32, *mutcrate::unity_engine::matrix4x4::Matrix4x4)` overload"]
1735 fn get_matrix_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::matrix4x4::Matrix4x4 {
1736 unsafe {
1737 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1738 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::matrix4x4::Matrix4x4>::uninit();
1739 ::unity::il2cpp_call!((::unity::module_base()+0x32db5a0usize)as*mut u8,();
1740(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::matrix4x4::Matrix4x4)__out_0.as_mut_ptr());
1741 __out_0.assume_init()
1742 }
1743 }
1744 #[doc = "`GetTextureScaleAndOffsetImpl_Injected(i32, *mutcrate::unity_engine::vector4::Vector4)` overload"]
1745 fn get_texture_scale_and_offset_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector4::Vector4 {
1746 unsafe {
1747 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1748 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector4::Vector4>::uninit();
1749 ::unity::il2cpp_call!((::unity::module_base()+0x32dbc80usize)as*mut u8,();
1750(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::vector4::Vector4)__out_0.as_mut_ptr());
1751 __out_0.assume_init()
1752 }
1753 }
1754 #[doc = "`SetTextureOffsetImpl_Injected(i32, *mutcrate::unity_engine::vector2::Vector2)` overload"]
1755 fn set_texture_offset_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector2::Vector2 {
1756 unsafe {
1757 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1758 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
1759 ::unity::il2cpp_call!((::unity::module_base()+0x32dbd40usize)as*mut u8,();
1760(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
1761 __out_0.assume_init()
1762 }
1763 }
1764 #[doc = "`SetTextureScaleImpl_Injected(i32, *mutcrate::unity_engine::vector2::Vector2)` overload"]
1765 fn set_texture_scale_impl_injected(self, name: impl ::core::convert::Into<i32>) -> crate::unity_engine::vector2::Vector2 {
1766 unsafe {
1767 let __receiver = <Material as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1768 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
1769 ::unity::il2cpp_call!((::unity::module_base()+0x32dbe00usize)as*mut u8,();
1770(Material)__receiver,(i32)::core::convert::Into::into(name),(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
1771 __out_0.assume_init()
1772 }
1773 }
1774}
1775
1776#[cfg(feature = "unity_engine-material")]
1777impl<__T: IMaterial> IMaterialMethods for __T {}
1778
1779#[cfg(feature = "unity_engine-material")]
1780impl Material {
1781 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1782 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1783 }
1784
1785 pub fn create_with_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1786 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1787 }
1788
1789 pub fn create_with_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1790 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1791 }
1792
1793 pub fn create_with_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1794 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1795 }
1796
1797 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1798 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1799 }
1800
1801 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1802 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1803 }
1804
1805 pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1806 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1807 }
1808
1809 pub fn get_default_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1810 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1811 }
1812
1813 pub fn get_default_particle_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1814 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1815 }
1816
1817 pub fn get_default_line_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1818 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1819 }
1820
1821 pub fn get_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1822 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1823 }
1824
1825 pub fn set_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1826 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1827 }
1828
1829 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1830 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1831 }
1832
1833 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1834 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1835 }
1836
1837 pub fn get_main_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1838 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1839 }
1840
1841 pub fn set_main_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1842 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1843 }
1844
1845 pub fn get_main_texture_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1846 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1847 }
1848
1849 pub fn set_main_texture_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1850 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1851 }
1852
1853 pub fn get_main_texture_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1854 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1855 }
1856
1857 pub fn set_main_texture_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1858 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1859 }
1860
1861 pub fn get_first_property_name_id_by_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1862 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1863 }
1864
1865 pub fn has_property_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1866 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1867 }
1868
1869 pub fn has_property_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1870 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1871 }
1872
1873 pub fn get_render_queue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1874 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1875 }
1876
1877 pub fn set_render_queue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1878 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1879 }
1880
1881 pub fn get_raw_render_queue_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1882 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1883 }
1884
1885 pub fn enable_keyword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1886 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1887 }
1888
1889 pub fn disable_keyword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1890 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1891 }
1892
1893 pub fn is_keyword_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1894 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1895 }
1896
1897 pub fn get_global_illumination_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1898 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1899 }
1900
1901 pub fn set_global_illumination_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1902 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1903 }
1904
1905 pub fn get_double_sided_gi_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1906 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1907 }
1908
1909 pub fn set_double_sided_gi_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1910 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1911 }
1912
1913 pub fn get_enable_instancing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1914 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1915 }
1916
1917 pub fn set_enable_instancing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1918 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1919 }
1920
1921 pub fn get_pass_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1922 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1923 }
1924
1925 pub fn set_shader_pass_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1926 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1927 }
1928
1929 pub fn get_shader_pass_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1930 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1931 }
1932
1933 pub fn get_pass_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1934 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1935 }
1936
1937 pub fn find_pass_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1938 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1939 }
1940
1941 pub fn set_override_tag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1942 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1943 }
1944
1945 pub fn get_tag_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1946 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1947 }
1948
1949 pub fn get_tag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1950 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1951 }
1952
1953 pub fn get_tag_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1954 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1955 }
1956
1957 pub fn lerp_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1958 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1959 }
1960
1961 pub fn set_pass_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1962 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1963 }
1964
1965 pub fn copy_properties_from_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1966 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1967 }
1968
1969 pub fn get_shader_keywords_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1970 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1971 }
1972
1973 pub fn set_shader_keywords_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1974 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1975 }
1976
1977 pub fn compute_crc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1979 }
1980
1981 pub fn get_texture_property_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1983 }
1984
1985 pub fn get_texture_property_name_i_ds_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1987 }
1988
1989 pub fn get_texture_property_names_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1991 }
1992
1993 pub fn get_texture_property_name_i_ds_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1995 }
1996
1997 pub fn get_texture_property_names_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1999 }
2000
2001 pub fn get_texture_property_name_i_ds_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
2003 }
2004
2005 pub fn set_float_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
2007 }
2008
2009 pub fn set_color_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
2011 }
2012
2013 pub fn set_matrix_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
2015 }
2016
2017 pub fn set_texture_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
2019 }
2020
2021 pub fn set_render_texture_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
2023 }
2024
2025 pub fn set_buffer_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
2027 }
2028
2029 pub fn set_graphics_buffer_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
2031 }
2032
2033 pub fn set_constant_buffer_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
2035 }
2036
2037 pub fn set_constant_graphics_buffer_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
2039 }
2040
2041 pub fn get_float_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
2043 }
2044
2045 pub fn get_color_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
2047 }
2048
2049 pub fn get_matrix_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
2051 }
2052
2053 pub fn get_texture_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
2055 }
2056
2057 pub fn set_float_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
2059 }
2060
2061 pub fn set_vector_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
2063 }
2064
2065 pub fn set_color_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
2067 }
2068
2069 pub fn set_matrix_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
2071 }
2072
2073 pub fn get_float_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
2075 }
2076
2077 pub fn get_vector_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
2079 }
2080
2081 pub fn get_color_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
2083 }
2084
2085 pub fn get_matrix_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
2087 }
2088
2089 pub fn get_float_array_count_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
2091 }
2092
2093 pub fn get_vector_array_count_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2094 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
2095 }
2096
2097 pub fn get_color_array_count_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
2099 }
2100
2101 pub fn get_matrix_array_count_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
2103 }
2104
2105 pub fn extract_float_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
2107 }
2108
2109 pub fn extract_vector_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
2111 }
2112
2113 pub fn extract_color_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
2115 }
2116
2117 pub fn extract_matrix_array_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
2119 }
2120
2121 pub fn get_texture_scale_and_offset_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
2123 }
2124
2125 pub fn set_texture_offset_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
2127 }
2128
2129 pub fn set_texture_scale_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
2131 }
2132
2133 pub fn set_float_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
2135 }
2136
2137 pub fn set_vector_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
2139 }
2140
2141 pub fn set_color_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
2143 }
2144
2145 pub fn set_matrix_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
2147 }
2148
2149 pub fn extract_float_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
2151 }
2152
2153 pub fn extract_vector_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
2155 }
2156
2157 pub fn extract_color_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
2159 }
2160
2161 pub fn extract_matrix_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
2163 }
2164
2165 pub fn set_float_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
2167 }
2168
2169 pub fn set_float_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
2171 }
2172
2173 pub fn set_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
2175 }
2176
2177 pub fn set_int_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
2179 }
2180
2181 pub fn set_color_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
2183 }
2184
2185 pub fn set_color_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[103]
2187 }
2188
2189 pub fn set_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[104]
2191 }
2192
2193 pub fn set_vector_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[105]
2195 }
2196
2197 pub fn set_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[106]
2199 }
2200
2201 pub fn set_matrix_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[107]
2203 }
2204
2205 pub fn set_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[108]
2207 }
2208
2209 pub fn set_texture_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[109]
2211 }
2212
2213 pub fn set_texture_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[110]
2215 }
2216
2217 pub fn set_texture_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[111]
2219 }
2220
2221 pub fn set_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[112]
2223 }
2224
2225 pub fn set_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[113]
2227 }
2228
2229 pub fn set_buffer_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[114]
2231 }
2232
2233 pub fn set_buffer_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[115]
2235 }
2236
2237 pub fn set_constant_buffer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[116]
2239 }
2240
2241 pub fn set_constant_buffer_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[117]
2243 }
2244
2245 pub fn set_constant_buffer_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[118]
2247 }
2248
2249 pub fn set_constant_buffer_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[119]
2251 }
2252
2253 pub fn set_float_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[120]
2255 }
2256
2257 pub fn set_float_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[121]
2259 }
2260
2261 pub fn set_float_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[122]
2263 }
2264
2265 pub fn set_float_array_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[123]
2267 }
2268
2269 pub fn set_color_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[124]
2271 }
2272
2273 pub fn set_color_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[125]
2275 }
2276
2277 pub fn set_color_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[126]
2279 }
2280
2281 pub fn set_color_array_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[127]
2283 }
2284
2285 pub fn set_vector_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[128]
2287 }
2288
2289 pub fn set_vector_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[129]
2291 }
2292
2293 pub fn set_vector_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[130]
2295 }
2296
2297 pub fn set_vector_array_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2298 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[131]
2299 }
2300
2301 pub fn set_matrix_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2302 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[132]
2303 }
2304
2305 pub fn set_matrix_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2306 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[133]
2307 }
2308
2309 pub fn set_matrix_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2310 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[134]
2311 }
2312
2313 pub fn set_matrix_array_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2314 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[135]
2315 }
2316
2317 pub fn get_float_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2318 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[136]
2319 }
2320
2321 pub fn get_float_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2322 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[137]
2323 }
2324
2325 pub fn get_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2326 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[138]
2327 }
2328
2329 pub fn get_int_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2330 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[139]
2331 }
2332
2333 pub fn get_color_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[140]
2335 }
2336
2337 pub fn get_color_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2338 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[141]
2339 }
2340
2341 pub fn get_vector_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2342 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[142]
2343 }
2344
2345 pub fn get_vector_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2346 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[143]
2347 }
2348
2349 pub fn get_matrix_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2350 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[144]
2351 }
2352
2353 pub fn get_matrix_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2354 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[145]
2355 }
2356
2357 pub fn get_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2358 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[146]
2359 }
2360
2361 pub fn get_texture_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2362 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[147]
2363 }
2364
2365 pub fn get_float_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2366 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[148]
2367 }
2368
2369 pub fn get_float_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[149]
2371 }
2372
2373 pub fn get_color_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[150]
2375 }
2376
2377 pub fn get_color_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[151]
2379 }
2380
2381 pub fn get_vector_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[152]
2383 }
2384
2385 pub fn get_vector_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[153]
2387 }
2388
2389 pub fn get_matrix_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[154]
2391 }
2392
2393 pub fn get_matrix_array_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[155]
2395 }
2396
2397 pub fn get_float_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[156]
2399 }
2400
2401 pub fn get_float_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[157]
2403 }
2404
2405 pub fn get_color_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[158]
2407 }
2408
2409 pub fn get_color_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[159]
2411 }
2412
2413 pub fn get_vector_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[160]
2415 }
2416
2417 pub fn get_vector_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[161]
2419 }
2420
2421 pub fn get_matrix_array_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[162]
2423 }
2424
2425 pub fn get_matrix_array_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[163]
2427 }
2428
2429 pub fn set_texture_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2430 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[164]
2431 }
2432
2433 pub fn set_texture_offset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2434 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[165]
2435 }
2436
2437 pub fn set_texture_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2438 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[166]
2439 }
2440
2441 pub fn set_texture_scale_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2442 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[167]
2443 }
2444
2445 pub fn get_texture_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2446 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[168]
2447 }
2448
2449 pub fn get_texture_offset_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[169]
2451 }
2452
2453 pub fn get_texture_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[170]
2455 }
2456
2457 pub fn get_texture_scale_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[171]
2459 }
2460
2461 pub fn set_color_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[172]
2463 }
2464
2465 pub fn set_matrix_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[173]
2467 }
2468
2469 pub fn get_color_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[174]
2471 }
2472
2473 pub fn get_matrix_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[175]
2475 }
2476
2477 pub fn get_texture_scale_and_offset_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[176]
2479 }
2480
2481 pub fn set_texture_offset_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[177]
2483 }
2484
2485 pub fn set_texture_scale_impl_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[178]
2487 }
2488}
2489
2490#[cfg(feature = "unity_engine-material")]
2491impl Material {
2492 #[doc = "`.ctor(crate::unity_engine::shader::Shader)` — overload selector"]
2493 pub fn new(shader: crate::unity_engine::shader::Shader) -> Self {
2494 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2495 panic!(
2496 "{}
2497::{}
2498 failed to instantiate",
2499 ::core::stringify!(Material),
2500 ::core::stringify!(new),
2501 )
2502 });
2503 <Self as IMaterialMethods>::ctor(this, shader);
2504 this
2505 }
2506
2507 #[doc = "`.ctor(crate::unity_engine::material::Material)` — overload selector"]
2508 pub fn new_2(source: crate::unity_engine::material::Material) -> Self {
2509 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2510 panic!(
2511 "{}
2512::{}
2513 failed to instantiate",
2514 ::core::stringify!(Material),
2515 ::core::stringify!(new_2),
2516 )
2517 });
2518 <Self as IMaterialMethods>::ctor_2(this, source);
2519 this
2520 }
2521
2522 #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
2523 pub fn new_3(contents: ::unity::Il2CppString) -> Self {
2524 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2525 panic!(
2526 "{}
2527::{}
2528 failed to instantiate",
2529 ::core::stringify!(Material),
2530 ::core::stringify!(new_3),
2531 )
2532 });
2533 <Self as IMaterialMethods>::ctor_3(this, contents);
2534 this
2535 }
2536}
2537
2538#[cfg(feature = "unity_engine-material")]
2539#[doc(hidden)]
2540pub mod prelude {
2541 pub use super::{IMaterial, IMaterialMethods, Material};
2542 #[cfg(feature = "system-object")]
2543 pub use crate::system::object::IObjectMethods;
2544 #[cfg(feature = "unity_engine-object_2")]
2545 pub use crate::unity_engine::object_2::IObject_2Methods;
2546 pub use crate::{system::object::IObject, unity_engine::object_2::IObject_2};
2547}