1#[cfg(feature = "unity_engine-timeline-trackasset-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::{
10 object::{IObject, Object},
11 valuetype::{IValueType, ValueType},
12 },
13 unity_engine::{
14 object_2::{IObject_2, Object_2},
15 playables::playableasset::{IPlayableAsset, PlayableAsset},
16 scriptableobject::{IScriptableObject, ScriptableObject},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/trackasset/TrackAsset_TransientBuildData.md"))]
21 #[repr(C)]
22 #[derive(::core::clone::Clone, ::core::marker::Copy)]
23 pub struct TrackAsset_TransientBuildData {
24 pub track_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::trackasset::TrackAsset>,
25 pub clip_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::timelineclip::TimelineClip>,
26 pub marker_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>,
27 }
28 impl ::unity::ClassIdentity for TrackAsset_TransientBuildData {
29 const NAME: &'static str = "TrackAsset.TransientBuildData";
30 const NAMESPACE: &'static str = "UnityEngine.Timeline";
31
32 fn class() -> ::unity::Class {
33 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35 }
36 }
37 impl ::unity::IlType for TrackAsset_TransientBuildData {
38 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40 }
41 }
42
43 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/timeline/trackasset/TrackAsset.md"))]
44 #[::unity::class(namespace = "UnityEngine.Timeline", name = "TrackAsset")]
45 #[parent(crate::unity_engine::playables::playableasset::PlayableAsset)]
46 pub struct TrackAsset {
47 #[static_field]
48 #[rename(name = "k_LatestVersion")]
49 pub k_latest_version: i32,
50 #[offset(24)]
51 #[rename(name = "m_Version")]
52 pub m_version: i32,
53 #[offset(32)]
54 #[rename(name = "m_AnimClip")]
55 pub m_anim_clip: crate::unity_engine::animationclip::AnimationClip,
56 #[static_field]
57 #[rename(name = "s_BuildData")]
58 pub s_build_data: crate::unity_engine::timeline::trackasset::TrackAsset_TransientBuildData,
59 #[static_field]
60 #[rename(name = "kDefaultCurvesName")]
61 pub k_default_curves_name: ::unity::Il2CppString,
62 #[static_field]
63 #[rename(name = "OnClipPlayableCreate")]
64 pub on_clip_playable_create: crate::system::action_3::Action_3<
65 crate::unity_engine::timeline::timelineclip::TimelineClip,
66 crate::unity_engine::gameobject::GameObject,
67 crate::unity_engine::playables::playable::Playable,
68 >,
69 #[static_field]
70 #[rename(name = "OnTrackAnimationPlayableCreate")]
71 pub on_track_animation_playable_create: crate::system::action_3::Action_3<
72 crate::unity_engine::timeline::trackasset::TrackAsset,
73 crate::unity_engine::gameobject::GameObject,
74 crate::unity_engine::playables::playable::Playable,
75 >,
76 #[offset(40)]
77 #[rename(name = "m_Locked")]
78 pub m_locked: bool,
79 #[offset(41)]
80 #[rename(name = "m_Muted")]
81 pub m_muted: bool,
82 #[offset(48)]
83 #[rename(name = "m_CustomPlayableFullTypename")]
84 pub m_custom_playable_full_typename: ::unity::Il2CppString,
85 #[offset(56)]
86 #[rename(name = "m_Curves")]
87 pub m_curves: crate::unity_engine::animationclip::AnimationClip,
88 #[offset(64)]
89 #[rename(name = "m_Parent")]
90 pub m_parent: crate::unity_engine::playables::playableasset::PlayableAsset,
91 #[offset(72)]
92 #[rename(name = "m_Children")]
93 pub m_children: crate::system::collections::generic::list_1::List_1<crate::unity_engine::scriptableobject::ScriptableObject>,
94 #[offset(80)]
95 #[rename(name = "m_ItemsHash")]
96 pub m_items_hash: i32,
97 #[offset(88)]
98 #[rename(name = "m_ClipsCache")]
99 pub m_clips_cache: ::unity::Array<crate::unity_engine::timeline::timelineclip::TimelineClip>,
100 #[offset(96)]
101 #[rename(name = "m_Start")]
102 pub m_start: crate::unity_engine::timeline::discretetime::DiscreteTime,
103 #[offset(104)]
104 #[rename(name = "m_End")]
105 pub m_end: crate::unity_engine::timeline::discretetime::DiscreteTime,
106 #[offset(112)]
107 #[rename(name = "m_CacheSorted")]
108 pub m_cache_sorted: bool,
109 #[static_field]
110 #[rename(name = "s_EmptyCache")]
111 pub s_empty_cache: ::unity::Array<crate::unity_engine::timeline::trackasset::TrackAsset>,
112 #[offset(120)]
113 #[rename(name = "m_ChildTrackCache")]
114 pub m_child_track_cache:
115 crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::trackasset::TrackAsset>,
116 #[static_field]
117 #[rename(name = "s_TrackBindingTypeAttributeCache")]
118 pub s_track_binding_type_attribute_cache: crate::system::collections::generic::dictionary_2::Dictionary_2<
119 ::unity::SystemType,
120 crate::unity_engine::timeline::trackbindingtypeattribute::TrackBindingTypeAttribute,
121 >,
122 #[offset(128)]
123 #[rename(name = "m_Clips")]
124 pub m_clips: crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::timelineclip::TimelineClip>,
125 #[offset(136)]
126 #[rename(name = "m_Markers")]
127 pub m_markers: crate::unity_engine::timeline::markerlist::MarkerList,
128 }
129}
130
131#[cfg(feature = "unity_engine-timeline-trackasset-types")]
132pub use __types::*;
133
134#[cfg(feature = "unity_engine-timeline-trackasset")]
135impl TrackAsset_TransientBuildData {
136 #[doc = "`Create()` overload"]
137 pub fn create() -> crate::unity_engine::timeline::trackasset::TrackAsset_TransientBuildData {
138 unsafe {
139 ::unity::il2cpp_call!((::unity::module_base()+0x35ea440usize)as*mut u8,crate::unity_engine::timeline::trackasset::TrackAsset_TransientBuildData;
140 )
141 }
142 }
143}
144
145#[cfg(feature = "unity_engine-timeline-trackasset")]
146impl TrackAsset_TransientBuildData {
147 #[doc = "`Clear()` overload"]
148 pub fn clear(&mut self) -> () {
149 unsafe {
150 ::unity::il2cpp_call!((::unity::module_base()+0x35e8080usize)as*mut u8,();
151(*mut TrackAsset_TransientBuildData)self as*mut TrackAsset_TransientBuildData)
152 }
153 }
154}
155
156#[cfg(feature = "unity_engine-timeline-trackasset")]
157impl TrackAsset_TransientBuildData {
158 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
160 }
161
162 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
164 }
165}
166
167#[cfg(feature = "unity_engine-timeline-trackasset")]
168impl TrackAsset {
169 #[doc = "`add_OnClipPlayableCreate(crate::system::action_3::Action_3<crate::unity_engine::timeline::timelineclip::TimelineClip,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)` overload"]
170 pub fn add_on_clip_playable_create(
171 value: impl ::core::convert::Into<
172 crate::system::action_3::Action_3<
173 crate::unity_engine::timeline::timelineclip::TimelineClip,
174 crate::unity_engine::gameobject::GameObject,
175 crate::unity_engine::playables::playable::Playable,
176 >,
177 >,
178 ) -> () {
179 unsafe {
180 ::unity::il2cpp_call!((::unity::module_base()+0x35e4ca0usize)as*mut u8,();
181(crate::system::action_3::Action_3<crate::unity_engine::timeline::timelineclip::TimelineClip,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)::core::convert::Into::into(value))
182 }
183 }
184
185 #[doc = "`remove_OnClipPlayableCreate(crate::system::action_3::Action_3<crate::unity_engine::timeline::timelineclip::TimelineClip,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)` overload"]
186 pub fn remove_on_clip_playable_create(
187 value: impl ::core::convert::Into<
188 crate::system::action_3::Action_3<
189 crate::unity_engine::timeline::timelineclip::TimelineClip,
190 crate::unity_engine::gameobject::GameObject,
191 crate::unity_engine::playables::playable::Playable,
192 >,
193 >,
194 ) -> () {
195 unsafe {
196 ::unity::il2cpp_call!((::unity::module_base()+0x35e4da0usize)as*mut u8,();
197(crate::system::action_3::Action_3<crate::unity_engine::timeline::timelineclip::TimelineClip,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)::core::convert::Into::into(value))
198 }
199 }
200
201 #[doc = "`add_OnTrackAnimationPlayableCreate(crate::system::action_3::Action_3<crate::unity_engine::timeline::trackasset::TrackAsset,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)` overload"]
202 pub fn add_on_track_animation_playable_create(
203 value: impl ::core::convert::Into<
204 crate::system::action_3::Action_3<
205 crate::unity_engine::timeline::trackasset::TrackAsset,
206 crate::unity_engine::gameobject::GameObject,
207 crate::unity_engine::playables::playable::Playable,
208 >,
209 >,
210 ) -> () {
211 unsafe {
212 ::unity::il2cpp_call!((::unity::module_base()+0x35e4ea0usize)as*mut u8,();
213(crate::system::action_3::Action_3<crate::unity_engine::timeline::trackasset::TrackAsset,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)::core::convert::Into::into(value))
214 }
215 }
216
217 #[doc = "`remove_OnTrackAnimationPlayableCreate(crate::system::action_3::Action_3<crate::unity_engine::timeline::trackasset::TrackAsset,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)` overload"]
218 pub fn remove_on_track_animation_playable_create(
219 value: impl ::core::convert::Into<
220 crate::system::action_3::Action_3<
221 crate::unity_engine::timeline::trackasset::TrackAsset,
222 crate::unity_engine::gameobject::GameObject,
223 crate::unity_engine::playables::playable::Playable,
224 >,
225 >,
226 ) -> () {
227 unsafe {
228 ::unity::il2cpp_call!((::unity::module_base()+0x35e4fa0usize)as*mut u8,();
229(crate::system::action_3::Action_3<crate::unity_engine::timeline::trackasset::TrackAsset,crate::unity_engine::gameobject::GameObject,crate::unity_engine::playables::playable::Playable>)::core::convert::Into::into(value))
230 }
231 }
232
233 #[doc = "`GetAnimationClipHash(crate::unity_engine::animationclip::AnimationClip)` overload"]
234 pub fn get_animation_clip_hash(clip: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>) -> i32 {
235 unsafe {
236 ::unity::il2cpp_call!((::unity::module_base()+0x35d2190usize)as*mut u8,i32;
237(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(clip))
238 }
239 }
240
241 #[doc = "`.cctor()` overload"]
242 pub fn cctor() -> () {
243 unsafe {
244 ::unity::il2cpp_call!((::unity::module_base()+0x35ea340usize)as*mut u8,();
245 )
246 }
247 }
248}
249
250#[cfg(feature = "unity_engine-timeline-trackasset")]
251pub trait ITrackAssetMethods: ITrackAsset {
252 #[doc = "`OnBeforeTrackSerialize()` overload"]
253 fn on_before_track_serialize(self) -> () {
254 unsafe {
255 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
256 {
257 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
258 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
259 panic!(
260 "unity: virtual slot {}
261 out of range (vtable len {}
262) on the runtime class behind {}
263 (method `{}
264`)",
265 16usize,
266 __vt.len(),
267 <TrackAsset as ::unity::ClassIdentity>::NAME,
268 "OnBeforeTrackSerialize",
269 )
270 });
271 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
272 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
273 __inner(__receiver, __mi)
274 }
275 }
276 }
277 #[doc = "`OnAfterTrackDeserialize()` overload"]
278 fn on_after_track_deserialize(self) -> () {
279 unsafe {
280 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 {
282 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
283 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
284 panic!(
285 "unity: virtual slot {}
286 out of range (vtable len {}
287) on the runtime class behind {}
288 (method `{}
289`)",
290 17usize,
291 __vt.len(),
292 <TrackAsset as ::unity::ClassIdentity>::NAME,
293 "OnAfterTrackDeserialize",
294 )
295 });
296 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
297 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
298 __inner(__receiver, __mi)
299 }
300 }
301 }
302 #[doc = "`OnUpgradeFromVersion(i32)` overload"]
303 fn on_upgrade_from_version(self, old_version: impl ::core::convert::Into<i32>) -> () {
304 unsafe {
305 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306 {
307 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
308 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
309 panic!(
310 "unity: virtual slot {}
311 out of range (vtable len {}
312) on the runtime class behind {}
313 (method `{}
314`)",
315 18usize,
316 __vt.len(),
317 <TrackAsset as ::unity::ClassIdentity>::NAME,
318 "OnUpgradeFromVersion",
319 )
320 });
321 let __inner: extern "C" fn(TrackAsset, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
322 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
323 __inner(__receiver, ::core::convert::Into::into(old_version), __mi)
324 }
325 }
326 }
327 #[doc = "`UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize()` overload"]
328 fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) -> () {
329 unsafe {
330 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
331 {
332 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
333 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
334 panic!(
335 "unity: virtual slot {}
336 out of range (vtable len {}
337) on the runtime class behind {}
338 (method `{}
339`)",
340 9usize,
341 __vt.len(),
342 <TrackAsset as ::unity::ClassIdentity>::NAME,
343 "UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize",
344 )
345 });
346 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
347 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
348 __inner(__receiver, __mi)
349 }
350 }
351 }
352 #[doc = "`UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()` overload"]
353 fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) -> () {
354 unsafe {
355 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 {
357 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
358 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
359 panic!(
360 "unity: virtual slot {}
361 out of range (vtable len {}
362) on the runtime class behind {}
363 (method `{}
364`)",
365 10usize,
366 __vt.len(),
367 <TrackAsset as ::unity::ClassIdentity>::NAME,
368 "UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize",
369 )
370 });
371 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
372 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
373 __inner(__receiver, __mi)
374 }
375 }
376 }
377 #[doc = "`UpgradeToLatestVersion()` overload"]
378 fn upgrade_to_latest_version(self) -> () {
379 unsafe {
380 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x35e4c60usize)as*mut u8,();
382(TrackAsset)__receiver)
383 }
384 }
385 #[doc = "`get_start()` overload"]
386 fn get_start(self) -> f64 {
387 unsafe {
388 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389 ::unity::il2cpp_call!((::unity::module_base()+0x35e50a0usize)as*mut u8,f64;
390(TrackAsset)__receiver)
391 }
392 }
393 #[doc = "`get_end()` overload"]
394 fn get_end(self) -> f64 {
395 unsafe {
396 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
397 ::unity::il2cpp_call!((::unity::module_base()+0x35def80usize)as*mut u8,f64;
398(TrackAsset)__receiver)
399 }
400 }
401 #[doc = "`get_duration()` overload"]
402 fn get_duration(self) -> f64 {
403 unsafe {
404 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
405 {
406 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
407 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
408 panic!(
409 "unity: virtual slot {}
410 out of range (vtable len {}
411) on the runtime class behind {}
412 (method `{}
413`)",
414 7usize,
415 __vt.len(),
416 <TrackAsset as ::unity::ClassIdentity>::NAME,
417 "get_duration",
418 )
419 });
420 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> f64 = ::core::mem::transmute(__vi.method_ptr);
421 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
422 __inner(__receiver, __mi)
423 }
424 }
425 }
426 #[doc = "`get_muted()` overload"]
427 fn get_muted(self) -> bool {
428 unsafe {
429 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x35e5380usize)as*mut u8,bool;
431(TrackAsset)__receiver)
432 }
433 }
434 #[doc = "`set_muted(bool)` overload"]
435 fn set_muted(self, value: impl ::core::convert::Into<bool>) -> () {
436 unsafe {
437 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x35e5390usize)as*mut u8,();
439(TrackAsset)__receiver,(bool)::core::convert::Into::into(value))
440 }
441 }
442 #[doc = "`get_mutedInHierarchy()` overload"]
443 fn get_muted_in_hierarchy(self) -> bool {
444 unsafe {
445 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x35deba0usize)as*mut u8,bool;
447(TrackAsset)__receiver)
448 }
449 }
450 #[doc = "`get_timelineAsset()` overload"]
451 fn get_timeline_asset(self) -> crate::unity_engine::timeline::timelineasset::TimelineAsset {
452 unsafe {
453 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454 ::unity::il2cpp_call!((::unity::module_base()+0x35d79a0usize)as*mut u8,crate::unity_engine::timeline::timelineasset::TimelineAsset;
455(TrackAsset)__receiver)
456 }
457 }
458 #[doc = "`get_parent()` overload"]
459 fn get_parent(self) -> crate::unity_engine::playables::playableasset::PlayableAsset {
460 unsafe {
461 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x35e53a0usize)as*mut u8,crate::unity_engine::playables::playableasset::PlayableAsset;
463(TrackAsset)__receiver)
464 }
465 }
466 #[doc = "`set_parent(crate::unity_engine::playables::playableasset::PlayableAsset)` overload"]
467 fn set_parent(self, value: impl ::core::convert::Into<crate::unity_engine::playables::playableasset::PlayableAsset>) -> () {
468 unsafe {
469 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x35e53b0usize)as*mut u8,();
471(TrackAsset)__receiver,(crate::unity_engine::playables::playableasset::PlayableAsset)::core::convert::Into::into(value))
472 }
473 }
474 #[doc = "`GetClips()` overload"]
475 fn get_clips(
476 self,
477 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::timelineclip::TimelineClip> {
478 unsafe {
479 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
480 ::unity::il2cpp_call!((::unity::module_base()+0x35d5740usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::timelineclip::TimelineClip> ;
481(TrackAsset)__receiver)
482 }
483 }
484 #[doc = "`get_isEmpty()` overload"]
485 fn get_is_empty(self) -> bool {
486 unsafe {
487 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
488 {
489 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
490 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
491 panic!(
492 "unity: virtual slot {}
493 out of range (vtable len {}
494) on the runtime class behind {}
495 (method `{}
496`)",
497 19usize,
498 __vt.len(),
499 <TrackAsset as ::unity::ClassIdentity>::NAME,
500 "get_isEmpty",
501 )
502 });
503 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
504 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
505 __inner(__receiver, __mi)
506 }
507 }
508 }
509 #[doc = "`get_hasClips()` overload"]
510 fn get_has_clips(self) -> bool {
511 unsafe {
512 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x35e54d0usize)as*mut u8,bool;
514(TrackAsset)__receiver)
515 }
516 }
517 #[doc = "`get_hasCurves()` overload"]
518 fn get_has_curves(self) -> bool {
519 unsafe {
520 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 {
522 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
523 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
524 panic!(
525 "unity: virtual slot {}
526 out of range (vtable len {}
527) on the runtime class behind {}
528 (method `{}
529`)",
530 20usize,
531 __vt.len(),
532 <TrackAsset as ::unity::ClassIdentity>::NAME,
533 "get_hasCurves",
534 )
535 });
536 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
537 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
538 __inner(__receiver, __mi)
539 }
540 }
541 }
542 #[doc = "`get_isSubTrack()` overload"]
543 fn get_is_sub_track(self) -> bool {
544 unsafe {
545 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
546 ::unity::il2cpp_call!((::unity::module_base()+0x35d1f50usize)as*mut u8,bool;
547(TrackAsset)__receiver)
548 }
549 }
550 #[doc = "`get_outputs()` overload"]
551 fn get_outputs(
552 self,
553 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::playables::playablebinding::PlayableBinding> {
554 unsafe {
555 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556 {
557 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
558 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
559 panic!(
560 "unity: virtual slot {}
561 out of range (vtable len {}
562) on the runtime class behind {}
563 (method `{}
564`)",
565 8usize,
566 __vt.len(),
567 <TrackAsset as ::unity::ClassIdentity>::NAME,
568 "get_outputs",
569 )
570 });
571 let __inner: extern "C" fn(
572 TrackAsset,
573 ::unity::OptionalMethod,
574 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<
575 crate::unity_engine::playables::playablebinding::PlayableBinding,
576 > = ::core::mem::transmute(__vi.method_ptr);
577 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
578 __inner(__receiver, __mi)
579 }
580 }
581 }
582 #[doc = "`GetChildTracks()` overload"]
583 fn get_child_tracks(
584 self,
585 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::trackasset::TrackAsset> {
586 unsafe {
587 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
588 ::unity::il2cpp_call!((::unity::module_base()+0x35d3cc0usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::trackasset::TrackAsset> ;
589(TrackAsset)__receiver)
590 }
591 }
592 #[doc = "`get_customPlayableTypename()` overload"]
593 fn get_custom_playable_typename(self) -> ::unity::Il2CppString {
594 unsafe {
595 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
596 ::unity::il2cpp_call!((::unity::module_base()+0x35e5890usize)as*mut u8, ::unity::Il2CppString;
597(TrackAsset)__receiver)
598 }
599 }
600 #[doc = "`set_customPlayableTypename(::unity::Il2CppString)` overload"]
601 fn set_custom_playable_typename(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
602 unsafe {
603 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
604 ::unity::il2cpp_call!((::unity::module_base()+0x35e58a0usize)as*mut u8,();
605(TrackAsset)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
606 }
607 }
608 #[doc = "`get_curves()` overload"]
609 fn get_curves(self) -> crate::unity_engine::animationclip::AnimationClip {
610 unsafe {
611 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612 {
613 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
614 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
615 panic!(
616 "unity: virtual slot {}
617 out of range (vtable len {}
618) on the runtime class behind {}
619 (method `{}
620`)",
621 21usize,
622 __vt.len(),
623 <TrackAsset as ::unity::ClassIdentity>::NAME,
624 "get_curves",
625 )
626 });
627 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
628 ::core::mem::transmute(__vi.method_ptr);
629 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
630 __inner(__receiver, __mi)
631 }
632 }
633 }
634 #[doc = "`set_curves(crate::unity_engine::animationclip::AnimationClip)` overload"]
635 fn set_curves(self, value: impl ::core::convert::Into<crate::unity_engine::animationclip::AnimationClip>) -> () {
636 unsafe {
637 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
638 ::unity::il2cpp_call!((::unity::module_base()+0x35e58c0usize)as*mut u8,();
639(TrackAsset)__receiver,(crate::unity_engine::animationclip::AnimationClip)::core::convert::Into::into(value))
640 }
641 }
642 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName()` overload"]
643 fn unity_engine_timeline_i_curves_owner_get_default_curves_name(self) -> ::unity::Il2CppString {
644 unsafe {
645 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
646 {
647 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
648 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
649 panic!(
650 "unity: virtual slot {}
651 out of range (vtable len {}
652) on the runtime class behind {}
653 (method `{}
654`)",
655 12usize,
656 __vt.len(),
657 <TrackAsset as ::unity::ClassIdentity>::NAME,
658 "UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName",
659 )
660 });
661 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
662 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
663 __inner(__receiver, __mi)
664 }
665 }
666 }
667 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_asset()` overload"]
668 fn unity_engine_timeline_i_curves_owner_get_asset(self) -> crate::unity_engine::object_2::Object_2 {
669 unsafe {
670 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
671 {
672 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
673 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
674 panic!(
675 "unity: virtual slot {}
676 out of range (vtable len {}
677) on the runtime class behind {}
678 (method `{}
679`)",
680 13usize,
681 __vt.len(),
682 <TrackAsset as ::unity::ClassIdentity>::NAME,
683 "UnityEngine.Timeline.ICurvesOwner.get_asset",
684 )
685 });
686 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
687 ::core::mem::transmute(__vi.method_ptr);
688 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
689 __inner(__receiver, __mi)
690 }
691 }
692 }
693 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_assetOwner()` overload"]
694 fn unity_engine_timeline_i_curves_owner_get_asset_owner(self) -> crate::unity_engine::object_2::Object_2 {
695 unsafe {
696 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
697 {
698 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
699 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
700 panic!(
701 "unity: virtual slot {}
702 out of range (vtable len {}
703) on the runtime class behind {}
704 (method `{}
705`)",
706 14usize,
707 __vt.len(),
708 <TrackAsset as ::unity::ClassIdentity>::NAME,
709 "UnityEngine.Timeline.ICurvesOwner.get_assetOwner",
710 )
711 });
712 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
713 ::core::mem::transmute(__vi.method_ptr);
714 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
715 __inner(__receiver, __mi)
716 }
717 }
718 }
719 #[doc = "`UnityEngine.Timeline.ICurvesOwner.get_targetTrack()` overload"]
720 fn unity_engine_timeline_i_curves_owner_get_target_track(self) -> crate::unity_engine::timeline::trackasset::TrackAsset {
721 unsafe {
722 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
723 {
724 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
725 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
726 panic!(
727 "unity: virtual slot {}
728 out of range (vtable len {}
729) on the runtime class behind {}
730 (method `{}
731`)",
732 15usize,
733 __vt.len(),
734 <TrackAsset as ::unity::ClassIdentity>::NAME,
735 "UnityEngine.Timeline.ICurvesOwner.get_targetTrack",
736 )
737 });
738 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> crate::unity_engine::timeline::trackasset::TrackAsset =
739 ::core::mem::transmute(__vi.method_ptr);
740 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
741 __inner(__receiver, __mi)
742 }
743 }
744 }
745 #[doc = "`get_subTracksObjects()` overload"]
746 fn get_sub_tracks_objects(self) -> crate::system::collections::generic::list_1::List_1<crate::unity_engine::scriptableobject::ScriptableObject> {
747 unsafe {
748 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
749 ::unity::il2cpp_call!((::unity::module_base()+0x35e5950usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::scriptableobject::ScriptableObject> ;
750(TrackAsset)__receiver)
751 }
752 }
753 #[doc = "`get_locked()` overload"]
754 fn get_locked(self) -> bool {
755 unsafe {
756 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
757 ::unity::il2cpp_call!((::unity::module_base()+0x35e5960usize)as*mut u8,bool;
758(TrackAsset)__receiver)
759 }
760 }
761 #[doc = "`set_locked(bool)` overload"]
762 fn set_locked(self, value: impl ::core::convert::Into<bool>) -> () {
763 unsafe {
764 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
765 ::unity::il2cpp_call!((::unity::module_base()+0x35e5970usize)as*mut u8,();
766(TrackAsset)__receiver,(bool)::core::convert::Into::into(value))
767 }
768 }
769 #[doc = "`get_lockedInHierarchy()` overload"]
770 fn get_locked_in_hierarchy(self) -> bool {
771 unsafe {
772 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
773 ::unity::il2cpp_call!((::unity::module_base()+0x35e5980usize)as*mut u8,bool;
774(TrackAsset)__receiver)
775 }
776 }
777 #[doc = "`get_supportsNotifications()` overload"]
778 fn get_supports_notifications(self) -> bool {
779 unsafe {
780 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
781 ::unity::il2cpp_call!((::unity::module_base()+0x35d8220usize)as*mut u8,bool;
782(TrackAsset)__receiver)
783 }
784 }
785 #[doc = "`__internalAwake()` overload"]
786 fn internal_awake(self) -> () {
787 unsafe {
788 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789 ::unity::il2cpp_call!((::unity::module_base()+0x35e5b50usize)as*mut u8,();
790(TrackAsset)__receiver)
791 }
792 }
793 #[doc = "`CreateCurves(::unity::Il2CppString)` overload"]
794 fn create_curves(self, curves_clip_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
795 unsafe {
796 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
797 {
798 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
799 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
800 panic!(
801 "unity: virtual slot {}
802 out of range (vtable len {}
803) on the runtime class behind {}
804 (method `{}
805`)",
806 22usize,
807 __vt.len(),
808 <TrackAsset as ::unity::ClassIdentity>::NAME,
809 "CreateCurves",
810 )
811 });
812 let __inner: extern "C" fn(TrackAsset, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
813 ::core::mem::transmute(__vi.method_ptr);
814 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
815 __inner(__receiver, ::core::convert::Into::into(curves_clip_name), __mi)
816 }
817 }
818 }
819 #[doc = "`CreateTrackMixer(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, i32)` overload"]
820 fn create_track_mixer(
821 self,
822 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
823 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
824 input_count: impl ::core::convert::Into<i32>,
825 ) -> crate::unity_engine::playables::playable::Playable {
826 unsafe {
827 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
828 {
829 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
830 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
831 panic!(
832 "unity: virtual slot {}
833 out of range (vtable len {}
834) on the runtime class behind {}
835 (method `{}
836`)",
837 23usize,
838 __vt.len(),
839 <TrackAsset as ::unity::ClassIdentity>::NAME,
840 "CreateTrackMixer",
841 )
842 });
843 let __inner: extern "C" fn(
844 TrackAsset,
845 crate::unity_engine::playables::playablegraph::PlayableGraph,
846 crate::unity_engine::gameobject::GameObject,
847 i32,
848 ::unity::OptionalMethod,
849 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__vi.method_ptr);
850 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
851 __inner(
852 __receiver,
853 ::core::convert::Into::into(graph),
854 ::core::convert::Into::into(go),
855 ::core::convert::Into::into(input_count),
856 __mi,
857 )
858 }
859 }
860 }
861 #[doc = "`CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject)` overload"]
862 fn create_playable(
863 self,
864 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
865 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
866 ) -> crate::unity_engine::playables::playable::Playable {
867 unsafe {
868 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
869 {
870 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
871 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
872 panic!(
873 "unity: virtual slot {}
874 out of range (vtable len {}
875) on the runtime class behind {}
876 (method `{}
877`)",
878 6usize,
879 __vt.len(),
880 <TrackAsset as ::unity::ClassIdentity>::NAME,
881 "CreatePlayable",
882 )
883 });
884 let __inner: extern "C" fn(
885 TrackAsset,
886 crate::unity_engine::playables::playablegraph::PlayableGraph,
887 crate::unity_engine::gameobject::GameObject,
888 ::unity::OptionalMethod,
889 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__vi.method_ptr);
890 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
891 __inner(__receiver, ::core::convert::Into::into(graph), ::core::convert::Into::into(go), __mi)
892 }
893 }
894 }
895 #[doc = "`CreateDefaultClip()` overload"]
896 fn create_default_clip(self) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
897 unsafe {
898 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
899 ::unity::il2cpp_call!((::unity::module_base()+0x35e5e40usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
900(TrackAsset)__receiver)
901 }
902 }
903 fn create_clip<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
904 self,
905 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
906 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
907 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<TrackAsset as ::unity::ClassIdentity>::class(), "CreateClip", 0));
908 #[allow(clippy::type_complexity)]
909 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
910 ::std::sync::OnceLock::new();
911 let _ = false;
912 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
913 ::core::result::Result::Ok(mi) => *mi,
914 ::core::result::Result::Err(e) => {
915 panic!(
916 "method lookup failed: {}
917::{}
918: {}
919",
920 <TrackAsset as ::unity::ClassIdentity>::NAME,
921 "CreateClip",
922 e
923 )
924 },
925 };
926 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
927 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
928 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
929 let mut __guard = __cache.lock().unwrap();
930 *__guard
931 .entry(__key)
932 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
933 };
934 unsafe {
935 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936 let __f: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> crate::unity_engine::timeline::timelineclip::TimelineClip =
937 ::core::mem::transmute(__inflated.method_ptr);
938 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
939 __f(__receiver, ::core::option::Option::Some(__mi_opaque))
940 }
941 }
942 #[doc = "`DeleteClip(crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
943 fn delete_clip(self, clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>) -> bool {
944 unsafe {
945 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
946 ::unity::il2cpp_call!((::unity::module_base()+0x35e6240usize)as*mut u8,bool;
947(TrackAsset)__receiver,(crate::unity_engine::timeline::timelineclip::TimelineClip)::core::convert::Into::into(clip))
948 }
949 }
950 #[doc = "`CreateMarker(::unity::SystemType, f64)` overload"]
951 fn create_marker(
952 self,
953 r#type: impl ::core::convert::Into<::unity::SystemType>,
954 time: impl ::core::convert::Into<f64>,
955 ) -> crate::unity_engine::timeline::imarker_interface::IMarker_Interface {
956 unsafe {
957 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
958 ::unity::il2cpp_call!((::unity::module_base()+0x35e6360usize)as*mut u8,crate::unity_engine::timeline::imarker_interface::IMarker_Interface;
959(TrackAsset)__receiver,(::unity::SystemType)::core::convert::Into::into(r#type),(f64)::core::convert::Into::into(time))
960 }
961 }
962 fn create_marker_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(self, time: impl ::core::convert::Into<f64>) -> M0 {
963 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
964 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<TrackAsset as ::unity::ClassIdentity>::class(), "CreateMarker", 1));
965 #[allow(clippy::type_complexity)]
966 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
967 ::std::sync::OnceLock::new();
968 let _ = false;
969 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
970 ::core::result::Result::Ok(mi) => *mi,
971 ::core::result::Result::Err(e) => {
972 panic!(
973 "method lookup failed: {}
974::{}
975: {}
976",
977 <TrackAsset as ::unity::ClassIdentity>::NAME,
978 "CreateMarker",
979 e
980 )
981 },
982 };
983 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
984 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
985 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
986 let mut __guard = __cache.lock().unwrap();
987 *__guard
988 .entry(__key)
989 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
990 };
991 unsafe {
992 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
993 let __f: extern "C" fn(TrackAsset, f64, ::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
994 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
995 __f(__receiver, ::core::convert::Into::into(time), ::core::option::Option::Some(__mi_opaque))
996 }
997 }
998 #[doc = "`DeleteMarker(crate::unity_engine::timeline::imarker_interface::IMarker_Interface)` overload"]
999 fn delete_marker(self, marker: impl ::core::convert::Into<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>) -> bool {
1000 unsafe {
1001 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1002 ::unity::il2cpp_call!((::unity::module_base()+0x35e6370usize)as*mut u8,bool;
1003(TrackAsset)__receiver,(crate::unity_engine::timeline::imarker_interface::IMarker_Interface)::core::convert::Into::into(marker))
1004 }
1005 }
1006 #[doc = "`GetMarkers()` overload"]
1007 fn get_markers(
1008 self,
1009 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface> {
1010 unsafe {
1011 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1012 ::unity::il2cpp_call!((::unity::module_base()+0x35e4c70usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface> ;
1013(TrackAsset)__receiver)
1014 }
1015 }
1016 #[doc = "`GetMarkerCount()` overload"]
1017 fn get_marker_count(self) -> i32 {
1018 unsafe {
1019 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1020 ::unity::il2cpp_call!((::unity::module_base()+0x35e55d0usize)as*mut u8,i32;
1021(TrackAsset)__receiver)
1022 }
1023 }
1024 #[doc = "`GetMarker(i32)` overload"]
1025 fn get_marker(self, idx: impl ::core::convert::Into<i32>) -> crate::unity_engine::timeline::imarker_interface::IMarker_Interface {
1026 unsafe {
1027 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1028 ::unity::il2cpp_call!((::unity::module_base()+0x35e6380usize)as*mut u8,crate::unity_engine::timeline::imarker_interface::IMarker_Interface;
1029(TrackAsset)__receiver,(i32)::core::convert::Into::into(idx))
1030 }
1031 }
1032 #[doc = "`CreateClip(::unity::SystemType)` overload"]
1033 fn create_clip_2(
1034 self,
1035 requested_type: impl ::core::convert::Into<::unity::SystemType>,
1036 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1037 unsafe {
1038 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1039 ::unity::il2cpp_call!((::unity::module_base()+0x35e6400usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1040(TrackAsset)__receiver,(::unity::SystemType)::core::convert::Into::into(requested_type))
1041 }
1042 }
1043 #[doc = "`CreateAndAddNewClipOfType(::unity::SystemType)` overload"]
1044 fn create_and_add_new_clip_of_type(
1045 self,
1046 requested_type: impl ::core::convert::Into<::unity::SystemType>,
1047 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1048 unsafe {
1049 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1050 ::unity::il2cpp_call!((::unity::module_base()+0x35e61a0usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1051(TrackAsset)__receiver,(::unity::SystemType)::core::convert::Into::into(requested_type))
1052 }
1053 }
1054 #[doc = "`CreateClipOfType(::unity::SystemType)` overload"]
1055 fn create_clip_of_type(
1056 self,
1057 requested_type: impl ::core::convert::Into<::unity::SystemType>,
1058 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1059 unsafe {
1060 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1061 ::unity::il2cpp_call!((::unity::module_base()+0x35e6830usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1062(TrackAsset)__receiver,(::unity::SystemType)::core::convert::Into::into(requested_type))
1063 }
1064 }
1065 #[doc = "`CreateClipFromPlayableAsset(crate::unity_engine::playables::iplayableasset_interface::IPlayableAsset_Interface)` overload"]
1066 fn create_clip_from_playable_asset(
1067 self,
1068 asset: impl ::core::convert::Into<crate::unity_engine::playables::iplayableasset_interface::IPlayableAsset_Interface>,
1069 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1070 unsafe {
1071 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1072 ::unity::il2cpp_call!((::unity::module_base()+0x35e6cd0usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1073(TrackAsset)__receiver,(crate::unity_engine::playables::iplayableasset_interface::IPlayableAsset_Interface)::core::convert::Into::into(asset))
1074 }
1075 }
1076 #[doc = "`CreateClipFromAsset(crate::unity_engine::scriptableobject::ScriptableObject)` overload"]
1077 fn create_clip_from_asset(
1078 self,
1079 playable_asset: impl ::core::convert::Into<crate::unity_engine::scriptableobject::ScriptableObject>,
1080 ) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1081 unsafe {
1082 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1083 ::unity::il2cpp_call!((::unity::module_base()+0x35e6a00usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1084(TrackAsset)__receiver,(crate::unity_engine::scriptableobject::ScriptableObject)::core::convert::Into::into(playable_asset))
1085 }
1086 }
1087 #[doc = "`GetMarkersRaw()` overload"]
1088 fn get_markers_raw(
1089 self,
1090 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::scriptableobject::ScriptableObject> {
1091 unsafe {
1092 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1093 ::unity::il2cpp_call!((::unity::module_base()+0x35e7210usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::scriptableobject::ScriptableObject> ;
1094(TrackAsset)__receiver)
1095 }
1096 }
1097 #[doc = "`ClearMarkers()` overload"]
1098 fn clear_markers(self) -> () {
1099 unsafe {
1100 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1101 ::unity::il2cpp_call!((::unity::module_base()+0x35e7220usize)as*mut u8,();
1102(TrackAsset)__receiver)
1103 }
1104 }
1105 #[doc = "`AddMarker(crate::unity_engine::scriptableobject::ScriptableObject)` overload"]
1106 fn add_marker(self, e: impl ::core::convert::Into<crate::unity_engine::scriptableobject::ScriptableObject>) -> () {
1107 unsafe {
1108 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1109 ::unity::il2cpp_call!((::unity::module_base()+0x35e7280usize)as*mut u8,();
1110(TrackAsset)__receiver,(crate::unity_engine::scriptableobject::ScriptableObject)::core::convert::Into::into(e))
1111 }
1112 }
1113 #[doc = "`DeleteMarkerRaw(crate::unity_engine::scriptableobject::ScriptableObject)` overload"]
1114 fn delete_marker_raw(self, marker: impl ::core::convert::Into<crate::unity_engine::scriptableobject::ScriptableObject>) -> bool {
1115 unsafe {
1116 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1117 ::unity::il2cpp_call!((::unity::module_base()+0x35e7330usize)as*mut u8,bool;
1118(TrackAsset)__receiver,(crate::unity_engine::scriptableobject::ScriptableObject)::core::convert::Into::into(marker))
1119 }
1120 }
1121 #[doc = "`GetTimeRangeHash()` overload"]
1122 fn get_time_range_hash(self) -> i32 {
1123 unsafe {
1124 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1125 ::unity::il2cpp_call!((::unity::module_base()+0x35e7370usize)as*mut u8,i32;
1126(TrackAsset)__receiver)
1127 }
1128 }
1129 #[doc = "`AddClip(crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
1130 fn add_clip(self, new_clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>) -> () {
1131 unsafe {
1132 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1133 ::unity::il2cpp_call!((::unity::module_base()+0x35e1590usize)as*mut u8,();
1134(TrackAsset)__receiver,(crate::unity_engine::timeline::timelineclip::TimelineClip)::core::convert::Into::into(new_clip))
1135 }
1136 }
1137 #[doc = "`CreateNotificationsPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::unity_engine::gameobject::GameObject, crate::unity_engine::playables::playable::Playable)` overload"]
1138 fn create_notifications_playable(
1139 self,
1140 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
1141 mixer_playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
1142 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1143 timeline_playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
1144 ) -> crate::unity_engine::playables::playable::Playable {
1145 unsafe {
1146 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1147 ::unity::il2cpp_call!((::unity::module_base()+0x35e7810usize)as*mut u8,crate::unity_engine::playables::playable::Playable;
1148(TrackAsset)__receiver,(crate::unity_engine::playables::playablegraph::PlayableGraph)::core::convert::Into::into(graph),(crate::unity_engine::playables::playable::Playable)::core::convert::Into::into(mixer_playable),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::unity_engine::playables::playable::Playable)::core::convert::Into::into(timeline_playable))
1149 }
1150 }
1151 #[doc = "`CreatePlayableGraph(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>, crate::unity_engine::playables::playable::Playable)` overload"]
1152 fn create_playable_graph(
1153 self,
1154 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
1155 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1156 tree: impl ::core::convert::Into<
1157 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1158 >,
1159 timeline_playable: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
1160 ) -> crate::unity_engine::playables::playable::Playable {
1161 unsafe {
1162 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1163 ::unity::il2cpp_call!((::unity::module_base()+0x35e3990usize)as*mut u8,crate::unity_engine::playables::playable::Playable;
1164(TrackAsset)__receiver,(crate::unity_engine::playables::playablegraph::PlayableGraph)::core::convert::Into::into(graph),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>)::core::convert::Into::into(tree),(crate::unity_engine::playables::playable::Playable)::core::convert::Into::into(timeline_playable))
1165 }
1166 }
1167 #[doc = "`CompileClips(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::timelineclip::TimelineClip>, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>)` overload"]
1168 fn compile_clips(
1169 self,
1170 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
1171 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1172 timeline_clips: impl ::core::convert::Into<
1173 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::timelineclip::TimelineClip>,
1174 >,
1175 tree: impl ::core::convert::Into<
1176 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1177 >,
1178 ) -> crate::unity_engine::playables::playable::Playable {
1179 unsafe {
1180 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1181 {
1182 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1183 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
1184 panic!(
1185 "unity: virtual slot {}
1186 out of range (vtable len {}
1187) on the runtime class behind {}
1188 (method `{}
1189`)",
1190 24usize,
1191 __vt.len(),
1192 <TrackAsset as ::unity::ClassIdentity>::NAME,
1193 "CompileClips",
1194 )
1195 });
1196 let __inner: extern "C" fn(
1197 TrackAsset,
1198 crate::unity_engine::playables::playablegraph::PlayableGraph,
1199 crate::unity_engine::gameobject::GameObject,
1200 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
1201 crate::unity_engine::timeline::timelineclip::TimelineClip,
1202 >,
1203 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1204 ::unity::OptionalMethod,
1205 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__vi.method_ptr);
1206 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1207 __inner(
1208 __receiver,
1209 ::core::convert::Into::into(graph),
1210 ::core::convert::Into::into(go),
1211 ::core::convert::Into::into(timeline_clips),
1212 ::core::convert::Into::into(tree),
1213 __mi,
1214 )
1215 }
1216 }
1217 }
1218 #[doc = "`GatherCompilableTracks(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::trackasset::TrackAsset>)` overload"]
1219 fn gather_compilable_tracks(
1220 self,
1221 tracks: impl ::core::convert::Into<
1222 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::trackasset::TrackAsset>,
1223 >,
1224 ) -> () {
1225 unsafe {
1226 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1227 ::unity::il2cpp_call!((::unity::module_base()+0x35e8760usize)as*mut u8,();
1228(TrackAsset)__receiver,(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::trackasset::TrackAsset>)::core::convert::Into::into(tracks))
1229 }
1230 }
1231 #[doc = "`GatherNotificiations(crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>)` overload"]
1232 fn gather_notificiations(
1233 self,
1234 markers: impl ::core::convert::Into<
1235 crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>,
1236 >,
1237 ) -> () {
1238 unsafe {
1239 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1240 ::unity::il2cpp_call!((::unity::module_base()+0x35e7a60usize)as*mut u8,();
1241(TrackAsset)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>)::core::convert::Into::into(markers))
1242 }
1243 }
1244 #[doc = "`OnCreateClipPlayableGraph(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>)` overload"]
1245 fn on_create_clip_playable_graph(
1246 self,
1247 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
1248 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1249 tree: impl ::core::convert::Into<
1250 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1251 >,
1252 ) -> crate::unity_engine::playables::playable::Playable {
1253 unsafe {
1254 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1255 {
1256 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1257 let __vi = *__vt.get(25usize).unwrap_or_else(|| {
1258 panic!(
1259 "unity: virtual slot {}
1260 out of range (vtable len {}
1261) on the runtime class behind {}
1262 (method `{}
1263`)",
1264 25usize,
1265 __vt.len(),
1266 <TrackAsset as ::unity::ClassIdentity>::NAME,
1267 "OnCreateClipPlayableGraph",
1268 )
1269 });
1270 let __inner: extern "C" fn(
1271 TrackAsset,
1272 crate::unity_engine::playables::playablegraph::PlayableGraph,
1273 crate::unity_engine::gameobject::GameObject,
1274 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1275 ::unity::OptionalMethod,
1276 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__vi.method_ptr);
1277 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1278 __inner(
1279 __receiver,
1280 ::core::convert::Into::into(graph),
1281 ::core::convert::Into::into(go),
1282 ::core::convert::Into::into(tree),
1283 __mi,
1284 )
1285 }
1286 }
1287 }
1288 #[doc = "`ConfigureTrackAnimation(crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>, crate::unity_engine::gameobject::GameObject, crate::unity_engine::playables::playable::Playable)` overload"]
1289 fn configure_track_animation(
1290 self,
1291 tree: impl ::core::convert::Into<
1292 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
1293 >,
1294 go: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1295 blend: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
1296 ) -> () {
1297 unsafe {
1298 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1299 ::unity::il2cpp_call!((::unity::module_base()+0x35e8580usize)as*mut u8,();
1300(TrackAsset)__receiver,(crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>)::core::convert::Into::into(tree),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(go),(crate::unity_engine::playables::playable::Playable)::core::convert::Into::into(blend))
1301 }
1302 }
1303 #[doc = "`SortClips()` overload"]
1304 fn sort_clips(self) -> () {
1305 unsafe {
1306 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1307 ::unity::il2cpp_call!((::unity::module_base()+0x35e2c90usize)as*mut u8,();
1308(TrackAsset)__receiver)
1309 }
1310 }
1311 #[doc = "`ClearClipsInternal()` overload"]
1312 fn clear_clips_internal(self) -> () {
1313 unsafe {
1314 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1315 ::unity::il2cpp_call!((::unity::module_base()+0x35e91d0usize)as*mut u8,();
1316(TrackAsset)__receiver)
1317 }
1318 }
1319 #[doc = "`ClearSubTracksInternal()` overload"]
1320 fn clear_sub_tracks_internal(self) -> () {
1321 unsafe {
1322 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1323 ::unity::il2cpp_call!((::unity::module_base()+0x35e9260usize)as*mut u8,();
1324(TrackAsset)__receiver)
1325 }
1326 }
1327 #[doc = "`OnClipMove()` overload"]
1328 fn on_clip_move(self) -> () {
1329 unsafe {
1330 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1331 ::unity::il2cpp_call!((::unity::module_base()+0x35e1480usize)as*mut u8,();
1332(TrackAsset)__receiver)
1333 }
1334 }
1335 #[doc = "`CreateNewClipContainerInternal()` overload"]
1336 fn create_new_clip_container_internal(self) -> crate::unity_engine::timeline::timelineclip::TimelineClip {
1337 unsafe {
1338 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1339 ::unity::il2cpp_call!((::unity::module_base()+0x35e6f50usize)as*mut u8,crate::unity_engine::timeline::timelineclip::TimelineClip;
1340(TrackAsset)__receiver)
1341 }
1342 }
1343 #[doc = "`AddChild(crate::unity_engine::timeline::trackasset::TrackAsset)` overload"]
1344 fn add_child(self, child: impl ::core::convert::Into<crate::unity_engine::timeline::trackasset::TrackAsset>) -> () {
1345 unsafe {
1346 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1347 ::unity::il2cpp_call!((::unity::module_base()+0x35e0cf0usize)as*mut u8,();
1348(TrackAsset)__receiver,(crate::unity_engine::timeline::trackasset::TrackAsset)::core::convert::Into::into(child))
1349 }
1350 }
1351 #[doc = "`MoveLastTrackBefore(crate::unity_engine::timeline::trackasset::TrackAsset)` overload"]
1352 fn move_last_track_before(self, asset: impl ::core::convert::Into<crate::unity_engine::timeline::trackasset::TrackAsset>) -> () {
1353 unsafe {
1354 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1355 ::unity::il2cpp_call!((::unity::module_base()+0x35e92f0usize)as*mut u8,();
1356(TrackAsset)__receiver,(crate::unity_engine::timeline::trackasset::TrackAsset)::core::convert::Into::into(asset))
1357 }
1358 }
1359 #[doc = "`RemoveSubTrack(crate::unity_engine::timeline::trackasset::TrackAsset)` overload"]
1360 fn remove_sub_track(self, child: impl ::core::convert::Into<crate::unity_engine::timeline::trackasset::TrackAsset>) -> bool {
1361 unsafe {
1362 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1363 ::unity::il2cpp_call!((::unity::module_base()+0x35de240usize)as*mut u8,bool;
1364(TrackAsset)__receiver,(crate::unity_engine::timeline::trackasset::TrackAsset)::core::convert::Into::into(child))
1365 }
1366 }
1367 #[doc = "`RemoveClip(crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
1368 fn remove_clip(self, clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>) -> () {
1369 unsafe {
1370 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1371 ::unity::il2cpp_call!((::unity::module_base()+0x35e02a0usize)as*mut u8,();
1372(TrackAsset)__receiver,(crate::unity_engine::timeline::timelineclip::TimelineClip)::core::convert::Into::into(clip))
1373 }
1374 }
1375 #[doc = "`GetEvaluationTime(*mutf64, *mutf64)` overload"]
1376 fn get_evaluation_time(self) -> (f64, f64) {
1377 unsafe {
1378 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1379 let mut __out_0 = ::core::mem::MaybeUninit::<f64>::uninit();
1380 let mut __out_1 = ::core::mem::MaybeUninit::<f64>::uninit();
1381 {
1382 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1383 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
1384 panic!(
1385 "unity: virtual slot {}
1386 out of range (vtable len {}
1387) on the runtime class behind {}
1388 (method `{}
1389`)",
1390 26usize,
1391 __vt.len(),
1392 <TrackAsset as ::unity::ClassIdentity>::NAME,
1393 "GetEvaluationTime",
1394 )
1395 });
1396 let __inner: extern "C" fn(TrackAsset, *mut f64, *mut f64, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1397 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1398 __inner(__receiver, __out_0.as_mut_ptr(), __out_1.as_mut_ptr(), __mi)
1399 };
1400 (__out_0.assume_init(), __out_1.assume_init())
1401 }
1402 }
1403 #[doc = "`GetSequenceTime(*mutf64, *mutf64)` overload"]
1404 fn get_sequence_time(self) -> (f64, f64) {
1405 unsafe {
1406 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1407 let mut __out_0 = ::core::mem::MaybeUninit::<f64>::uninit();
1408 let mut __out_1 = ::core::mem::MaybeUninit::<f64>::uninit();
1409 {
1410 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1411 let __vi = *__vt.get(27usize).unwrap_or_else(|| {
1412 panic!(
1413 "unity: virtual slot {}
1414 out of range (vtable len {}
1415) on the runtime class behind {}
1416 (method `{}
1417`)",
1418 27usize,
1419 __vt.len(),
1420 <TrackAsset as ::unity::ClassIdentity>::NAME,
1421 "GetSequenceTime",
1422 )
1423 });
1424 let __inner: extern "C" fn(TrackAsset, *mut f64, *mut f64, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1425 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1426 __inner(__receiver, __out_0.as_mut_ptr(), __out_1.as_mut_ptr(), __mi)
1427 };
1428 (__out_0.assume_init(), __out_1.assume_init())
1429 }
1430 }
1431 #[doc = "`GatherProperties(crate::unity_engine::playables::playabledirector::PlayableDirector, crate::unity_engine::timeline::ipropertycollector::IPropertyCollector)` overload"]
1432 fn gather_properties(
1433 self,
1434 director: impl ::core::convert::Into<crate::unity_engine::playables::playabledirector::PlayableDirector>,
1435 driver: impl ::core::convert::Into<crate::unity_engine::timeline::ipropertycollector::IPropertyCollector>,
1436 ) -> () {
1437 unsafe {
1438 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1439 {
1440 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1441 let __vi = *__vt.get(28usize).unwrap_or_else(|| {
1442 panic!(
1443 "unity: virtual slot {}
1444 out of range (vtable len {}
1445) on the runtime class behind {}
1446 (method `{}
1447`)",
1448 28usize,
1449 __vt.len(),
1450 <TrackAsset as ::unity::ClassIdentity>::NAME,
1451 "GatherProperties",
1452 )
1453 });
1454 let __inner: extern "C" fn(
1455 TrackAsset,
1456 crate::unity_engine::playables::playabledirector::PlayableDirector,
1457 crate::unity_engine::timeline::ipropertycollector::IPropertyCollector,
1458 ::unity::OptionalMethod,
1459 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1460 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1461 __inner(
1462 __receiver,
1463 ::core::convert::Into::into(director),
1464 ::core::convert::Into::into(driver),
1465 __mi,
1466 )
1467 }
1468 }
1469 }
1470 #[doc = "`GetGameObjectBinding(crate::unity_engine::playables::playabledirector::PlayableDirector)` overload"]
1471 fn get_game_object_binding(
1472 self,
1473 director: impl ::core::convert::Into<crate::unity_engine::playables::playabledirector::PlayableDirector>,
1474 ) -> crate::unity_engine::gameobject::GameObject {
1475 unsafe {
1476 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1477 ::unity::il2cpp_call!((::unity::module_base()+0x35e9c50usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
1478(TrackAsset)__receiver,(crate::unity_engine::playables::playabledirector::PlayableDirector)::core::convert::Into::into(director))
1479 }
1480 }
1481 #[doc = "`ValidateClipType(::unity::SystemType)` overload"]
1482 fn validate_clip_type(self, clip_type: impl ::core::convert::Into<::unity::SystemType>) -> bool {
1483 unsafe {
1484 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1485 ::unity::il2cpp_call!((::unity::module_base()+0x35e6590usize)as*mut u8,bool;
1486(TrackAsset)__receiver,(::unity::SystemType)::core::convert::Into::into(clip_type))
1487 }
1488 }
1489 #[doc = "`OnCreateClip(crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
1490 fn on_create_clip(self, clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>) -> () {
1491 unsafe {
1492 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1493 {
1494 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1495 let __vi = *__vt.get(29usize).unwrap_or_else(|| {
1496 panic!(
1497 "unity: virtual slot {}
1498 out of range (vtable len {}
1499) on the runtime class behind {}
1500 (method `{}
1501`)",
1502 29usize,
1503 __vt.len(),
1504 <TrackAsset as ::unity::ClassIdentity>::NAME,
1505 "OnCreateClip",
1506 )
1507 });
1508 let __inner: extern "C" fn(TrackAsset, crate::unity_engine::timeline::timelineclip::TimelineClip, ::unity::OptionalMethod) -> () =
1509 ::core::mem::transmute(__vi.method_ptr);
1510 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1511 __inner(__receiver, ::core::convert::Into::into(clip), __mi)
1512 }
1513 }
1514 }
1515 #[doc = "`UpdateDuration()` overload"]
1516 fn update_duration(self) -> () {
1517 unsafe {
1518 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1519 ::unity::il2cpp_call!((::unity::module_base()+0x35e5180usize)as*mut u8,();
1520(TrackAsset)__receiver)
1521 }
1522 }
1523 #[doc = "`CalculateItemsHash()` overload"]
1524 fn calculate_items_hash(self) -> i32 {
1525 unsafe {
1526 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1527 {
1528 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1529 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
1530 panic!(
1531 "unity: virtual slot {}
1532 out of range (vtable len {}
1533) on the runtime class behind {}
1534 (method `{}
1535`)",
1536 30usize,
1537 __vt.len(),
1538 <TrackAsset as ::unity::ClassIdentity>::NAME,
1539 "CalculateItemsHash",
1540 )
1541 });
1542 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
1543 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1544 __inner(__receiver, __mi)
1545 }
1546 }
1547 }
1548 #[doc = "`CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::timelineclip::TimelineClip)` overload"]
1549 fn create_playable_2(
1550 self,
1551 graph: impl ::core::convert::Into<crate::unity_engine::playables::playablegraph::PlayableGraph>,
1552 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
1553 clip: impl ::core::convert::Into<crate::unity_engine::timeline::timelineclip::TimelineClip>,
1554 ) -> crate::unity_engine::playables::playable::Playable {
1555 unsafe {
1556 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1557 {
1558 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1559 let __vi = *__vt.get(31usize).unwrap_or_else(|| {
1560 panic!(
1561 "unity: virtual slot {}
1562 out of range (vtable len {}
1563) on the runtime class behind {}
1564 (method `{}
1565`)",
1566 31usize,
1567 __vt.len(),
1568 <TrackAsset as ::unity::ClassIdentity>::NAME,
1569 "CreatePlayable",
1570 )
1571 });
1572 let __inner: extern "C" fn(
1573 TrackAsset,
1574 crate::unity_engine::playables::playablegraph::PlayableGraph,
1575 crate::unity_engine::gameobject::GameObject,
1576 crate::unity_engine::timeline::timelineclip::TimelineClip,
1577 ::unity::OptionalMethod,
1578 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__vi.method_ptr);
1579 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1580 __inner(
1581 __receiver,
1582 ::core::convert::Into::into(graph),
1583 ::core::convert::Into::into(game_object),
1584 ::core::convert::Into::into(clip),
1585 __mi,
1586 )
1587 }
1588 }
1589 }
1590 #[doc = "`Invalidate()` overload"]
1591 fn invalidate(self) -> () {
1592 unsafe {
1593 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1594 ::unity::il2cpp_call!((::unity::module_base()+0x35e4b90usize)as*mut u8,();
1595(TrackAsset)__receiver)
1596 }
1597 }
1598 #[doc = "`GetNotificationDuration()` overload"]
1599 fn get_notification_duration(self) -> f64 {
1600 unsafe {
1601 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1602 ::unity::il2cpp_call!((::unity::module_base()+0x35d4cf0usize)as*mut u8,f64;
1603(TrackAsset)__receiver)
1604 }
1605 }
1606 #[doc = "`CanCompileClips()` overload"]
1607 fn can_compile_clips(self) -> bool {
1608 unsafe {
1609 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1610 {
1611 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1612 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
1613 panic!(
1614 "unity: virtual slot {}
1615 out of range (vtable len {}
1616) on the runtime class behind {}
1617 (method `{}
1618`)",
1619 32usize,
1620 __vt.len(),
1621 <TrackAsset as ::unity::ClassIdentity>::NAME,
1622 "CanCompileClips",
1623 )
1624 });
1625 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1626 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1627 __inner(__receiver, __mi)
1628 }
1629 }
1630 }
1631 #[doc = "`IsCompilable()` overload"]
1632 fn is_compilable(self) -> bool {
1633 unsafe {
1634 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1635 ::unity::il2cpp_call!((::unity::module_base()+0x35e2900usize)as*mut u8,bool;
1636(TrackAsset)__receiver)
1637 }
1638 }
1639 #[doc = "`UpdateChildTrackCache()` overload"]
1640 fn update_child_track_cache(self) -> () {
1641 unsafe {
1642 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1643 ::unity::il2cpp_call!((::unity::module_base()+0x35e5670usize)as*mut u8,();
1644(TrackAsset)__receiver)
1645 }
1646 }
1647 #[doc = "`Hash()` overload"]
1648 fn hash(self) -> i32 {
1649 unsafe {
1650 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1651 {
1652 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1653 let __vi = *__vt.get(33usize).unwrap_or_else(|| {
1654 panic!(
1655 "unity: virtual slot {}
1656 out of range (vtable len {}
1657) on the runtime class behind {}
1658 (method `{}
1659`)",
1660 33usize,
1661 __vt.len(),
1662 <TrackAsset as ::unity::ClassIdentity>::NAME,
1663 "Hash",
1664 )
1665 });
1666 let __inner: extern "C" fn(TrackAsset, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
1667 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1668 __inner(__receiver, __mi)
1669 }
1670 }
1671 }
1672 #[doc = "`GetClipsHash()` overload"]
1673 fn get_clips_hash(self) -> i32 {
1674 unsafe {
1675 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1676 ::unity::il2cpp_call!((::unity::module_base()+0x35e9e00usize)as*mut u8,i32;
1677(TrackAsset)__receiver)
1678 }
1679 }
1680 #[doc = "`HasNotifications()` overload"]
1681 fn has_notifications(self) -> bool {
1682 unsafe {
1683 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1684 ::unity::il2cpp_call!((::unity::module_base()+0x35e9530usize)as*mut u8,bool;
1685(TrackAsset)__receiver)
1686 }
1687 }
1688 #[doc = "`CanCompileNotifications()` overload"]
1689 fn can_compile_notifications(self) -> bool {
1690 unsafe {
1691 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1692 ::unity::il2cpp_call!((::unity::module_base()+0x35e8ae0usize)as*mut u8,bool;
1693(TrackAsset)__receiver)
1694 }
1695 }
1696 #[doc = "`CanCompileClipsRecursive()` overload"]
1697 fn can_compile_clips_recursive(self) -> bool {
1698 unsafe {
1699 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1700 ::unity::il2cpp_call!((::unity::module_base()+0x35e7da0usize)as*mut u8,bool;
1701(TrackAsset)__receiver)
1702 }
1703 }
1704 #[doc = "`.ctor()` overload"]
1705 fn ctor(self) -> () {
1706 unsafe {
1707 let __receiver = <TrackAsset as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1708 ::unity::il2cpp_call!((::unity::module_base()+0x35d5b10usize)as*mut u8,();
1709(TrackAsset)__receiver)
1710 }
1711 }
1712}
1713
1714#[cfg(feature = "unity_engine-timeline-trackasset")]
1715impl<__T: ITrackAsset> ITrackAssetMethods for __T {}
1716
1717#[cfg(feature = "unity_engine-timeline-trackasset")]
1718impl TrackAsset {
1719 pub fn on_before_track_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1720 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1721 }
1722
1723 pub fn on_after_track_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1724 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1725 }
1726
1727 pub fn on_upgrade_from_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1728 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1729 }
1730
1731 pub fn unity_engine_i_serialization_callback_receiver_on_before_serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1732 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1733 }
1734
1735 pub fn unity_engine_i_serialization_callback_receiver_on_after_deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1736 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1737 }
1738
1739 pub fn upgrade_to_latest_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1740 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1741 }
1742
1743 pub fn add_on_clip_playable_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1744 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1745 }
1746
1747 pub fn remove_on_clip_playable_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1748 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1749 }
1750
1751 pub fn add_on_track_animation_playable_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1752 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1753 }
1754
1755 pub fn remove_on_track_animation_playable_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1756 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1757 }
1758
1759 pub fn get_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1760 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1761 }
1762
1763 pub fn get_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1764 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1765 }
1766
1767 pub fn get_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1768 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1769 }
1770
1771 pub fn get_muted_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1772 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1773 }
1774
1775 pub fn set_muted_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1776 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1777 }
1778
1779 pub fn get_muted_in_hierarchy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1781 }
1782
1783 pub fn get_timeline_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1785 }
1786
1787 pub fn get_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1788 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1789 }
1790
1791 pub fn set_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1792 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1793 }
1794
1795 pub fn get_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1796 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1797 }
1798
1799 pub fn get_is_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1800 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1801 }
1802
1803 pub fn get_has_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1804 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1805 }
1806
1807 pub fn get_has_curves_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1808 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1809 }
1810
1811 pub fn get_is_sub_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1812 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1813 }
1814
1815 pub fn get_outputs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1816 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1817 }
1818
1819 pub fn get_child_tracks_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1820 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1821 }
1822
1823 pub fn get_custom_playable_typename_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1824 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1825 }
1826
1827 pub fn set_custom_playable_typename_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1828 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1829 }
1830
1831 pub fn get_curves_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1832 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1833 }
1834
1835 pub fn set_curves_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1836 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1837 }
1838
1839 pub fn unity_engine_timeline_i_curves_owner_get_default_curves_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1840 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1841 }
1842
1843 pub fn unity_engine_timeline_i_curves_owner_get_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1844 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1845 }
1846
1847 pub fn unity_engine_timeline_i_curves_owner_get_asset_owner_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1848 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1849 }
1850
1851 pub fn unity_engine_timeline_i_curves_owner_get_target_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1852 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1853 }
1854
1855 pub fn get_sub_tracks_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1856 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1857 }
1858
1859 pub fn get_locked_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1860 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1861 }
1862
1863 pub fn set_locked_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1864 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1865 }
1866
1867 pub fn get_locked_in_hierarchy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1868 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1869 }
1870
1871 pub fn get_supports_notifications_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1872 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1873 }
1874
1875 pub fn internal_awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1876 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1877 }
1878
1879 pub fn create_curves_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1880 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1881 }
1882
1883 pub fn create_track_mixer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1884 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1885 }
1886
1887 pub fn create_playable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1888 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1889 }
1890
1891 pub fn create_default_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1892 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1893 }
1894
1895 pub fn delete_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1896 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1897 }
1898
1899 pub fn create_marker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1900 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1901 }
1902
1903 pub fn delete_marker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1904 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1905 }
1906
1907 pub fn get_markers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1908 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1909 }
1910
1911 pub fn get_marker_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1912 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1913 }
1914
1915 pub fn get_marker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1916 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1917 }
1918
1919 pub fn create_clip_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1920 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1921 }
1922
1923 pub fn create_and_add_new_clip_of_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1924 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1925 }
1926
1927 pub fn create_clip_of_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1928 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1929 }
1930
1931 pub fn create_clip_from_playable_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1932 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1933 }
1934
1935 pub fn create_clip_from_asset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1936 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1937 }
1938
1939 pub fn get_markers_raw_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1940 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1941 }
1942
1943 pub fn clear_markers_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1944 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1945 }
1946
1947 pub fn add_marker_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1948 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1949 }
1950
1951 pub fn delete_marker_raw_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1952 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1953 }
1954
1955 pub fn get_time_range_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1956 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1957 }
1958
1959 pub fn add_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1960 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1961 }
1962
1963 pub fn create_notifications_playable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1964 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1965 }
1966
1967 pub fn create_playable_graph_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1968 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1969 }
1970
1971 pub fn compile_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1972 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1973 }
1974
1975 pub fn gather_compilable_tracks_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1976 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1977 }
1978
1979 pub fn gather_notificiations_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1980 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1981 }
1982
1983 pub fn on_create_clip_playable_graph_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1984 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1985 }
1986
1987 pub fn configure_track_animation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1988 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1989 }
1990
1991 pub fn sort_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1992 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1993 }
1994
1995 pub fn clear_clips_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1996 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1997 }
1998
1999 pub fn clear_sub_tracks_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2000 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
2001 }
2002
2003 pub fn on_clip_move_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2004 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
2005 }
2006
2007 pub fn create_new_clip_container_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2008 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
2009 }
2010
2011 pub fn add_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2012 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
2013 }
2014
2015 pub fn move_last_track_before_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2016 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
2017 }
2018
2019 pub fn remove_sub_track_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2020 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
2021 }
2022
2023 pub fn remove_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2024 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
2025 }
2026
2027 pub fn get_evaluation_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2028 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
2029 }
2030
2031 pub fn get_sequence_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2032 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
2033 }
2034
2035 pub fn gather_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2036 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
2037 }
2038
2039 pub fn get_game_object_binding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2040 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
2041 }
2042
2043 pub fn validate_clip_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2044 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
2045 }
2046
2047 pub fn on_create_clip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2048 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
2049 }
2050
2051 pub fn update_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2052 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
2053 }
2054
2055 pub fn calculate_items_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2056 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
2057 }
2058
2059 pub fn create_playable_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2060 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
2061 }
2062
2063 pub fn invalidate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2064 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
2065 }
2066
2067 pub fn get_notification_duration_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2068 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
2069 }
2070
2071 pub fn can_compile_clips_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2072 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
2073 }
2074
2075 pub fn is_compilable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2076 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
2077 }
2078
2079 pub fn update_child_track_cache_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2080 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
2081 }
2082
2083 pub fn hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2084 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
2085 }
2086
2087 pub fn get_clips_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2088 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
2089 }
2090
2091 pub fn get_animation_clip_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2092 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
2093 }
2094
2095 pub fn has_notifications_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2096 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
2097 }
2098
2099 pub fn can_compile_notifications_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
2101 }
2102
2103 pub fn can_compile_clips_recursive_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
2105 }
2106
2107 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
2109 }
2110
2111 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
2113 }
2114}
2115
2116#[cfg(feature = "unity_engine-timeline-trackasset")]
2117impl TrackAsset {
2118 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `OnBeforeTrackSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2119 pub unsafe fn on_before_track_serialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2120 let __mi = Self::on_before_track_serialize_method_info();
2121 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2122 __inner(this.into(), ::core::option::Option::None)
2123 }
2124
2125 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `OnAfterTrackDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2126 pub unsafe fn on_after_track_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2127 let __mi = Self::on_after_track_deserialize_method_info();
2128 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2129 __inner(this.into(), ::core::option::Option::None)
2130 }
2131
2132 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `OnUpgradeFromVersion`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2133 pub unsafe fn on_upgrade_from_version(this: impl ::core::convert::Into<::unity::IlInstance>, old_version: i32) -> () {
2134 let __mi = Self::on_upgrade_from_version_method_info();
2135 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2136 __inner(this.into(), old_version, ::core::option::Option::None)
2137 }
2138
2139 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2140 pub unsafe fn unity_engine_i_serialization_callback_receiver_on_before_serialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2141 let __mi = Self::unity_engine_i_serialization_callback_receiver_on_before_serialize_method_info();
2142 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2143 __inner(this.into(), ::core::option::Option::None)
2144 }
2145
2146 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2147 pub unsafe fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2148 let __mi = Self::unity_engine_i_serialization_callback_receiver_on_after_deserialize_method_info();
2149 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2150 __inner(this.into(), ::core::option::Option::None)
2151 }
2152
2153 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `get_duration`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2154 pub unsafe fn get_duration(this: impl ::core::convert::Into<::unity::IlInstance>) -> f64 {
2155 let __mi = Self::get_duration_method_info();
2156 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f64 = ::core::mem::transmute(__mi.method_ptr);
2157 __inner(this.into(), ::core::option::Option::None)
2158 }
2159
2160 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `get_isEmpty`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2161 pub unsafe fn get_is_empty(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2162 let __mi = Self::get_is_empty_method_info();
2163 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2164 __inner(this.into(), ::core::option::Option::None)
2165 }
2166
2167 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `get_hasCurves`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2168 pub unsafe fn get_has_curves(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2169 let __mi = Self::get_has_curves_method_info();
2170 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2171 __inner(this.into(), ::core::option::Option::None)
2172 }
2173
2174 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `get_outputs`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2175 pub unsafe fn get_outputs(
2176 this: impl ::core::convert::Into<::unity::IlInstance>,
2177 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::playables::playablebinding::PlayableBinding> {
2178 let __mi = Self::get_outputs_method_info();
2179 let __inner: extern "C" fn(
2180 ::unity::IlInstance,
2181 ::unity::OptionalMethod,
2182 ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<
2183 crate::unity_engine::playables::playablebinding::PlayableBinding,
2184 > = ::core::mem::transmute(__mi.method_ptr);
2185 __inner(this.into(), ::core::option::Option::None)
2186 }
2187
2188 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `get_curves`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2189 pub unsafe fn get_curves(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::animationclip::AnimationClip {
2190 let __mi = Self::get_curves_method_info();
2191 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::animationclip::AnimationClip =
2192 ::core::mem::transmute(__mi.method_ptr);
2193 __inner(this.into(), ::core::option::Option::None)
2194 }
2195
2196 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2197 pub unsafe fn unity_engine_timeline_i_curves_owner_get_default_curves_name(
2198 this: impl ::core::convert::Into<::unity::IlInstance>,
2199 ) -> ::unity::Il2CppString {
2200 let __mi = Self::unity_engine_timeline_i_curves_owner_get_default_curves_name_method_info();
2201 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
2202 __inner(this.into(), ::core::option::Option::None)
2203 }
2204
2205 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.Timeline.ICurvesOwner.get_asset`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2206 pub unsafe fn unity_engine_timeline_i_curves_owner_get_asset(
2207 this: impl ::core::convert::Into<::unity::IlInstance>,
2208 ) -> crate::unity_engine::object_2::Object_2 {
2209 let __mi = Self::unity_engine_timeline_i_curves_owner_get_asset_method_info();
2210 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
2211 ::core::mem::transmute(__mi.method_ptr);
2212 __inner(this.into(), ::core::option::Option::None)
2213 }
2214
2215 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.Timeline.ICurvesOwner.get_assetOwner`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2216 pub unsafe fn unity_engine_timeline_i_curves_owner_get_asset_owner(
2217 this: impl ::core::convert::Into<::unity::IlInstance>,
2218 ) -> crate::unity_engine::object_2::Object_2 {
2219 let __mi = Self::unity_engine_timeline_i_curves_owner_get_asset_owner_method_info();
2220 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::object_2::Object_2 =
2221 ::core::mem::transmute(__mi.method_ptr);
2222 __inner(this.into(), ::core::option::Option::None)
2223 }
2224
2225 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `UnityEngine.Timeline.ICurvesOwner.get_targetTrack`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2226 pub unsafe fn unity_engine_timeline_i_curves_owner_get_target_track(
2227 this: impl ::core::convert::Into<::unity::IlInstance>,
2228 ) -> crate::unity_engine::timeline::trackasset::TrackAsset {
2229 let __mi = Self::unity_engine_timeline_i_curves_owner_get_target_track_method_info();
2230 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::timeline::trackasset::TrackAsset =
2231 ::core::mem::transmute(__mi.method_ptr);
2232 __inner(this.into(), ::core::option::Option::None)
2233 }
2234
2235 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CreateCurves`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2236 pub unsafe fn create_curves(this: impl ::core::convert::Into<::unity::IlInstance>, curves_clip_name: ::unity::Il2CppString) -> () {
2237 let __mi = Self::create_curves_method_info();
2238 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
2239 ::core::mem::transmute(__mi.method_ptr);
2240 __inner(this.into(), curves_clip_name, ::core::option::Option::None)
2241 }
2242
2243 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CreateTrackMixer`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2244 pub unsafe fn create_track_mixer(
2245 this: impl ::core::convert::Into<::unity::IlInstance>,
2246 graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
2247 go: crate::unity_engine::gameobject::GameObject,
2248 input_count: i32,
2249 ) -> crate::unity_engine::playables::playable::Playable {
2250 let __mi = Self::create_track_mixer_method_info();
2251 let __inner: extern "C" fn(
2252 ::unity::IlInstance,
2253 crate::unity_engine::playables::playablegraph::PlayableGraph,
2254 crate::unity_engine::gameobject::GameObject,
2255 i32,
2256 ::unity::OptionalMethod,
2257 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__mi.method_ptr);
2258 __inner(this.into(), graph, go, input_count, ::core::option::Option::None)
2259 }
2260
2261 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CreatePlayable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2262 pub unsafe fn create_playable(
2263 this: impl ::core::convert::Into<::unity::IlInstance>,
2264 graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
2265 go: crate::unity_engine::gameobject::GameObject,
2266 ) -> crate::unity_engine::playables::playable::Playable {
2267 let __mi = Self::create_playable_method_info();
2268 let __inner: extern "C" fn(
2269 ::unity::IlInstance,
2270 crate::unity_engine::playables::playablegraph::PlayableGraph,
2271 crate::unity_engine::gameobject::GameObject,
2272 ::unity::OptionalMethod,
2273 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__mi.method_ptr);
2274 __inner(this.into(), graph, go, ::core::option::Option::None)
2275 }
2276
2277 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CompileClips`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2278 pub unsafe fn compile_clips(
2279 this: impl ::core::convert::Into<::unity::IlInstance>,
2280 graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
2281 go: crate::unity_engine::gameobject::GameObject,
2282 timeline_clips: crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
2283 crate::unity_engine::timeline::timelineclip::TimelineClip,
2284 >,
2285 tree: crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
2286 ) -> crate::unity_engine::playables::playable::Playable {
2287 let __mi = Self::compile_clips_method_info();
2288 let __inner: extern "C" fn(
2289 ::unity::IlInstance,
2290 crate::unity_engine::playables::playablegraph::PlayableGraph,
2291 crate::unity_engine::gameobject::GameObject,
2292 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::timelineclip::TimelineClip>,
2293 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
2294 ::unity::OptionalMethod,
2295 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__mi.method_ptr);
2296 __inner(this.into(), graph, go, timeline_clips, tree, ::core::option::Option::None)
2297 }
2298
2299 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `OnCreateClipPlayableGraph`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2300 pub unsafe fn on_create_clip_playable_graph(
2301 this: impl ::core::convert::Into<::unity::IlInstance>,
2302 graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
2303 go: crate::unity_engine::gameobject::GameObject,
2304 tree: crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
2305 ) -> crate::unity_engine::playables::playable::Playable {
2306 let __mi = Self::on_create_clip_playable_graph_method_info();
2307 let __inner: extern "C" fn(
2308 ::unity::IlInstance,
2309 crate::unity_engine::playables::playablegraph::PlayableGraph,
2310 crate::unity_engine::gameobject::GameObject,
2311 crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>,
2312 ::unity::OptionalMethod,
2313 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__mi.method_ptr);
2314 __inner(this.into(), graph, go, tree, ::core::option::Option::None)
2315 }
2316
2317 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `GetEvaluationTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2318 pub unsafe fn get_evaluation_time(this: impl ::core::convert::Into<::unity::IlInstance>, out_start: *mut f64, out_duration: *mut f64) -> () {
2319 let __mi = Self::get_evaluation_time_method_info();
2320 let __inner: extern "C" fn(::unity::IlInstance, *mut f64, *mut f64, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2321 __inner(this.into(), out_start, out_duration, ::core::option::Option::None)
2322 }
2323
2324 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `GetSequenceTime`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2325 pub unsafe fn get_sequence_time(this: impl ::core::convert::Into<::unity::IlInstance>, out_start: *mut f64, out_duration: *mut f64) -> () {
2326 let __mi = Self::get_sequence_time_method_info();
2327 let __inner: extern "C" fn(::unity::IlInstance, *mut f64, *mut f64, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2328 __inner(this.into(), out_start, out_duration, ::core::option::Option::None)
2329 }
2330
2331 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `GatherProperties`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2332 pub unsafe fn gather_properties(
2333 this: impl ::core::convert::Into<::unity::IlInstance>,
2334 director: crate::unity_engine::playables::playabledirector::PlayableDirector,
2335 driver: crate::unity_engine::timeline::ipropertycollector::IPropertyCollector,
2336 ) -> () {
2337 let __mi = Self::gather_properties_method_info();
2338 let __inner: extern "C" fn(
2339 ::unity::IlInstance,
2340 crate::unity_engine::playables::playabledirector::PlayableDirector,
2341 crate::unity_engine::timeline::ipropertycollector::IPropertyCollector,
2342 ::unity::OptionalMethod,
2343 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2344 __inner(this.into(), director, driver, ::core::option::Option::None)
2345 }
2346
2347 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `OnCreateClip`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2348 pub unsafe fn on_create_clip(
2349 this: impl ::core::convert::Into<::unity::IlInstance>,
2350 clip: crate::unity_engine::timeline::timelineclip::TimelineClip,
2351 ) -> () {
2352 let __mi = Self::on_create_clip_method_info();
2353 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::timeline::timelineclip::TimelineClip, ::unity::OptionalMethod) -> () =
2354 ::core::mem::transmute(__mi.method_ptr);
2355 __inner(this.into(), clip, ::core::option::Option::None)
2356 }
2357
2358 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CalculateItemsHash`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2359 pub unsafe fn calculate_items_hash(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
2360 let __mi = Self::calculate_items_hash_method_info();
2361 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2362 __inner(this.into(), ::core::option::Option::None)
2363 }
2364
2365 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CreatePlayable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2366 pub unsafe fn create_playable_2(
2367 this: impl ::core::convert::Into<::unity::IlInstance>,
2368 graph: crate::unity_engine::playables::playablegraph::PlayableGraph,
2369 game_object: crate::unity_engine::gameobject::GameObject,
2370 clip: crate::unity_engine::timeline::timelineclip::TimelineClip,
2371 ) -> crate::unity_engine::playables::playable::Playable {
2372 let __mi = Self::create_playable_2_method_info();
2373 let __inner: extern "C" fn(
2374 ::unity::IlInstance,
2375 crate::unity_engine::playables::playablegraph::PlayableGraph,
2376 crate::unity_engine::gameobject::GameObject,
2377 crate::unity_engine::timeline::timelineclip::TimelineClip,
2378 ::unity::OptionalMethod,
2379 ) -> crate::unity_engine::playables::playable::Playable = ::core::mem::transmute(__mi.method_ptr);
2380 __inner(this.into(), graph, game_object, clip, ::core::option::Option::None)
2381 }
2382
2383 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `CanCompileClips`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2384 pub unsafe fn can_compile_clips(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
2385 let __mi = Self::can_compile_clips_method_info();
2386 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
2387 __inner(this.into(), ::core::option::Option::None)
2388 }
2389
2390 #[doc = "Direct (non-virtual) call to `TrackAsset`'s own `Hash`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2391 pub unsafe fn hash(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
2392 let __mi = Self::hash_method_info();
2393 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2394 __inner(this.into(), ::core::option::Option::None)
2395 }
2396}
2397
2398#[cfg(feature = "unity_engine-timeline-trackasset")]
2399impl TrackAsset {
2400 #[doc = "`.ctor()` — no args"]
2401 pub fn new() -> Self {
2402 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2403 panic!(
2404 "{}
2405::{}
2406 failed to instantiate",
2407 ::core::stringify!(TrackAsset),
2408 ::core::stringify!(new),
2409 )
2410 });
2411 <Self as ITrackAssetMethods>::ctor(this);
2412 this
2413 }
2414}
2415
2416#[cfg(feature = "unity_engine-timeline-trackasset")]
2417#[doc(hidden)]
2418pub mod prelude {
2419 pub use super::{ITrackAsset, ITrackAssetMethods, TrackAsset, TrackAsset_TransientBuildData};
2420 #[cfg(feature = "system-object")]
2421 pub use crate::system::object::IObjectMethods;
2422 #[cfg(feature = "system-valuetype")]
2423 pub use crate::system::valuetype::IValueTypeMethods;
2424 #[cfg(feature = "unity_engine-object_2")]
2425 pub use crate::unity_engine::object_2::IObject_2Methods;
2426 #[cfg(feature = "unity_engine-playables-playableasset")]
2427 pub use crate::unity_engine::playables::playableasset::IPlayableAssetMethods;
2428 #[cfg(feature = "unity_engine-scriptableobject")]
2429 pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
2430 pub use crate::{
2431 system::{object::IObject, valuetype::IValueType},
2432 unity_engine::{object_2::IObject_2, playables::playableasset::IPlayableAsset, scriptableobject::IScriptableObject},
2433 };
2434}