1#[cfg(feature = "unity_engine-particlesystemrenderer-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 component::{Component, IComponent},
12 object_2::{IObject_2, Object_2},
13 renderer::{IRenderer, Renderer},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/particlesystemrenderer/ParticleSystemRenderer.md"))]
18 #[::unity::class(namespace = "UnityEngine", name = "ParticleSystemRenderer")]
19 #[parent(crate::unity_engine::renderer::Renderer)]
20 pub struct ParticleSystemRenderer {}
21}
22
23#[cfg(feature = "unity_engine-particlesystemrenderer-types")]
24pub use __types::*;
25
26#[cfg(feature = "unity_engine-particlesystemrenderer")]
27pub trait IParticleSystemRendererMethods: IParticleSystemRenderer {
28 #[doc = "`EnableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)` overload"]
29 fn enable_vertex_streams(
30 self,
31 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
32 ) -> () {
33 unsafe {
34 let __receiver =
35 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
36 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0e50usize)as*mut u8,();
37(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams))
38 }
39 }
40 #[doc = "`DisableVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)` overload"]
41 fn disable_vertex_streams(
42 self,
43 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
44 ) -> () {
45 unsafe {
46 let __receiver =
47 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
48 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1520usize)as*mut u8,();
49(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams))
50 }
51 }
52 #[doc = "`AreVertexStreamsEnabled(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)` overload"]
53 fn are_vertex_streams_enabled(
54 self,
55 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
56 ) -> bool {
57 unsafe {
58 let __receiver =
59 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1530usize)as*mut u8,bool;
61(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams))
62 }
63 }
64 #[doc = "`GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)` overload"]
65 fn get_enabled_vertex_streams(
66 self,
67 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
68 ) -> crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams {
69 unsafe {
70 let __receiver =
71 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72 ::unity::il2cpp_call!((::unity::module_base()+0x3ee17e0usize)as*mut u8,crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams;
73(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams))
74 }
75 }
76 #[doc = "`Internal_SetVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams, bool)` overload"]
77 fn internal_set_vertex_streams(
78 self,
79 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
80 enabled: impl ::core::convert::Into<bool>,
81 ) -> () {
82 unsafe {
83 let __receiver =
84 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0e60usize)as*mut u8,();
86(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams),(bool)::core::convert::Into::into(enabled))
87 }
88 }
89 #[doc = "`Internal_GetEnabledVertexStreams(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)` overload"]
90 fn internal_get_enabled_vertex_streams(
91 self,
92 streams: impl ::core::convert::Into<crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams>,
93 ) -> crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams {
94 unsafe {
95 let __receiver =
96 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1560usize)as*mut u8,crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams;
98(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemvertexstreams::ParticleSystemVertexStreams)::core::convert::Into::into(streams))
99 }
100 }
101 #[doc = "`get_alignment()` overload"]
102 fn get_alignment(self) -> crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace {
103 unsafe {
104 let __receiver =
105 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
106 ::unity::il2cpp_call!((::unity::module_base()+0x3ee18e0usize)as*mut u8,crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace;
107(ParticleSystemRenderer)__receiver)
108 }
109 }
110 #[doc = "`set_alignment(crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace)` overload"]
111 fn set_alignment(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace>) -> () {
112 unsafe {
113 let __receiver =
114 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1930usize)as*mut u8,();
116(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemrenderspace::ParticleSystemRenderSpace)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_renderMode()` overload"]
120 fn get_render_mode(self) -> crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode {
121 unsafe {
122 let __receiver =
123 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
124 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1980usize)as*mut u8,crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode;
125(ParticleSystemRenderer)__receiver)
126 }
127 }
128 #[doc = "`set_renderMode(crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode)` overload"]
129 fn set_render_mode(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode>) -> () {
130 unsafe {
131 let __receiver =
132 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133 ::unity::il2cpp_call!((::unity::module_base()+0x3ee19d0usize)as*mut u8,();
134(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemrendermode::ParticleSystemRenderMode)::core::convert::Into::into(value))
135 }
136 }
137 #[doc = "`get_sortMode()` overload"]
138 fn get_sort_mode(self) -> crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode {
139 unsafe {
140 let __receiver =
141 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1a20usize)as*mut u8,crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode;
143(ParticleSystemRenderer)__receiver)
144 }
145 }
146 #[doc = "`set_sortMode(crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode)` overload"]
147 fn set_sort_mode(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode>) -> () {
148 unsafe {
149 let __receiver =
150 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1a70usize)as*mut u8,();
152(ParticleSystemRenderer)__receiver,(crate::unity_engine::particlesystemsortmode::ParticleSystemSortMode)::core::convert::Into::into(value))
153 }
154 }
155 #[doc = "`get_lengthScale()` overload"]
156 fn get_length_scale(self) -> f32 {
157 unsafe {
158 let __receiver =
159 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1ac0usize)as*mut u8,f32;
161(ParticleSystemRenderer)__receiver)
162 }
163 }
164 #[doc = "`set_lengthScale(f32)` overload"]
165 fn set_length_scale(self, value: impl ::core::convert::Into<f32>) -> () {
166 unsafe {
167 let __receiver =
168 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1b10usize)as*mut u8,();
170(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
171 }
172 }
173 #[doc = "`get_velocityScale()` overload"]
174 fn get_velocity_scale(self) -> f32 {
175 unsafe {
176 let __receiver =
177 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1b60usize)as*mut u8,f32;
179(ParticleSystemRenderer)__receiver)
180 }
181 }
182 #[doc = "`set_velocityScale(f32)` overload"]
183 fn set_velocity_scale(self, value: impl ::core::convert::Into<f32>) -> () {
184 unsafe {
185 let __receiver =
186 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1bb0usize)as*mut u8,();
188(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
189 }
190 }
191 #[doc = "`get_cameraVelocityScale()` overload"]
192 fn get_camera_velocity_scale(self) -> f32 {
193 unsafe {
194 let __receiver =
195 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1c00usize)as*mut u8,f32;
197(ParticleSystemRenderer)__receiver)
198 }
199 }
200 #[doc = "`set_cameraVelocityScale(f32)` overload"]
201 fn set_camera_velocity_scale(self, value: impl ::core::convert::Into<f32>) -> () {
202 unsafe {
203 let __receiver =
204 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1c50usize)as*mut u8,();
206(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
207 }
208 }
209 #[doc = "`get_normalDirection()` overload"]
210 fn get_normal_direction(self) -> f32 {
211 unsafe {
212 let __receiver =
213 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1ca0usize)as*mut u8,f32;
215(ParticleSystemRenderer)__receiver)
216 }
217 }
218 #[doc = "`set_normalDirection(f32)` overload"]
219 fn set_normal_direction(self, value: impl ::core::convert::Into<f32>) -> () {
220 unsafe {
221 let __receiver =
222 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
223 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1cf0usize)as*mut u8,();
224(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
225 }
226 }
227 #[doc = "`get_shadowBias()` overload"]
228 fn get_shadow_bias(self) -> f32 {
229 unsafe {
230 let __receiver =
231 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
232 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1d40usize)as*mut u8,f32;
233(ParticleSystemRenderer)__receiver)
234 }
235 }
236 #[doc = "`set_shadowBias(f32)` overload"]
237 fn set_shadow_bias(self, value: impl ::core::convert::Into<f32>) -> () {
238 unsafe {
239 let __receiver =
240 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1d90usize)as*mut u8,();
242(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
243 }
244 }
245 #[doc = "`get_sortingFudge()` overload"]
246 fn get_sorting_fudge(self) -> f32 {
247 unsafe {
248 let __receiver =
249 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1de0usize)as*mut u8,f32;
251(ParticleSystemRenderer)__receiver)
252 }
253 }
254 #[doc = "`set_sortingFudge(f32)` overload"]
255 fn set_sorting_fudge(self, value: impl ::core::convert::Into<f32>) -> () {
256 unsafe {
257 let __receiver =
258 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1e30usize)as*mut u8,();
260(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
261 }
262 }
263 #[doc = "`get_minParticleSize()` overload"]
264 fn get_min_particle_size(self) -> f32 {
265 unsafe {
266 let __receiver =
267 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1e80usize)as*mut u8,f32;
269(ParticleSystemRenderer)__receiver)
270 }
271 }
272 #[doc = "`set_minParticleSize(f32)` overload"]
273 fn set_min_particle_size(self, value: impl ::core::convert::Into<f32>) -> () {
274 unsafe {
275 let __receiver =
276 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1ed0usize)as*mut u8,();
278(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
279 }
280 }
281 #[doc = "`get_maxParticleSize()` overload"]
282 fn get_max_particle_size(self) -> f32 {
283 unsafe {
284 let __receiver =
285 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1f20usize)as*mut u8,f32;
287(ParticleSystemRenderer)__receiver)
288 }
289 }
290 #[doc = "`set_maxParticleSize(f32)` overload"]
291 fn set_max_particle_size(self, value: impl ::core::convert::Into<f32>) -> () {
292 unsafe {
293 let __receiver =
294 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1f70usize)as*mut u8,();
296(ParticleSystemRenderer)__receiver,(f32)::core::convert::Into::into(value))
297 }
298 }
299 #[doc = "`get_pivot()` overload"]
300 fn get_pivot(self) -> crate::unity_engine::vector3::Vector3 {
301 unsafe {
302 let __receiver =
303 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
304 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1fc0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
305(ParticleSystemRenderer)__receiver)
306 }
307 }
308 #[doc = "`set_pivot(crate::unity_engine::vector3::Vector3)` overload"]
309 fn set_pivot(self, value: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
310 unsafe {
311 let __receiver =
312 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
313 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2070usize)as*mut u8,();
314(ParticleSystemRenderer)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(value))
315 }
316 }
317 #[doc = "`get_flip()` overload"]
318 fn get_flip(self) -> crate::unity_engine::vector3::Vector3 {
319 unsafe {
320 let __receiver =
321 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2120usize)as*mut u8,crate::unity_engine::vector3::Vector3;
323(ParticleSystemRenderer)__receiver)
324 }
325 }
326 #[doc = "`set_flip(crate::unity_engine::vector3::Vector3)` overload"]
327 fn set_flip(self, value: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
328 unsafe {
329 let __receiver =
330 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331 ::unity::il2cpp_call!((::unity::module_base()+0x3ee21d0usize)as*mut u8,();
332(ParticleSystemRenderer)__receiver,(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(value))
333 }
334 }
335 #[doc = "`get_maskInteraction()` overload"]
336 fn get_mask_interaction(self) -> crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction {
337 unsafe {
338 let __receiver =
339 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2280usize)as*mut u8,crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction;
341(ParticleSystemRenderer)__receiver)
342 }
343 }
344 #[doc = "`set_maskInteraction(crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction)` overload"]
345 fn set_mask_interaction(self, value: impl ::core::convert::Into<crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction>) -> () {
346 unsafe {
347 let __receiver =
348 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
349 ::unity::il2cpp_call!((::unity::module_base()+0x3ee22d0usize)as*mut u8,();
350(ParticleSystemRenderer)__receiver,(crate::unity_engine::spritemaskinteraction::SpriteMaskInteraction)::core::convert::Into::into(value))
351 }
352 }
353 #[doc = "`get_trailMaterial()` overload"]
354 fn get_trail_material(self) -> crate::unity_engine::material::Material {
355 unsafe {
356 let __receiver =
357 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2320usize)as*mut u8,crate::unity_engine::material::Material;
359(ParticleSystemRenderer)__receiver)
360 }
361 }
362 #[doc = "`set_trailMaterial(crate::unity_engine::material::Material)` overload"]
363 fn set_trail_material(self, value: impl ::core::convert::Into<crate::unity_engine::material::Material>) -> () {
364 unsafe {
365 let __receiver =
366 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2370usize)as*mut u8,();
368(ParticleSystemRenderer)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(value))
369 }
370 }
371 #[doc = "`get_enableGPUInstancing()` overload"]
372 fn get_enable_gpu_instancing(self) -> bool {
373 unsafe {
374 let __receiver =
375 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x3ee23c0usize)as*mut u8,bool;
377(ParticleSystemRenderer)__receiver)
378 }
379 }
380 #[doc = "`set_enableGPUInstancing(bool)` overload"]
381 fn set_enable_gpu_instancing(self, value: impl ::core::convert::Into<bool>) -> () {
382 unsafe {
383 let __receiver =
384 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
385 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2410usize)as*mut u8,();
386(ParticleSystemRenderer)__receiver,(bool)::core::convert::Into::into(value))
387 }
388 }
389 #[doc = "`get_allowRoll()` overload"]
390 fn get_allow_roll(self) -> bool {
391 unsafe {
392 let __receiver =
393 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
394 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2460usize)as*mut u8,bool;
395(ParticleSystemRenderer)__receiver)
396 }
397 }
398 #[doc = "`set_allowRoll(bool)` overload"]
399 fn set_allow_roll(self, value: impl ::core::convert::Into<bool>) -> () {
400 unsafe {
401 let __receiver =
402 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 ::unity::il2cpp_call!((::unity::module_base()+0x3ee24b0usize)as*mut u8,();
404(ParticleSystemRenderer)__receiver,(bool)::core::convert::Into::into(value))
405 }
406 }
407 #[doc = "`get_freeformStretching()` overload"]
408 fn get_freeform_stretching(self) -> bool {
409 unsafe {
410 let __receiver =
411 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2500usize)as*mut u8,bool;
413(ParticleSystemRenderer)__receiver)
414 }
415 }
416 #[doc = "`set_freeformStretching(bool)` overload"]
417 fn set_freeform_stretching(self, value: impl ::core::convert::Into<bool>) -> () {
418 unsafe {
419 let __receiver =
420 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2550usize)as*mut u8,();
422(ParticleSystemRenderer)__receiver,(bool)::core::convert::Into::into(value))
423 }
424 }
425 #[doc = "`get_rotateWithStretchDirection()` overload"]
426 fn get_rotate_with_stretch_direction(self) -> bool {
427 unsafe {
428 let __receiver =
429 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x3ee25a0usize)as*mut u8,bool;
431(ParticleSystemRenderer)__receiver)
432 }
433 }
434 #[doc = "`set_rotateWithStretchDirection(bool)` overload"]
435 fn set_rotate_with_stretch_direction(self, value: impl ::core::convert::Into<bool>) -> () {
436 unsafe {
437 let __receiver =
438 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439 ::unity::il2cpp_call!((::unity::module_base()+0x3ee25f0usize)as*mut u8,();
440(ParticleSystemRenderer)__receiver,(bool)::core::convert::Into::into(value))
441 }
442 }
443 #[doc = "`get_mesh()` overload"]
444 fn get_mesh(self) -> crate::unity_engine::mesh::Mesh {
445 unsafe {
446 let __receiver =
447 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2640usize)as*mut u8,crate::unity_engine::mesh::Mesh;
449(ParticleSystemRenderer)__receiver)
450 }
451 }
452 #[doc = "`set_mesh(crate::unity_engine::mesh::Mesh)` overload"]
453 fn set_mesh(self, value: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>) -> () {
454 unsafe {
455 let __receiver =
456 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2690usize)as*mut u8,();
458(ParticleSystemRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(value))
459 }
460 }
461 #[doc = "`GetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>)` overload"]
462 fn get_meshes(self, meshes: impl ::core::convert::Into<::unity::Array<crate::unity_engine::mesh::Mesh>>) -> i32 {
463 unsafe {
464 let __receiver =
465 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466 ::unity::il2cpp_call!((::unity::module_base()+0x3ee26e0usize)as*mut u8,i32;
467(ParticleSystemRenderer)__receiver,(::unity::Array<crate::unity_engine::mesh::Mesh>)::core::convert::Into::into(meshes))
468 }
469 }
470 #[doc = "`SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>, i32)` overload"]
471 fn set_meshes(
472 self,
473 meshes: impl ::core::convert::Into<::unity::Array<crate::unity_engine::mesh::Mesh>>,
474 size: impl ::core::convert::Into<i32>,
475 ) -> () {
476 unsafe {
477 let __receiver =
478 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2730usize)as*mut u8,();
480(ParticleSystemRenderer)__receiver,(::unity::Array<crate::unity_engine::mesh::Mesh>)::core::convert::Into::into(meshes),(i32)::core::convert::Into::into(size))
481 }
482 }
483 #[doc = "`SetMeshes(::unity::Array<crate::unity_engine::mesh::Mesh>)` overload"]
484 fn set_meshes_2(self, meshes: impl ::core::convert::Into<::unity::Array<crate::unity_engine::mesh::Mesh>>) -> () {
485 unsafe {
486 let __receiver =
487 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2790usize)as*mut u8,();
489(ParticleSystemRenderer)__receiver,(::unity::Array<crate::unity_engine::mesh::Mesh>)::core::convert::Into::into(meshes))
490 }
491 }
492 #[doc = "`get_meshCount()` overload"]
493 fn get_mesh_count(self) -> i32 {
494 unsafe {
495 let __receiver =
496 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
497 ::unity::il2cpp_call!((::unity::module_base()+0x3ee27f0usize)as*mut u8,i32;
498(ParticleSystemRenderer)__receiver)
499 }
500 }
501 #[doc = "`BakeMesh(crate::unity_engine::mesh::Mesh, bool)` overload"]
502 fn bake_mesh(self, mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>, use_transform: impl ::core::convert::Into<bool>) -> () {
503 unsafe {
504 let __receiver =
505 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
506 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2840usize)as*mut u8,();
507(ParticleSystemRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(bool)::core::convert::Into::into(use_transform))
508 }
509 }
510 #[doc = "`BakeMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::camera::Camera, bool)` overload"]
511 fn bake_mesh_2(
512 self,
513 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
514 camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
515 use_transform: impl ::core::convert::Into<bool>,
516 ) -> () {
517 unsafe {
518 let __receiver =
519 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
520 ::unity::il2cpp_call!((::unity::module_base()+0x3ee28b0usize)as*mut u8,();
521(ParticleSystemRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(bool)::core::convert::Into::into(use_transform))
522 }
523 }
524 #[doc = "`BakeTrailsMesh(crate::unity_engine::mesh::Mesh, bool)` overload"]
525 fn bake_trails_mesh(
526 self,
527 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
528 use_transform: impl ::core::convert::Into<bool>,
529 ) -> () {
530 unsafe {
531 let __receiver =
532 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
533 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2920usize)as*mut u8,();
534(ParticleSystemRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(bool)::core::convert::Into::into(use_transform))
535 }
536 }
537 #[doc = "`BakeTrailsMesh(crate::unity_engine::mesh::Mesh, crate::unity_engine::camera::Camera, bool)` overload"]
538 fn bake_trails_mesh_2(
539 self,
540 mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>,
541 camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
542 use_transform: impl ::core::convert::Into<bool>,
543 ) -> () {
544 unsafe {
545 let __receiver =
546 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
547 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2990usize)as*mut u8,();
548(ParticleSystemRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(bool)::core::convert::Into::into(use_transform))
549 }
550 }
551 #[doc = "`get_activeVertexStreamsCount()` overload"]
552 fn get_active_vertex_streams_count(self) -> i32 {
553 unsafe {
554 let __receiver =
555 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556 ::unity::il2cpp_call!((::unity::module_base()+0x3ee17f0usize)as*mut u8,i32;
557(ParticleSystemRenderer)__receiver)
558 }
559 }
560 #[doc = "`SetActiveVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>)` overload"]
561 fn set_active_vertex_streams(
562 self,
563 streams: impl ::core::convert::Into<
564 crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>,
565 >,
566 ) -> () {
567 unsafe {
568 let __receiver =
569 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
570 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1890usize)as*mut u8,();
571(ParticleSystemRenderer)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>)::core::convert::Into::into(streams))
572 }
573 }
574 #[doc = "`GetActiveVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>)` overload"]
575 fn get_active_vertex_streams(
576 self,
577 streams: impl ::core::convert::Into<
578 crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>,
579 >,
580 ) -> () {
581 unsafe {
582 let __receiver =
583 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
584 ::unity::il2cpp_call!((::unity::module_base()+0x3ee1840usize)as*mut u8,();
585(ParticleSystemRenderer)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::particlesystemvertexstream::ParticleSystemVertexStream>)::core::convert::Into::into(streams))
586 }
587 }
588 #[doc = "`.ctor()` overload"]
589 fn ctor(self) -> () {
590 unsafe {
591 let __receiver =
592 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2a00usize)as*mut u8,();
594(ParticleSystemRenderer)__receiver)
595 }
596 }
597 #[doc = "`get_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3)` overload"]
598 fn get_pivot_injected(self) -> crate::unity_engine::vector3::Vector3 {
599 unsafe {
600 let __receiver =
601 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
602 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
603 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2020usize)as*mut u8,();
604(ParticleSystemRenderer)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr());
605 __out_0.assume_init()
606 }
607 }
608 #[doc = "`set_pivot_Injected(*mutcrate::unity_engine::vector3::Vector3)` overload"]
609 fn set_pivot_injected(self) -> crate::unity_engine::vector3::Vector3 {
610 unsafe {
611 let __receiver =
612 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
613 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
614 ::unity::il2cpp_call!((::unity::module_base()+0x3ee20d0usize)as*mut u8,();
615(ParticleSystemRenderer)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr());
616 __out_0.assume_init()
617 }
618 }
619 #[doc = "`get_flip_Injected(*mutcrate::unity_engine::vector3::Vector3)` overload"]
620 fn get_flip_injected(self) -> crate::unity_engine::vector3::Vector3 {
621 unsafe {
622 let __receiver =
623 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
624 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
625 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2180usize)as*mut u8,();
626(ParticleSystemRenderer)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr());
627 __out_0.assume_init()
628 }
629 }
630 #[doc = "`set_flip_Injected(*mutcrate::unity_engine::vector3::Vector3)` overload"]
631 fn set_flip_injected(self) -> crate::unity_engine::vector3::Vector3 {
632 unsafe {
633 let __receiver =
634 <ParticleSystemRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
635 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector3::Vector3>::uninit();
636 ::unity::il2cpp_call!((::unity::module_base()+0x3ee2230usize)as*mut u8,();
637(ParticleSystemRenderer)__receiver,(*mut crate::unity_engine::vector3::Vector3)__out_0.as_mut_ptr());
638 __out_0.assume_init()
639 }
640 }
641}
642
643#[cfg(feature = "unity_engine-particlesystemrenderer")]
644impl<__T: IParticleSystemRenderer> IParticleSystemRendererMethods for __T {}
645
646#[cfg(feature = "unity_engine-particlesystemrenderer")]
647impl ParticleSystemRenderer {
648 pub fn enable_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
650 }
651
652 pub fn disable_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
654 }
655
656 pub fn are_vertex_streams_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
658 }
659
660 pub fn get_enabled_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
662 }
663
664 pub fn internal_set_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
666 }
667
668 pub fn internal_get_enabled_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
670 }
671
672 pub fn get_alignment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
674 }
675
676 pub fn set_alignment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
678 }
679
680 pub fn get_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
682 }
683
684 pub fn set_render_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
686 }
687
688 pub fn get_sort_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
690 }
691
692 pub fn set_sort_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
694 }
695
696 pub fn get_length_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
698 }
699
700 pub fn set_length_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
702 }
703
704 pub fn get_velocity_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
706 }
707
708 pub fn set_velocity_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
710 }
711
712 pub fn get_camera_velocity_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
714 }
715
716 pub fn set_camera_velocity_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
718 }
719
720 pub fn get_normal_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
722 }
723
724 pub fn set_normal_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
726 }
727
728 pub fn get_shadow_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
730 }
731
732 pub fn set_shadow_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
734 }
735
736 pub fn get_sorting_fudge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
738 }
739
740 pub fn set_sorting_fudge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
742 }
743
744 pub fn get_min_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
746 }
747
748 pub fn set_min_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
750 }
751
752 pub fn get_max_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
754 }
755
756 pub fn set_max_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
758 }
759
760 pub fn get_pivot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
762 }
763
764 pub fn set_pivot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
766 }
767
768 pub fn get_flip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
770 }
771
772 pub fn set_flip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
774 }
775
776 pub fn get_mask_interaction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
778 }
779
780 pub fn set_mask_interaction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
782 }
783
784 pub fn get_trail_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
786 }
787
788 pub fn set_trail_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
789 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
790 }
791
792 pub fn get_enable_gpu_instancing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
793 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
794 }
795
796 pub fn set_enable_gpu_instancing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
797 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
798 }
799
800 pub fn get_allow_roll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
801 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
802 }
803
804 pub fn set_allow_roll_method_info() -> &'static ::unity::il2cpp::MethodInfo {
805 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
806 }
807
808 pub fn get_freeform_stretching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
809 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
810 }
811
812 pub fn set_freeform_stretching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
813 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
814 }
815
816 pub fn get_rotate_with_stretch_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
817 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
818 }
819
820 pub fn set_rotate_with_stretch_direction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
821 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
822 }
823
824 pub fn get_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
825 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
826 }
827
828 pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
829 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
830 }
831
832 pub fn get_meshes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
834 }
835
836 pub fn set_meshes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
838 }
839
840 pub fn set_meshes_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
842 }
843
844 pub fn get_mesh_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
846 }
847
848 pub fn bake_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
850 }
851
852 pub fn bake_mesh_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
854 }
855
856 pub fn bake_trails_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
858 }
859
860 pub fn bake_trails_mesh_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
862 }
863
864 pub fn get_active_vertex_streams_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
866 }
867
868 pub fn set_active_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
870 }
871
872 pub fn get_active_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
874 }
875
876 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
878 }
879
880 pub fn get_pivot_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
882 }
883
884 pub fn set_pivot_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
886 }
887
888 pub fn get_flip_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
890 }
891
892 pub fn set_flip_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
894 }
895}
896
897#[cfg(feature = "unity_engine-particlesystemrenderer")]
898impl ParticleSystemRenderer {
899 #[doc = "`.ctor()` — no args"]
900 pub fn new() -> Self {
901 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
902 panic!(
903 "{}
904::{}
905 failed to instantiate",
906 ::core::stringify!(ParticleSystemRenderer),
907 ::core::stringify!(new),
908 )
909 });
910 <Self as IParticleSystemRendererMethods>::ctor(this);
911 this
912 }
913}
914
915#[cfg(feature = "unity_engine-particlesystemrenderer")]
916#[doc(hidden)]
917pub mod prelude {
918 pub use super::{IParticleSystemRenderer, IParticleSystemRendererMethods, ParticleSystemRenderer};
919 #[cfg(feature = "system-object")]
920 pub use crate::system::object::IObjectMethods;
921 #[cfg(feature = "unity_engine-component")]
922 pub use crate::unity_engine::component::IComponentMethods;
923 #[cfg(feature = "unity_engine-object_2")]
924 pub use crate::unity_engine::object_2::IObject_2Methods;
925 #[cfg(feature = "unity_engine-renderer")]
926 pub use crate::unity_engine::renderer::IRendererMethods;
927 pub use crate::{
928 system::object::IObject,
929 unity_engine::{component::IComponent, object_2::IObject_2, renderer::IRenderer},
930 };
931}