engage/generated/unity_engine/rendering/
debugactiondesc.rs1#[cfg(feature = "unity_engine-rendering-debugactiondesc-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/debugactiondesc/DebugActionDesc.md"))]
11 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DebugActionDesc")]
12 #[parent(crate::system::object::Object)]
13 pub struct DebugActionDesc {
14 #[offset(16)]
15 #[rename(name = "axisTrigger")]
16 pub axis_trigger: ::unity::Il2CppString,
17 #[offset(24)]
18 #[rename(name = "buttonTriggerList")]
19 pub button_trigger_list: crate::system::collections::generic::list_1::List_1<::unity::Array<::unity::Il2CppString>>,
20 #[offset(32)]
21 #[rename(name = "keyTriggerList")]
22 pub key_trigger_list: crate::system::collections::generic::list_1::List_1<::unity::Array<crate::unity_engine::keycode::KeyCode>>,
23 #[offset(40)]
24 #[rename(name = "repeatMode")]
25 pub repeat_mode: crate::unity_engine::rendering::debugactionrepeatmode::DebugActionRepeatMode,
26 #[offset(44)]
27 #[rename(name = "repeatDelay")]
28 pub repeat_delay: f32,
29 }
30}
31
32#[cfg(feature = "unity_engine-rendering-debugactiondesc-types")]
33pub use __types::*;
34
35#[cfg(feature = "unity_engine-rendering-debugactiondesc")]
36pub trait IDebugActionDescMethods: IDebugActionDesc {
37 #[doc = "`.ctor()` overload"]
38 fn ctor(self) -> () {
39 unsafe {
40 let __receiver = <DebugActionDesc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41 ::unity::il2cpp_call!((::unity::module_base()+0x3536630usize)as*mut u8,();
42(DebugActionDesc)__receiver)
43 }
44 }
45}
46
47#[cfg(feature = "unity_engine-rendering-debugactiondesc")]
48impl<__T: IDebugActionDesc> IDebugActionDescMethods for __T {}
49
50#[cfg(feature = "unity_engine-rendering-debugactiondesc")]
51impl DebugActionDesc {
52 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
54 }
55}
56
57#[cfg(feature = "unity_engine-rendering-debugactiondesc")]
58impl DebugActionDesc {
59 #[doc = "`.ctor()` — no args"]
60 pub fn new() -> Self {
61 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
62 panic!(
63 "{}
64::{}
65 failed to instantiate",
66 ::core::stringify!(DebugActionDesc),
67 ::core::stringify!(new),
68 )
69 });
70 <Self as IDebugActionDescMethods>::ctor(this);
71 this
72 }
73}
74
75#[cfg(feature = "unity_engine-rendering-debugactiondesc")]
76#[doc(hidden)]
77pub mod prelude {
78 pub use super::{DebugActionDesc, IDebugActionDesc, IDebugActionDescMethods};
79 pub use crate::system::object::IObject;
80 #[cfg(feature = "system-object")]
81 pub use crate::system::object::IObjectMethods;
82}