engage/generated/unity_engine/
particlesystemforcefield.rs1#[cfg(feature = "unity_engine-particlesystemforcefield-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 },
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/particlesystemforcefield/ParticleSystemForceField.md"))]
17 #[::unity::class(namespace = "UnityEngine", name = "ParticleSystemForceField")]
18 #[parent(crate::unity_engine::component::Component)]
19 pub struct ParticleSystemForceField {}
20}
21
22#[cfg(feature = "unity_engine-particlesystemforcefield-types")]
23pub use __types::*;
24
25#[cfg(feature = "unity_engine-particlesystemforcefield")]
26pub trait IParticleSystemForceFieldMethods: IParticleSystemForceField {
27 #[doc = "`get_shape()` overload"]
28 fn get_shape(self) -> crate::unity_engine::particlesystemforcefieldshape::ParticleSystemForceFieldShape {
29 unsafe {
30 let __receiver =
31 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x3edfaf0usize)as*mut u8,crate::unity_engine::particlesystemforcefieldshape::ParticleSystemForceFieldShape;
33(ParticleSystemForceField)__receiver)
34 }
35 }
36 #[doc = "`set_shape(crate::unity_engine::particlesystemforcefieldshape::ParticleSystemForceFieldShape)` overload"]
37 fn set_shape(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystemforcefieldshape::ParticleSystemForceFieldShape>) -> () {
38 unsafe {
39 let __receiver =
40 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41 ::unity::il2cpp_call!((::unity::module_base()+0x3edfb40usize)as*mut u8,();
42(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystemforcefieldshape::ParticleSystemForceFieldShape)::core::convert::Into::into(value))
43 }
44 }
45 #[doc = "`get_startRange()` overload"]
46 fn get_start_range(self) -> f32 {
47 unsafe {
48 let __receiver =
49 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
50 ::unity::il2cpp_call!((::unity::module_base()+0x3edfb90usize)as*mut u8,f32;
51(ParticleSystemForceField)__receiver)
52 }
53 }
54 #[doc = "`set_startRange(f32)` overload"]
55 fn set_start_range(self, value: impl ::core::convert::Into<f32>) -> () {
56 unsafe {
57 let __receiver =
58 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x3edfbe0usize)as*mut u8,();
60(ParticleSystemForceField)__receiver,(f32)::core::convert::Into::into(value))
61 }
62 }
63 #[doc = "`get_endRange()` overload"]
64 fn get_end_range(self) -> f32 {
65 unsafe {
66 let __receiver =
67 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
68 ::unity::il2cpp_call!((::unity::module_base()+0x3edfc30usize)as*mut u8,f32;
69(ParticleSystemForceField)__receiver)
70 }
71 }
72 #[doc = "`set_endRange(f32)` overload"]
73 fn set_end_range(self, value: impl ::core::convert::Into<f32>) -> () {
74 unsafe {
75 let __receiver =
76 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77 ::unity::il2cpp_call!((::unity::module_base()+0x3edfc80usize)as*mut u8,();
78(ParticleSystemForceField)__receiver,(f32)::core::convert::Into::into(value))
79 }
80 }
81 #[doc = "`get_length()` overload"]
82 fn get_length(self) -> f32 {
83 unsafe {
84 let __receiver =
85 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
86 ::unity::il2cpp_call!((::unity::module_base()+0x3edfcd0usize)as*mut u8,f32;
87(ParticleSystemForceField)__receiver)
88 }
89 }
90 #[doc = "`set_length(f32)` overload"]
91 fn set_length(self, value: impl ::core::convert::Into<f32>) -> () {
92 unsafe {
93 let __receiver =
94 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95 ::unity::il2cpp_call!((::unity::module_base()+0x3edfd20usize)as*mut u8,();
96(ParticleSystemForceField)__receiver,(f32)::core::convert::Into::into(value))
97 }
98 }
99 #[doc = "`get_gravityFocus()` overload"]
100 fn get_gravity_focus(self) -> f32 {
101 unsafe {
102 let __receiver =
103 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
104 ::unity::il2cpp_call!((::unity::module_base()+0x3edfd70usize)as*mut u8,f32;
105(ParticleSystemForceField)__receiver)
106 }
107 }
108 #[doc = "`set_gravityFocus(f32)` overload"]
109 fn set_gravity_focus(self, value: impl ::core::convert::Into<f32>) -> () {
110 unsafe {
111 let __receiver =
112 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x3edfdc0usize)as*mut u8,();
114(ParticleSystemForceField)__receiver,(f32)::core::convert::Into::into(value))
115 }
116 }
117 #[doc = "`get_rotationRandomness()` overload"]
118 fn get_rotation_randomness(self) -> crate::unity_engine::vector2::Vector2 {
119 unsafe {
120 let __receiver =
121 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x3edfe10usize)as*mut u8,crate::unity_engine::vector2::Vector2;
123(ParticleSystemForceField)__receiver)
124 }
125 }
126 #[doc = "`set_rotationRandomness(crate::unity_engine::vector2::Vector2)` overload"]
127 fn set_rotation_randomness(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
128 unsafe {
129 let __receiver =
130 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x3edfec0usize)as*mut u8,();
132(ParticleSystemForceField)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_multiplyDragByParticleSize()` overload"]
136 fn get_multiply_drag_by_particle_size(self) -> bool {
137 unsafe {
138 let __receiver =
139 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
140 ::unity::il2cpp_call!((::unity::module_base()+0x3edff70usize)as*mut u8,bool;
141(ParticleSystemForceField)__receiver)
142 }
143 }
144 #[doc = "`set_multiplyDragByParticleSize(bool)` overload"]
145 fn set_multiply_drag_by_particle_size(self, value: impl ::core::convert::Into<bool>) -> () {
146 unsafe {
147 let __receiver =
148 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149 ::unity::il2cpp_call!((::unity::module_base()+0x3edffc0usize)as*mut u8,();
150(ParticleSystemForceField)__receiver,(bool)::core::convert::Into::into(value))
151 }
152 }
153 #[doc = "`get_multiplyDragByParticleVelocity()` overload"]
154 fn get_multiply_drag_by_particle_velocity(self) -> bool {
155 unsafe {
156 let __receiver =
157 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0010usize)as*mut u8,bool;
159(ParticleSystemForceField)__receiver)
160 }
161 }
162 #[doc = "`set_multiplyDragByParticleVelocity(bool)` overload"]
163 fn set_multiply_drag_by_particle_velocity(self, value: impl ::core::convert::Into<bool>) -> () {
164 unsafe {
165 let __receiver =
166 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0060usize)as*mut u8,();
168(ParticleSystemForceField)__receiver,(bool)::core::convert::Into::into(value))
169 }
170 }
171 #[doc = "`get_vectorField()` overload"]
172 fn get_vector_field(self) -> crate::unity_engine::texture3d::Texture3D {
173 unsafe {
174 let __receiver =
175 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176 ::unity::il2cpp_call!((::unity::module_base()+0x3ee00b0usize)as*mut u8,crate::unity_engine::texture3d::Texture3D;
177(ParticleSystemForceField)__receiver)
178 }
179 }
180 #[doc = "`set_vectorField(crate::unity_engine::texture3d::Texture3D)` overload"]
181 fn set_vector_field(self, value: impl ::core::convert::Into<crate::unity_engine::texture3d::Texture3D>) -> () {
182 unsafe {
183 let __receiver =
184 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0100usize)as*mut u8,();
186(ParticleSystemForceField)__receiver,(crate::unity_engine::texture3d::Texture3D)::core::convert::Into::into(value))
187 }
188 }
189 #[doc = "`get_directionX()` overload"]
190 fn get_direction_x(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
191 unsafe {
192 let __receiver =
193 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0150usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
195(ParticleSystemForceField)__receiver)
196 }
197 }
198 #[doc = "`set_directionX(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
199 fn set_direction_x(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
200 unsafe {
201 let __receiver =
202 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0220usize)as*mut u8,();
204(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
205 }
206 }
207 #[doc = "`get_directionY()` overload"]
208 fn get_direction_y(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
209 unsafe {
210 let __receiver =
211 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 ::unity::il2cpp_call!((::unity::module_base()+0x3ee02c0usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
213(ParticleSystemForceField)__receiver)
214 }
215 }
216 #[doc = "`set_directionY(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
217 fn set_direction_y(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
218 unsafe {
219 let __receiver =
220 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0390usize)as*mut u8,();
222(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
223 }
224 }
225 #[doc = "`get_directionZ()` overload"]
226 fn get_direction_z(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
227 unsafe {
228 let __receiver =
229 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0430usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
231(ParticleSystemForceField)__receiver)
232 }
233 }
234 #[doc = "`set_directionZ(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
235 fn set_direction_z(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
236 unsafe {
237 let __receiver =
238 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
239 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0500usize)as*mut u8,();
240(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
241 }
242 }
243 #[doc = "`get_gravity()` overload"]
244 fn get_gravity(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
245 unsafe {
246 let __receiver =
247 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
248 ::unity::il2cpp_call!((::unity::module_base()+0x3ee05a0usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
249(ParticleSystemForceField)__receiver)
250 }
251 }
252 #[doc = "`set_gravity(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
253 fn set_gravity(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
254 unsafe {
255 let __receiver =
256 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0670usize)as*mut u8,();
258(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
259 }
260 }
261 #[doc = "`get_rotationSpeed()` overload"]
262 fn get_rotation_speed(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
263 unsafe {
264 let __receiver =
265 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0710usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
267(ParticleSystemForceField)__receiver)
268 }
269 }
270 #[doc = "`set_rotationSpeed(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
271 fn set_rotation_speed(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
272 unsafe {
273 let __receiver =
274 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275 ::unity::il2cpp_call!((::unity::module_base()+0x3ee07e0usize)as*mut u8,();
276(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
277 }
278 }
279 #[doc = "`get_rotationAttraction()` overload"]
280 fn get_rotation_attraction(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
281 unsafe {
282 let __receiver =
283 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
284 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0880usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
285(ParticleSystemForceField)__receiver)
286 }
287 }
288 #[doc = "`set_rotationAttraction(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
289 fn set_rotation_attraction(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
290 unsafe {
291 let __receiver =
292 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
293 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0950usize)as*mut u8,();
294(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
295 }
296 }
297 #[doc = "`get_drag()` overload"]
298 fn get_drag(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
299 unsafe {
300 let __receiver =
301 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x3ee09f0usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
303(ParticleSystemForceField)__receiver)
304 }
305 }
306 #[doc = "`set_drag(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
307 fn set_drag(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
308 unsafe {
309 let __receiver =
310 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0ac0usize)as*mut u8,();
312(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
313 }
314 }
315 #[doc = "`get_vectorFieldSpeed()` overload"]
316 fn get_vector_field_speed(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
317 unsafe {
318 let __receiver =
319 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0b60usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
321(ParticleSystemForceField)__receiver)
322 }
323 }
324 #[doc = "`set_vectorFieldSpeed(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
325 fn set_vector_field_speed(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
326 unsafe {
327 let __receiver =
328 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
329 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0c30usize)as*mut u8,();
330(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
331 }
332 }
333 #[doc = "`get_vectorFieldAttraction()` overload"]
334 fn get_vector_field_attraction(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
335 unsafe {
336 let __receiver =
337 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
338 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0cd0usize)as*mut u8,crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve;
339(ParticleSystemForceField)__receiver)
340 }
341 }
342 #[doc = "`set_vectorFieldAttraction(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
343 fn set_vector_field_attraction(self, value: impl ::core::convert::Into<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>) -> () {
344 unsafe {
345 let __receiver =
346 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
347 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0da0usize)as*mut u8,();
348(ParticleSystemForceField)__receiver,(crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)::core::convert::Into::into(value))
349 }
350 }
351 #[doc = "`.ctor()` overload"]
352 fn ctor(self) -> () {
353 unsafe {
354 let __receiver =
355 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0e40usize)as*mut u8,();
357(ParticleSystemForceField)__receiver)
358 }
359 }
360 #[doc = "`get_rotationRandomness_Injected(*mutcrate::unity_engine::vector2::Vector2)` overload"]
361 fn get_rotation_randomness_injected(self) -> crate::unity_engine::vector2::Vector2 {
362 unsafe {
363 let __receiver =
364 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
365 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
366 ::unity::il2cpp_call!((::unity::module_base()+0x3edfe70usize)as*mut u8,();
367(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
368 __out_0.assume_init()
369 }
370 }
371 #[doc = "`set_rotationRandomness_Injected(*mutcrate::unity_engine::vector2::Vector2)` overload"]
372 fn set_rotation_randomness_injected(self) -> crate::unity_engine::vector2::Vector2 {
373 unsafe {
374 let __receiver =
375 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
377 ::unity::il2cpp_call!((::unity::module_base()+0x3edff20usize)as*mut u8,();
378(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
379 __out_0.assume_init()
380 }
381 }
382 #[doc = "`get_directionX_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
383 fn get_direction_x_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
384 unsafe {
385 let __receiver =
386 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
388 ::unity::il2cpp_call!((::unity::module_base()+0x3ee01d0usize)as*mut u8,();
389(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
390 __out_0.assume_init()
391 }
392 }
393 #[doc = "`set_directionX_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
394 fn set_direction_x_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
395 unsafe {
396 let __receiver =
397 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
399 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0270usize)as*mut u8,();
400(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
401 __out_0.assume_init()
402 }
403 }
404 #[doc = "`get_directionY_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
405 fn get_direction_y_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
406 unsafe {
407 let __receiver =
408 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
409 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
410 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0340usize)as*mut u8,();
411(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
412 __out_0.assume_init()
413 }
414 }
415 #[doc = "`set_directionY_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
416 fn set_direction_y_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
417 unsafe {
418 let __receiver =
419 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
421 ::unity::il2cpp_call!((::unity::module_base()+0x3ee03e0usize)as*mut u8,();
422(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
423 __out_0.assume_init()
424 }
425 }
426 #[doc = "`get_directionZ_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
427 fn get_direction_z_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
428 unsafe {
429 let __receiver =
430 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
432 ::unity::il2cpp_call!((::unity::module_base()+0x3ee04b0usize)as*mut u8,();
433(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
434 __out_0.assume_init()
435 }
436 }
437 #[doc = "`set_directionZ_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
438 fn set_direction_z_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
439 unsafe {
440 let __receiver =
441 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
443 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0550usize)as*mut u8,();
444(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
445 __out_0.assume_init()
446 }
447 }
448 #[doc = "`get_gravity_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
449 fn get_gravity_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
450 unsafe {
451 let __receiver =
452 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
453 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
454 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0620usize)as*mut u8,();
455(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
456 __out_0.assume_init()
457 }
458 }
459 #[doc = "`set_gravity_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
460 fn set_gravity_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
461 unsafe {
462 let __receiver =
463 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
465 ::unity::il2cpp_call!((::unity::module_base()+0x3ee06c0usize)as*mut u8,();
466(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
467 __out_0.assume_init()
468 }
469 }
470 #[doc = "`get_rotationSpeed_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
471 fn get_rotation_speed_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
472 unsafe {
473 let __receiver =
474 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
476 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0790usize)as*mut u8,();
477(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
478 __out_0.assume_init()
479 }
480 }
481 #[doc = "`set_rotationSpeed_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
482 fn set_rotation_speed_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
483 unsafe {
484 let __receiver =
485 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
487 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0830usize)as*mut u8,();
488(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
489 __out_0.assume_init()
490 }
491 }
492 #[doc = "`get_rotationAttraction_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
493 fn get_rotation_attraction_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
494 unsafe {
495 let __receiver =
496 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
497 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
498 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0900usize)as*mut u8,();
499(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
500 __out_0.assume_init()
501 }
502 }
503 #[doc = "`set_rotationAttraction_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
504 fn set_rotation_attraction_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
505 unsafe {
506 let __receiver =
507 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
509 ::unity::il2cpp_call!((::unity::module_base()+0x3ee09a0usize)as*mut u8,();
510(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
511 __out_0.assume_init()
512 }
513 }
514 #[doc = "`get_drag_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
515 fn get_drag_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
516 unsafe {
517 let __receiver =
518 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
519 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
520 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0a70usize)as*mut u8,();
521(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
522 __out_0.assume_init()
523 }
524 }
525 #[doc = "`set_drag_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
526 fn set_drag_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
527 unsafe {
528 let __receiver =
529 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
530 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
531 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0b10usize)as*mut u8,();
532(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
533 __out_0.assume_init()
534 }
535 }
536 #[doc = "`get_vectorFieldSpeed_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
537 fn get_vector_field_speed_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
538 unsafe {
539 let __receiver =
540 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
542 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0be0usize)as*mut u8,();
543(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
544 __out_0.assume_init()
545 }
546 }
547 #[doc = "`set_vectorFieldSpeed_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
548 fn set_vector_field_speed_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
549 unsafe {
550 let __receiver =
551 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
552 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
553 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0c80usize)as*mut u8,();
554(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
555 __out_0.assume_init()
556 }
557 }
558 #[doc = "`get_vectorFieldAttraction_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
559 fn get_vector_field_attraction_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
560 unsafe {
561 let __receiver =
562 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
563 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
564 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0d50usize)as*mut u8,();
565(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
566 __out_0.assume_init()
567 }
568 }
569 #[doc = "`set_vectorFieldAttraction_Injected(*mutcrate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)` overload"]
570 fn set_vector_field_attraction_injected(self) -> crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve {
571 unsafe {
572 let __receiver =
573 <ParticleSystemForceField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
574 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve>::uninit();
575 ::unity::il2cpp_call!((::unity::module_base()+0x3ee0df0usize)as*mut u8,();
576(ParticleSystemForceField)__receiver,(*mut crate::unity_engine::particlesystem::ParticleSystem_MinMaxCurve)__out_0.as_mut_ptr());
577 __out_0.assume_init()
578 }
579 }
580}
581
582#[cfg(feature = "unity_engine-particlesystemforcefield")]
583impl<__T: IParticleSystemForceField> IParticleSystemForceFieldMethods for __T {}
584
585#[cfg(feature = "unity_engine-particlesystemforcefield")]
586impl ParticleSystemForceField {
587 pub fn get_shape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
588 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
589 }
590
591 pub fn set_shape_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
593 }
594
595 pub fn get_start_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
597 }
598
599 pub fn set_start_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
601 }
602
603 pub fn get_end_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
604 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
605 }
606
607 pub fn set_end_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
609 }
610
611 pub fn get_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
613 }
614
615 pub fn set_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
616 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
617 }
618
619 pub fn get_gravity_focus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
621 }
622
623 pub fn set_gravity_focus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
625 }
626
627 pub fn get_rotation_randomness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
629 }
630
631 pub fn set_rotation_randomness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
632 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
633 }
634
635 pub fn get_multiply_drag_by_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
636 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
637 }
638
639 pub fn set_multiply_drag_by_particle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
640 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
641 }
642
643 pub fn get_multiply_drag_by_particle_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
644 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
645 }
646
647 pub fn set_multiply_drag_by_particle_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
648 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
649 }
650
651 pub fn get_vector_field_method_info() -> &'static ::unity::il2cpp::MethodInfo {
652 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
653 }
654
655 pub fn set_vector_field_method_info() -> &'static ::unity::il2cpp::MethodInfo {
656 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
657 }
658
659 pub fn get_direction_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
660 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
661 }
662
663 pub fn set_direction_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
664 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
665 }
666
667 pub fn get_direction_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
668 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
669 }
670
671 pub fn set_direction_y_method_info() -> &'static ::unity::il2cpp::MethodInfo {
672 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
673 }
674
675 pub fn get_direction_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
677 }
678
679 pub fn set_direction_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
681 }
682
683 pub fn get_gravity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
684 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
685 }
686
687 pub fn set_gravity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
688 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
689 }
690
691 pub fn get_rotation_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
692 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
693 }
694
695 pub fn set_rotation_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
696 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
697 }
698
699 pub fn get_rotation_attraction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
700 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
701 }
702
703 pub fn set_rotation_attraction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
704 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
705 }
706
707 pub fn get_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
708 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
709 }
710
711 pub fn set_drag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
712 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
713 }
714
715 pub fn get_vector_field_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
716 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
717 }
718
719 pub fn set_vector_field_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
720 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
721 }
722
723 pub fn get_vector_field_attraction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
724 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
725 }
726
727 pub fn set_vector_field_attraction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
728 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
729 }
730
731 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
732 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
733 }
734
735 pub fn get_rotation_randomness_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
736 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
737 }
738
739 pub fn set_rotation_randomness_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
740 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
741 }
742
743 pub fn get_direction_x_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
744 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
745 }
746
747 pub fn set_direction_x_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
748 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
749 }
750
751 pub fn get_direction_y_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
753 }
754
755 pub fn set_direction_y_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
757 }
758
759 pub fn get_direction_z_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
761 }
762
763 pub fn set_direction_z_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
765 }
766
767 pub fn get_gravity_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
769 }
770
771 pub fn set_gravity_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
773 }
774
775 pub fn get_rotation_speed_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
777 }
778
779 pub fn set_rotation_speed_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
781 }
782
783 pub fn get_rotation_attraction_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
785 }
786
787 pub fn set_rotation_attraction_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
789 }
790
791 pub fn get_drag_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
793 }
794
795 pub fn set_drag_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
796 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
797 }
798
799 pub fn get_vector_field_speed_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
800 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
801 }
802
803 pub fn set_vector_field_speed_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
804 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
805 }
806
807 pub fn get_vector_field_attraction_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
808 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
809 }
810
811 pub fn set_vector_field_attraction_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
812 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
813 }
814}
815
816#[cfg(feature = "unity_engine-particlesystemforcefield")]
817impl ParticleSystemForceField {
818 #[doc = "`.ctor()` — no args"]
819 pub fn new() -> Self {
820 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
821 panic!(
822 "{}
823::{}
824 failed to instantiate",
825 ::core::stringify!(ParticleSystemForceField),
826 ::core::stringify!(new),
827 )
828 });
829 <Self as IParticleSystemForceFieldMethods>::ctor(this);
830 this
831 }
832}
833
834#[cfg(feature = "unity_engine-particlesystemforcefield")]
835#[doc(hidden)]
836pub mod prelude {
837 pub use super::{IParticleSystemForceField, IParticleSystemForceFieldMethods, ParticleSystemForceField};
838 #[cfg(feature = "system-object")]
839 pub use crate::system::object::IObjectMethods;
840 #[cfg(feature = "unity_engine-component")]
841 pub use crate::unity_engine::component::IComponentMethods;
842 #[cfg(feature = "unity_engine-object_2")]
843 pub use crate::unity_engine::object_2::IObject_2Methods;
844 pub use crate::{
845 system::object::IObject,
846 unity_engine::{component::IComponent, object_2::IObject_2},
847 };
848}