1#[cfg(feature = "unity_engine-timeline-timelineclip-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/timelineclip/TimelineClip.md"))]
15 #[::unity::class(namespace = "UnityEngine.Timeline", name = "TimelineClip")]
16 #[parent(crate::system::object::Object)]
17 pub struct TimelineClip {
18 #[static_field]
19 #[rename(name = "k_LatestVersion")]
20 pub k_latest_version: i32,
21 #[offset(16)]
22 #[rename(name = "m_Version")]
23 pub m_version: i32,
24 #[static_field]
25 #[rename(name = "kDefaultClipCaps")]
26 pub k_default_clip_caps: crate::unity_engine::timeline::clipcaps::ClipCaps,
27 #[static_field]
28 #[rename(name = "kDefaultClipDurationInSeconds")]
29 pub k_default_clip_duration_in_seconds: f32,
30 #[static_field]
31 #[rename(name = "kTimeScaleMin")]
32 pub k_time_scale_min: f64,
33 #[static_field]
34 #[rename(name = "kTimeScaleMax")]
35 pub k_time_scale_max: f64,
36 #[static_field]
37 #[rename(name = "kDefaultCurvesName")]
38 pub k_default_curves_name: ::unity::Il2CppString,
39 #[static_field]
40 #[rename(name = "kMinDuration")]
41 pub k_min_duration: f64,
42 #[static_field]
43 #[rename(name = "kMaxTimeValue")]
44 pub k_max_time_value: f64,
45 #[offset(24)]
46 #[rename(name = "m_Start")]
47 pub m_start: f64,
48 #[offset(32)]
49 #[rename(name = "m_ClipIn")]
50 pub m_clip_in: f64,
51 #[offset(40)]
52 #[rename(name = "m_Asset")]
53 pub m_asset: crate::unity_engine::object_2::Object_2,
54 #[offset(48)]
55 #[rename(name = "m_Duration")]
56 pub m_duration: f64,
57 #[offset(56)]
58 #[rename(name = "m_TimeScale")]
59 pub m_time_scale: f64,
60 #[offset(64)]
61 #[rename(name = "m_ParentTrack")]
62 pub m_parent_track: crate::unity_engine::timeline::trackasset::TrackAsset,
63 #[offset(72)]
64 #[rename(name = "m_EaseInDuration")]
65 pub m_ease_in_duration: f64,
66 #[offset(80)]
67 #[rename(name = "m_EaseOutDuration")]
68 pub m_ease_out_duration: f64,
69 #[offset(88)]
70 #[rename(name = "m_BlendInDuration")]
71 pub m_blend_in_duration: f64,
72 #[offset(96)]
73 #[rename(name = "m_BlendOutDuration")]
74 pub m_blend_out_duration: f64,
75 #[offset(104)]
76 #[rename(name = "m_MixInCurve")]
77 pub m_mix_in_curve: crate::unity_engine::animationcurve::AnimationCurve,
78 #[offset(112)]
79 #[rename(name = "m_MixOutCurve")]
80 pub m_mix_out_curve: crate::unity_engine::animationcurve::AnimationCurve,
81 #[offset(120)]
82 #[rename(name = "m_BlendInCurveMode")]
83 pub m_blend_in_curve_mode: crate::unity_engine::timeline::timelineclip::TimelineClip_BlendCurveMode,
84 #[offset(124)]
85 #[rename(name = "m_BlendOutCurveMode")]
86 pub m_blend_out_curve_mode: crate::unity_engine::timeline::timelineclip::TimelineClip_BlendCurveMode,
87 #[offset(128)]
88 #[rename(name = "m_ExposedParameterNames")]
89 pub m_exposed_parameter_names: crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>,
90 #[offset(136)]
91 #[rename(name = "m_AnimationCurves")]
92 pub m_animation_curves: crate::unity_engine::animationclip::AnimationClip,
93 #[offset(144)]
94 #[rename(name = "m_Recordable")]
95 pub m_recordable: bool,
96 #[offset(148)]
97 #[rename(name = "m_PostExtrapolationMode")]
98 pub m_post_extrapolation_mode: crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation,
99 #[offset(152)]
100 #[rename(name = "m_PreExtrapolationMode")]
101 pub m_pre_extrapolation_mode: crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation,
102 #[offset(160)]
103 #[rename(name = "m_PostExtrapolationTime")]
104 pub m_post_extrapolation_time: f64,
105 #[offset(168)]
106 #[rename(name = "m_PreExtrapolationTime")]
107 pub m_pre_extrapolation_time: f64,
108 #[offset(176)]
109 #[rename(name = "m_DisplayName")]
110 pub m_display_name: ::unity::Il2CppString,
111 }
112
113 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/timelineclip/TimelineClip_BlendCurveMode.md"))]
114 #[repr(C)]
115 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
116 pub struct TimelineClip_BlendCurveMode {
117 pub value: i32,
118 }
119 impl ::unity::ClassIdentity for TimelineClip_BlendCurveMode {
120 const NAME: &'static str = "TimelineClip.BlendCurveMode";
121 const NAMESPACE: &'static str = "UnityEngine.Timeline";
122
123 fn class() -> ::unity::Class {
124 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
125 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
126 }
127 }
128 impl ::unity::IlType for TimelineClip_BlendCurveMode {
129 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
130 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
131 }
132 }
133 impl TimelineClip_BlendCurveMode {
134 pub fn auto() -> Self {
135 Self { value: 0 }
136 }
137
138 pub fn manual() -> Self {
139 Self { value: 1 }
140 }
141 }
142
143 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/timelineclip/TimelineClip_ClipExtrapolation.md"))]
144 #[repr(C)]
145 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
146 pub struct TimelineClip_ClipExtrapolation {
147 pub value: i32,
148 }
149 impl ::unity::ClassIdentity for TimelineClip_ClipExtrapolation {
150 const NAME: &'static str = "TimelineClip.ClipExtrapolation";
151 const NAMESPACE: &'static str = "UnityEngine.Timeline";
152
153 fn class() -> ::unity::Class {
154 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
155 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
156 }
157 }
158 impl ::unity::IlType for TimelineClip_ClipExtrapolation {
159 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
160 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
161 }
162 }
163 impl TimelineClip_ClipExtrapolation {
164 pub fn none() -> Self {
165 Self { value: 0 }
166 }
167
168 pub fn hold() -> Self {
169 Self { value: 1 }
170 }
171
172 pub fn r#loop() -> Self {
173 Self { value: 2 }
174 }
175
176 pub fn ping_pong() -> Self {
177 Self { value: 3 }
178 }
179
180 pub fn r#continue() -> Self {
181 Self { value: 4 }
182 }
183 }
184
185 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/timelineclip/TimelineClip_TimelineClipUpgrade.md"))]
186 #[::unity::class(namespace = "UnityEngine.Timeline", name = "TimelineClip.TimelineClipUpgrade")]
187 #[parent(crate::system::object::Object)]
188 pub struct TimelineClip_TimelineClipUpgrade {}
189}
190
191#[cfg(feature = "unity_engine-timeline-timelineclip-types")]
192pub use __types::*;
193
194#[cfg(feature = "unity_engine-timeline-timelineclip")]
195impl TimelineClip {
196 #[doc = "`GetDefaultMixInCurve()` overload"]
197 pub fn get_default_mix_in_curve() -> crate::unity_engine::animationcurve::AnimationCurve {
198 unsafe {
199 ::unity::il2cpp_call!((::unity::module_base()+0x35e1920usize)as*mut u8,crate::unity_engine::animationcurve::AnimationCurve;
200 )
201 }
202 }
203
204 #[doc = "`GetDefaultMixOutCurve()` overload"]
205 pub fn get_default_mix_out_curve() -> crate::unity_engine::animationcurve::AnimationCurve {
206 unsafe {
207 ::unity::il2cpp_call!((::unity::module_base()+0x35e1ad0usize)as*mut u8,crate::unity_engine::animationcurve::AnimationCurve;
208 )
209 }
210 }
211
212 #[doc = "`SanitizeTimeValue(f64, f64)` overload"]
213 pub fn sanitize_time_value(value: impl ::core::convert::Into<f64>, default_value: impl ::core::convert::Into<f64>) -> f64 {
214 unsafe {
215 ::unity::il2cpp_call!((::unity::module_base()+0x35e12d0usize)as*mut u8,f64;
216(f64)::core::convert::Into::into(value),(f64)::core::convert::Into::into(default_value))
217 }
218 }
219
220 #[doc = "`GetExtrapolatedTime(f64, crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation, f64)` overload"]
221 pub fn get_extrapolated_time(
222 time: impl ::core::convert::Into<f64>,
223 mode: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation>,
224 duration: impl ::core::convert::Into<f64>,
225 ) -> f64 {
226 unsafe {
227 ::unity::il2cpp_call!((::unity::module_base()+0x35e1d40usize)as*mut u8,f64;
228(f64)::core::convert::Into::into(time),(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation)::core::convert::Into::into(mode),(f64)::core::convert::Into::into(duration))
229 }
230 }
231
232 #[doc = "`.cctor()` overload"]
233 pub fn cctor() -> () {
234 unsafe {
235 ::unity::il2cpp_call!((::unity::module_base()+0x35e2270usize)as*mut u8,();
236 )
237 }
238 }
239}
240
241#[cfg(feature = "unity_engine-timeline-timelineclip")]
242pub trait ITimelineClipMethods: ITimelineClip {
243 #[doc = "`UpgradeToLatestVersion()` overload"]
244 fn upgrade_to_latest_version(self) -> () {
245 unsafe {
246 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247 ::unity::il2cpp_call!((::unity::module_base()+0x35e0f20usize)as*mut u8,();
248(TimelineClip)__receiver)
249 }
250 }
251 #[doc = "`.ctor(crate::unity_engine::timeline::trackasset::TrackAsset)` overload"]
252 fn ctor(self, parent: impl ::core::convert::Into<crate::unity_engine::timeline::trackasset::TrackAsset>) -> () {
253 unsafe {
254 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255 ::unity::il2cpp_call!((::unity::module_base()+0x35e0f90usize)as*mut u8,();
256(TimelineClip)__receiver,(crate::unity_engine::timeline::trackasset::TrackAsset)::core::convert::Into::into(parent))
257 }
258 }
259 #[doc = "`get_timeScale()` overload"]
260 fn get_time_scale(self) -> f64 {
261 unsafe {
262 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263 ::unity::il2cpp_call!((::unity::module_base()+0x35e11b0usize)as*mut u8,f64;
264(TimelineClip)__receiver)
265 }
266 }
267 #[doc = "`get_start()` overload"]
268 fn get_start(self) -> f64 {
269 unsafe {
270 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271 ::unity::il2cpp_call!((::unity::module_base()+0x35e12b0usize)as*mut u8,f64;
272(TimelineClip)__receiver)
273 }
274 }
275 #[doc = "`set_start(f64)` overload"]
276 fn set_start(self, value: impl ::core::convert::Into<f64>) -> () {
277 unsafe {
278 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279 ::unity::il2cpp_call!((::unity::module_base()+0x35d1cf0usize)as*mut u8,();
280(TimelineClip)__receiver,(f64)::core::convert::Into::into(value))
281 }
282 }
283 #[doc = "`get_duration()` overload"]
284 fn get_duration(self) -> f64 {
285 unsafe {
286 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287 {
288 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
289 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
290 panic!(
291 "unity: virtual slot {}
292 out of range (vtable len {}
293) on the runtime class behind {}
294 (method `{}
295`)",
296 10usize,
297 __vt.len(),
298 <TimelineClip as ::unity::ClassIdentity>::NAME,
299 "get_duration",
300 )
301 });
302 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> f64 = ::core::mem::transmute(__vi.method_ptr);
303 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
304 __inner(__receiver, __mi)
305 }
306 }
307 }
308 #[doc = "`set_duration(f64)` overload"]
309 fn set_duration(self, value: impl ::core::convert::Into<f64>) -> () {
310 unsafe {
311 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x35d1e10usize)as*mut u8,();
313(TimelineClip)__receiver,(f64)::core::convert::Into::into(value))
314 }
315 }
316 #[doc = "`get_end()` overload"]
317 fn get_end(self) -> f64 {
318 unsafe {
319 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x35d6b90usize)as*mut u8,f64;
321(TimelineClip)__receiver)
322 }
323 }
324 #[doc = "`get_clipIn()` overload"]
325 fn get_clip_in(self) -> f64 {
326 unsafe {
327 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 ::unity::il2cpp_call!((::unity::module_base()+0x35d9860usize)as*mut u8,f64;
329(TimelineClip)__receiver)
330 }
331 }
332 #[doc = "`get_displayName()` overload"]
333 fn get_display_name(self) -> ::unity::Il2CppString {
334 unsafe {
335 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x35e14a0usize)as*mut u8, ::unity::Il2CppString;
337(TimelineClip)__receiver)
338 }
339 }
340 #[doc = "`set_displayName(::unity::Il2CppString)` overload"]
341 fn set_display_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
342 unsafe {
343 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x35e14b0usize)as*mut u8,();
345(TimelineClip)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
346 }
347 }
348 #[doc = "`get_curves()` overload"]
349 fn get_curves(self) -> crate::unity_engine::animationclip::AnimationClip {
350 unsafe {
351 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352 {
353 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
354 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
355 panic!(
356 "unity: virtual slot {}
357 out of range (vtable len {}
358) on the runtime class behind {}
359 (method `{}
360`)",
361 11usize,
362 __vt.len(),
363 <TimelineClip as ::unity::ClassIdentity>::NAME,
364 "get_curves",
365 )
366 });
367 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
368 ::core::mem::transmute(__vi.method_ptr);
369 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
370 __inner(__receiver, __mi)
371 }
372 }
373 }
374 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName()` overload"]
375 fn unity_engine_timeline_i_curves_owner_get_default_curves_name(self) -> ::unity::Il2CppString {
376 unsafe {
377 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
378 {
379 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
380 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
381 panic!(
382 "unity: virtual slot {}
383 out of range (vtable len {}
384) on the runtime class behind {}
385 (method `{}
386`)",
387 4usize,
388 __vt.len(),
389 <TimelineClip as ::unity::ClassIdentity>::NAME,
390 "UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName",
391 )
392 });
393 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
394 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
395 __inner(__receiver, __mi)
396 }
397 }
398 }
399 #[doc = "`get_asset()` overload"]
400 fn get_asset(self) -> crate::unity_engine::object_2::Object_2 {
401 unsafe {
402 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 {
404 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
405 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
406 panic!(
407 "unity: virtual slot {}
408 out of range (vtable len {}
409) on the runtime class behind {}
410 (method `{}
411`)",
412 5usize,
413 __vt.len(),
414 <TimelineClip as ::unity::ClassIdentity>::NAME,
415 "get_asset",
416 )
417 });
418 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
419 ::core::mem::transmute(__vi.method_ptr);
420 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
421 __inner(__receiver, __mi)
422 }
423 }
424 }
425 #[doc = "`set_asset(crate::unity_engine::object_2::Object_2)` overload"]
426 fn set_asset(self, value: impl ::core::convert::Into<crate::unity_engine::object_2::Object_2>) -> () {
427 unsafe {
428 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429 ::unity::il2cpp_call!((::unity::module_base()+0x35e1550usize)as*mut u8,();
430(TimelineClip)__receiver,(crate::unity_engine::object_2::Object_2)::core::convert::Into::into(value))
431 }
432 }
433 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_assetOwner()` overload"]
434 fn unity_engine_timeline_i_curves_owner_get_asset_owner(self) -> crate::unity_engine::object_2::Object_2 {
435 unsafe {
436 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
437 {
438 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
439 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
440 panic!(
441 "unity: virtual slot {}
442 out of range (vtable len {}
443) on the runtime class behind {}
444 (method `{}
445`)",
446 6usize,
447 __vt.len(),
448 <TimelineClip as ::unity::ClassIdentity>::NAME,
449 "UnityEngine.Timeline.ICurvesOwner.get_assetOwner",
450 )
451 });
452 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
453 ::core::mem::transmute(__vi.method_ptr);
454 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
455 __inner(__receiver, __mi)
456 }
457 }
458 }
459 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_targetTrack()` overload"]
460 fn unity_engine_timeline_i_curves_owner_get_target_track(self) -> crate::unity_engine::timeline::trackasset::TrackAsset {
461 unsafe {
462 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463 {
464 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
465 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
466 panic!(
467 "unity: virtual slot {}
468 out of range (vtable len {}
469) on the runtime class behind {}
470 (method `{}
471`)",
472 7usize,
473 __vt.len(),
474 <TimelineClip as ::unity::ClassIdentity>::NAME,
475 "UnityEngine.Timeline.ICurvesOwner.get_targetTrack",
476 )
477 });
478 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> crate::unity_engine::timeline::trackasset::TrackAsset =
479 ::core::mem::transmute(__vi.method_ptr);
480 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
481 __inner(__receiver, __mi)
482 }
483 }
484 }
485 #[doc = "`get_parentTrack()` overload"]
486 fn get_parent_track(self) -> crate::unity_engine::timeline::trackasset::TrackAsset {
487 unsafe {
488 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
489 ::unity::il2cpp_call!((::unity::module_base()+0x35e1580usize)as*mut u8,crate::unity_engine::timeline::trackasset::TrackAsset;
490(TimelineClip)__receiver)
491 }
492 }
493 #[doc = "`set_parentTrack(crate::unity_engine::timeline::trackasset::TrackAsset)` overload"]
494 fn set_parent_track(self, value: impl ::core::convert::Into<crate::unity_engine::timeline::trackasset::TrackAsset>) -> () {
495 unsafe {
496 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
497 ::unity::il2cpp_call!((::unity::module_base()+0x35e0fd0usize)as*mut u8,();
498(TimelineClip)__receiver,(crate::unity_engine::timeline::trackasset::TrackAsset)::core::convert::Into::into(value))
499 }
500 }
501 #[doc = "`get_easeInDuration()` overload"]
502 fn get_ease_in_duration(self) -> f64 {
503 unsafe {
504 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
505 ::unity::il2cpp_call!((::unity::module_base()+0x35e1640usize)as*mut u8,f64;
506(TimelineClip)__receiver)
507 }
508 }
509 #[doc = "`get_easeOutDuration()` overload"]
510 fn get_ease_out_duration(self) -> f64 {
511 unsafe {
512 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x35e16e0usize)as*mut u8,f64;
514(TimelineClip)__receiver)
515 }
516 }
517 #[doc = "`get_blendInDuration()` overload"]
518 fn get_blend_in_duration(self) -> f64 {
519 unsafe {
520 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 ::unity::il2cpp_call!((::unity::module_base()+0x35e1780usize)as*mut u8,f64;
522(TimelineClip)__receiver)
523 }
524 }
525 #[doc = "`get_blendOutDuration()` overload"]
526 fn get_blend_out_duration(self) -> f64 {
527 unsafe {
528 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
529 ::unity::il2cpp_call!((::unity::module_base()+0x35e17c0usize)as*mut u8,f64;
530(TimelineClip)__receiver)
531 }
532 }
533 #[doc = "`get_hasBlendIn()` overload"]
534 fn get_has_blend_in(self) -> bool {
535 unsafe {
536 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
537 ::unity::il2cpp_call!((::unity::module_base()+0x35e1800usize)as*mut u8,bool;
538(TimelineClip)__receiver)
539 }
540 }
541 #[doc = "`get_hasBlendOut()` overload"]
542 fn get_has_blend_out(self) -> bool {
543 unsafe {
544 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
545 ::unity::il2cpp_call!((::unity::module_base()+0x35e1840usize)as*mut u8,bool;
546(TimelineClip)__receiver)
547 }
548 }
549 #[doc = "`get_mixInCurve()` overload"]
550 fn get_mix_in_curve(self) -> crate::unity_engine::animationcurve::AnimationCurve {
551 unsafe {
552 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
553 ::unity::il2cpp_call!((::unity::module_base()+0x35e1880usize)as*mut u8,crate::unity_engine::animationcurve::AnimationCurve;
554(TimelineClip)__receiver)
555 }
556 }
557 #[doc = "`set_mixInCurve(crate::unity_engine::animationcurve::AnimationCurve)` overload"]
558 fn set_mix_in_curve(self, value: impl ::core::convert::Into<crate::unity_engine::animationcurve::AnimationCurve>) -> () {
559 unsafe {
560 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
561 ::unity::il2cpp_call!((::unity::module_base()+0x35e1940usize)as*mut u8,();
562(TimelineClip)__receiver,(crate::unity_engine::animationcurve::AnimationCurve)::core::convert::Into::into(value))
563 }
564 }
565 #[doc = "`get_mixInDuration()` overload"]
566 fn get_mix_in_duration(self) -> f64 {
567 unsafe {
568 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
569 ::unity::il2cpp_call!((::unity::module_base()+0x35e1950usize)as*mut u8,f64;
570(TimelineClip)__receiver)
571 }
572 }
573 #[doc = "`get_mixOutCurve()` overload"]
574 fn get_mix_out_curve(self) -> crate::unity_engine::animationcurve::AnimationCurve {
575 unsafe {
576 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577 ::unity::il2cpp_call!((::unity::module_base()+0x35e1a30usize)as*mut u8,crate::unity_engine::animationcurve::AnimationCurve;
578(TimelineClip)__receiver)
579 }
580 }
581 #[doc = "`set_mixOutCurve(crate::unity_engine::animationcurve::AnimationCurve)` overload"]
582 fn set_mix_out_curve(self, value: impl ::core::convert::Into<crate::unity_engine::animationcurve::AnimationCurve>) -> () {
583 unsafe {
584 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585 ::unity::il2cpp_call!((::unity::module_base()+0x35e1af0usize)as*mut u8,();
586(TimelineClip)__receiver,(crate::unity_engine::animationcurve::AnimationCurve)::core::convert::Into::into(value))
587 }
588 }
589 #[doc = "`get_mixOutTime()` overload"]
590 fn get_mix_out_time(self) -> f64 {
591 unsafe {
592 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
593 ::unity::il2cpp_call!((::unity::module_base()+0x35e1b00usize)as*mut u8,f64;
594(TimelineClip)__receiver)
595 }
596 }
597 #[doc = "`get_mixOutDuration()` overload"]
598 fn get_mix_out_duration(self) -> f64 {
599 unsafe {
600 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
601 ::unity::il2cpp_call!((::unity::module_base()+0x35e1b40usize)as*mut u8,f64;
602(TimelineClip)__receiver)
603 }
604 }
605 #[doc = "`get_recordable()` overload"]
606 fn get_recordable(self) -> bool {
607 unsafe {
608 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609 ::unity::il2cpp_call!((::unity::module_base()+0x35e1c20usize)as*mut u8,bool;
610(TimelineClip)__receiver)
611 }
612 }
613 #[doc = "`set_recordable(bool)` overload"]
614 fn set_recordable(self, value: impl ::core::convert::Into<bool>) -> () {
615 unsafe {
616 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
617 ::unity::il2cpp_call!((::unity::module_base()+0x35e1c30usize)as*mut u8,();
618(TimelineClip)__receiver,(bool)::core::convert::Into::into(value))
619 }
620 }
621 #[doc = "`get_clipCaps()` overload"]
622 fn get_clip_caps(self) -> crate::unity_engine::timeline::clipcaps::ClipCaps {
623 unsafe {
624 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
625 ::unity::il2cpp_call!((::unity::module_base()+0x35dd000usize)as*mut u8,crate::unity_engine::timeline::clipcaps::ClipCaps;
626(TimelineClip)__receiver)
627 }
628 }
629 #[doc = "`Hash()` overload"]
630 fn hash(self) -> i32 {
631 unsafe {
632 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
633 ::unity::il2cpp_call!((::unity::module_base()+0x35e1c40usize)as*mut u8,i32;
634(TimelineClip)__receiver)
635 }
636 }
637 #[doc = "`EvaluateMixOut(f64)` overload"]
638 fn evaluate_mix_out(self, time: impl ::core::convert::Into<f64>) -> f32 {
639 unsafe {
640 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
641 ::unity::il2cpp_call!((::unity::module_base()+0x35d9d80usize)as*mut u8,f32;
642(TimelineClip)__receiver,(f64)::core::convert::Into::into(time))
643 }
644 }
645 #[doc = "`EvaluateMixIn(f64)` overload"]
646 fn evaluate_mix_in(self, time: impl ::core::convert::Into<f64>) -> f32 {
647 unsafe {
648 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
649 ::unity::il2cpp_call!((::unity::module_base()+0x35d9c40usize)as*mut u8,f32;
650(TimelineClip)__receiver,(f64)::core::convert::Into::into(time))
651 }
652 }
653 #[doc = "`ToLocalTime(f64)` overload"]
654 fn to_local_time(self, time: impl ::core::convert::Into<f64>) -> f64 {
655 unsafe {
656 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657 ::unity::il2cpp_call!((::unity::module_base()+0x35d9e60usize)as*mut u8,f64;
658(TimelineClip)__receiver,(f64)::core::convert::Into::into(time))
659 }
660 }
661 #[doc = "`get_animationClip()` overload"]
662 fn get_animation_clip(self) -> crate::unity_engine::animationclip::AnimationClip {
663 unsafe {
664 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
665 ::unity::il2cpp_call!((::unity::module_base()+0x35e1e80usize)as*mut u8,crate::unity_engine::animationclip::AnimationClip;
666(TimelineClip)__receiver)
667 }
668 }
669 #[doc = "`get_postExtrapolationMode()` overload"]
670 fn get_post_extrapolation_mode(self) -> crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation {
671 unsafe {
672 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
673 ::unity::il2cpp_call!((::unity::module_base()+0x35d6ba0usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation;
674(TimelineClip)__receiver)
675 }
676 }
677 #[doc = "`set_postExtrapolationMode(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation)` overload"]
678 fn set_post_extrapolation_mode(
679 self,
680 value: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation>,
681 ) -> () {
682 unsafe {
683 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
684 ::unity::il2cpp_call!((::unity::module_base()+0x35d20c0usize)as*mut u8,();
685(TimelineClip)__receiver,(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation)::core::convert::Into::into(value))
686 }
687 }
688 #[doc = "`get_preExtrapolationMode()` overload"]
689 fn get_pre_extrapolation_mode(self) -> crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation {
690 unsafe {
691 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
692 ::unity::il2cpp_call!((::unity::module_base()+0x35e1fa0usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation;
693(TimelineClip)__receiver)
694 }
695 }
696 #[doc = "`set_preExtrapolationMode(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation)` overload"]
697 fn set_pre_extrapolation_mode(
698 self,
699 value: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation>,
700 ) -> () {
701 unsafe {
702 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
703 ::unity::il2cpp_call!((::unity::module_base()+0x35d2090usize)as*mut u8,();
704(TimelineClip)__receiver,(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation)::core::convert::Into::into(value))
705 }
706 }
707 #[doc = "`SetPostExtrapolationTime(f64)` overload"]
708 fn set_post_extrapolation_time(self, time: impl ::core::convert::Into<f64>) -> () {
709 unsafe {
710 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
711 ::unity::il2cpp_call!((::unity::module_base()+0x35e1fe0usize)as*mut u8,();
712(TimelineClip)__receiver,(f64)::core::convert::Into::into(time))
713 }
714 }
715 #[doc = "`SetPreExtrapolationTime(f64)` overload"]
716 fn set_pre_extrapolation_time(self, time: impl ::core::convert::Into<f64>) -> () {
717 unsafe {
718 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
719 ::unity::il2cpp_call!((::unity::module_base()+0x35e1ff0usize)as*mut u8,();
720(TimelineClip)__receiver,(f64)::core::convert::Into::into(time))
721 }
722 }
723 #[doc = "`IsPreExtrapolatedTime(f64)` overload"]
724 fn is_pre_extrapolated_time(self, sequence_time: impl ::core::convert::Into<f64>) -> bool {
725 unsafe {
726 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
727 ::unity::il2cpp_call!((::unity::module_base()+0x35d9bd0usize)as*mut u8,bool;
728(TimelineClip)__receiver,(f64)::core::convert::Into::into(sequence_time))
729 }
730 }
731 #[doc = "`IsPostExtrapolatedTime(f64)` overload"]
732 fn is_post_extrapolated_time(self, sequence_time: impl ::core::convert::Into<f64>) -> bool {
733 unsafe {
734 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
735 ::unity::il2cpp_call!((::unity::module_base()+0x35d9d10usize)as*mut u8,bool;
736(TimelineClip)__receiver,(f64)::core::convert::Into::into(sequence_time))
737 }
738 }
739 #[doc = "`get_extrapolatedStart()` overload"]
740 fn get_extrapolated_start(self) -> f64 {
741 unsafe {
742 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
743 ::unity::il2cpp_call!((::unity::module_base()+0x35d94e0usize)as*mut u8,f64;
744(TimelineClip)__receiver)
745 }
746 }
747 #[doc = "`get_extrapolatedDuration()` overload"]
748 fn get_extrapolated_duration(self) -> f64 {
749 unsafe {
750 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
751 ::unity::il2cpp_call!((::unity::module_base()+0x35d9510usize)as*mut u8,f64;
752(TimelineClip)__receiver)
753 }
754 }
755 #[doc = "`UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize()` overload"]
756 fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) -> () {
757 unsafe {
758 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
759 {
760 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
761 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
762 panic!(
763 "unity: virtual slot {}
764 out of range (vtable len {}
765) on the runtime class behind {}
766 (method `{}
767`)",
768 8usize,
769 __vt.len(),
770 <TimelineClip as ::unity::ClassIdentity>::NAME,
771 "UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize",
772 )
773 });
774 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
775 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
776 __inner(__receiver, __mi)
777 }
778 }
779 }
780 #[doc = "`UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()` overload"]
781 fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) -> () {
782 unsafe {
783 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
784 {
785 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
786 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
787 panic!(
788 "unity: virtual slot {}
789 out of range (vtable len {}
790) on the runtime class behind {}
791 (method `{}
792`)",
793 9usize,
794 __vt.len(),
795 <TimelineClip as ::unity::ClassIdentity>::NAME,
796 "UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize",
797 )
798 });
799 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
800 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
801 __inner(__receiver, __mi)
802 }
803 }
804 }
805 #[doc = "`ToString()` overload"]
806 fn to_string(self) -> ::unity::Il2CppString {
807 unsafe {
808 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
809 {
810 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
811 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
812 panic!(
813 "unity: virtual slot {}
814 out of range (vtable len {}
815) on the runtime class behind {}
816 (method `{}
817`)",
818 3usize,
819 __vt.len(),
820 <TimelineClip as ::unity::ClassIdentity>::NAME,
821 "ToString",
822 )
823 });
824 let __inner: extern "C" fn(TimelineClip, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
825 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
826 __inner(__receiver, __mi)
827 }
828 }
829 }
830 #[doc = "`UpdateDirty(f64, f64)` overload"]
831 fn update_dirty(self, old_value: impl ::core::convert::Into<f64>, new_value: impl ::core::convert::Into<f64>) -> () {
832 unsafe {
833 let __receiver = <TimelineClip as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
834 ::unity::il2cpp_call!((::unity::module_base()+0x35e12c0usize)as*mut u8,();
835(TimelineClip)__receiver,(f64)::core::convert::Into::into(old_value),(f64)::core::convert::Into::into(new_value))
836 }
837 }
838}
839
840#[cfg(feature = "unity_engine-timeline-timelineclip")]
841impl<__T: ITimelineClip> ITimelineClipMethods for __T {}
842
843#[cfg(feature = "unity_engine-timeline-timelineclip")]
844impl TimelineClip {
845 pub fn upgrade_to_latest_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
846 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
847 }
848
849 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
850 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
851 }
852
853 pub fn get_time_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
854 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
855 }
856
857 pub fn get_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
858 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
859 }
860
861 pub fn set_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
862 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
863 }
864
865 pub fn get_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
866 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
867 }
868
869 pub fn set_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
870 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
871 }
872
873 pub fn get_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
874 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
875 }
876
877 pub fn get_clip_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
878 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
879 }
880
881 pub fn get_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
882 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
883 }
884
885 pub fn set_display_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
886 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
887 }
888
889 pub fn get_curves_method_info() -> &'static ::unity::il2cpp::MethodInfo {
890 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
891 }
892
893 pub fn unity_engine_timeline_i_curves_owner_get_default_curves_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
894 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
895 }
896
897 pub fn get_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
898 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
899 }
900
901 pub fn set_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
902 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
903 }
904
905 pub fn unity_engine_timeline_i_curves_owner_get_asset_owner_method_info() -> &'static ::unity::il2cpp::MethodInfo {
906 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
907 }
908
909 pub fn unity_engine_timeline_i_curves_owner_get_target_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
910 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
911 }
912
913 pub fn get_parent_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
914 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
915 }
916
917 pub fn set_parent_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
918 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
919 }
920
921 pub fn get_ease_in_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
922 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
923 }
924
925 pub fn get_ease_out_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
926 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
927 }
928
929 pub fn get_blend_in_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
930 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
931 }
932
933 pub fn get_blend_out_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
934 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
935 }
936
937 pub fn get_has_blend_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
938 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
939 }
940
941 pub fn get_has_blend_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
942 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
943 }
944
945 pub fn get_mix_in_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
946 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
947 }
948
949 pub fn set_mix_in_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
950 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
951 }
952
953 pub fn get_mix_in_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
954 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
955 }
956
957 pub fn get_mix_out_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
958 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
959 }
960
961 pub fn set_mix_out_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
962 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
963 }
964
965 pub fn get_mix_out_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
966 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
967 }
968
969 pub fn get_mix_out_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
970 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
971 }
972
973 pub fn get_recordable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
974 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
975 }
976
977 pub fn set_recordable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
979 }
980
981 pub fn get_clip_caps_method_info() -> &'static ::unity::il2cpp::MethodInfo {
982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
983 }
984
985 pub fn hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
987 }
988
989 pub fn evaluate_mix_out_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
991 }
992
993 pub fn evaluate_mix_in_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
995 }
996
997 pub fn get_default_mix_in_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
999 }
1000
1001 pub fn get_default_mix_out_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1003 }
1004
1005 pub fn to_local_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1007 }
1008
1009 pub fn get_animation_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1011 }
1012
1013 pub fn sanitize_time_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1015 }
1016
1017 pub fn get_post_extrapolation_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1019 }
1020
1021 pub fn set_post_extrapolation_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1023 }
1024
1025 pub fn get_pre_extrapolation_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1027 }
1028
1029 pub fn set_pre_extrapolation_mode_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1031 }
1032
1033 pub fn set_post_extrapolation_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1035 }
1036
1037 pub fn set_pre_extrapolation_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1039 }
1040
1041 pub fn is_pre_extrapolated_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1043 }
1044
1045 pub fn is_post_extrapolated_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1047 }
1048
1049 pub fn get_extrapolated_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1051 }
1052
1053 pub fn get_extrapolated_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1055 }
1056
1057 pub fn get_extrapolated_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1059 }
1060
1061 pub fn unity_engine_i_serialization_callback_receiver_on_before_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1063 }
1064
1065 pub fn unity_engine_i_serialization_callback_receiver_on_after_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1067 }
1068
1069 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1071 }
1072
1073 pub fn update_dirty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1075 }
1076
1077 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1079 }
1080}
1081
1082#[cfg(feature = "unity_engine-timeline-timelineclip")]
1083impl TimelineClip {
1084 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `get_duration`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1085 pub unsafe fn get_duration(this: impl ::core::convert::Into<::unity::IlInstance>) -> f64 {
1086 let __mi = Self::get_duration_method_info();
1087 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f64 = ::core::mem::transmute(__mi.method_ptr);
1088 __inner(this.into(), ::core::option::Option::None)
1089 }
1090
1091 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `get_curves`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1092 pub unsafe fn get_curves(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::animationclip::AnimationClip {
1093 let __mi = Self::get_curves_method_info();
1094 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
1095 ::core::mem::transmute(__mi.method_ptr);
1096 __inner(this.into(), ::core::option::Option::None)
1097 }
1098
1099 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1100 pub unsafe fn unity_engine_timeline_i_curves_owner_get_default_curves_name(
1101 this: impl ::core::convert::Into<::unity::IlInstance>,
1102 ) -> ::unity::Il2CppString {
1103 let __mi = Self::unity_engine_timeline_i_curves_owner_get_default_curves_name_method_info();
1104 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1105 __inner(this.into(), ::core::option::Option::None)
1106 }
1107
1108 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `get_asset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1109 pub unsafe fn get_asset(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::object_2::Object_2 {
1110 let __mi = Self::get_asset_method_info();
1111 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
1112 ::core::mem::transmute(__mi.method_ptr);
1113 __inner(this.into(), ::core::option::Option::None)
1114 }
1115
1116 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `UnityEngine.Timeline.ICurvesOwner.get_assetOwner`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1117 pub unsafe fn unity_engine_timeline_i_curves_owner_get_asset_owner(
1118 this: impl ::core::convert::Into<::unity::IlInstance>,
1119 ) -> crate::unity_engine::object_2::Object_2 {
1120 let __mi = Self::unity_engine_timeline_i_curves_owner_get_asset_owner_method_info();
1121 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
1122 ::core::mem::transmute(__mi.method_ptr);
1123 __inner(this.into(), ::core::option::Option::None)
1124 }
1125
1126 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `UnityEngine.Timeline.ICurvesOwner.get_targetTrack`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1127 pub unsafe fn unity_engine_timeline_i_curves_owner_get_target_track(
1128 this: impl ::core::convert::Into<::unity::IlInstance>,
1129 ) -> crate::unity_engine::timeline::trackasset::TrackAsset {
1130 let __mi = Self::unity_engine_timeline_i_curves_owner_get_target_track_method_info();
1131 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::timeline::trackasset::TrackAsset =
1132 ::core::mem::transmute(__mi.method_ptr);
1133 __inner(this.into(), ::core::option::Option::None)
1134 }
1135
1136 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1137 pub unsafe fn unity_engine_i_serialization_callback_receiver_on_before_serialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1138 let __mi = Self::unity_engine_i_serialization_callback_receiver_on_before_serialize_method_info();
1139 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1140 __inner(this.into(), ::core::option::Option::None)
1141 }
1142
1143 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1144 pub unsafe fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1145 let __mi = Self::unity_engine_i_serialization_callback_receiver_on_after_deserialize_method_info();
1146 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1147 __inner(this.into(), ::core::option::Option::None)
1148 }
1149
1150 #[doc = "Direct (non-virtual) call to `TimelineClip`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1151 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1152 let __mi = Self::to_string_method_info();
1153 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1154 __inner(this.into(), ::core::option::Option::None)
1155 }
1156}
1157
1158#[cfg(feature = "unity_engine-timeline-timelineclip")]
1159impl TimelineClip {
1160 #[doc = "`.ctor(crate::unity_engine::timeline::trackasset::TrackAsset)` — overload selector"]
1161 pub fn new(parent: crate::unity_engine::timeline::trackasset::TrackAsset) -> Self {
1162 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1163 panic!(
1164 "{}
1165::{}
1166 failed to instantiate",
1167 ::core::stringify!(TimelineClip),
1168 ::core::stringify!(new),
1169 )
1170 });
1171 <Self as ITimelineClipMethods>::ctor(this, parent);
1172 this
1173 }
1174}
1175
1176#[cfg(feature = "unity_engine-timeline-timelineclip")]
1177impl TimelineClip_TimelineClipUpgrade {
1178 #[doc = "`UpgradeClipInFromGlobalToLocal(crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
1179 pub fn upgrade_clip_in_from_global_to_local(clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>) -> () {
1180 unsafe {
1181 ::unity::il2cpp_call!((::unity::module_base()+0x35e0f60usize)as*mut u8,();
1182(crate::unity_engine::timeline::timelineclip::TimelineClip)::core::convert::Into::into(clip))
1183 }
1184 }
1185}
1186
1187#[cfg(feature = "unity_engine-timeline-timelineclip")]
1188impl TimelineClip_TimelineClipUpgrade {
1189 pub fn upgrade_clip_in_from_global_to_local_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1191 }
1192}
1193
1194#[cfg(feature = "unity_engine-timeline-timelineclip")]
1195#[doc(hidden)]
1196pub mod prelude {
1197 pub use super::{
1198 ITimelineClip, ITimelineClipMethods, ITimelineClip_TimelineClipUpgrade, TimelineClip, TimelineClip_BlendCurveMode,
1199 TimelineClip_ClipExtrapolation, TimelineClip_TimelineClipUpgrade,
1200 };
1201 #[cfg(feature = "system-object")]
1202 pub use crate::system::object::IObjectMethods;
1203 #[cfg(feature = "system-enum")]
1204 pub use crate::system::r#enum::IEnumMethods;
1205 #[cfg(feature = "system-valuetype")]
1206 pub use crate::system::valuetype::IValueTypeMethods;
1207 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
1208}