1#[cfg(feature = "unity_engine-canvasrenderer-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 component::{Component, IComponent},
12 object_2::{IObject_2, Object_2},
13 },
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/canvasrenderer/CanvasRenderer.md"))]
17 #[::unity::class(namespace = "UnityEngine", name = "CanvasRenderer")]
18 #[parent(crate::unity_engine::component::Component)]
19 pub struct CanvasRenderer {}
20}
21
22#[cfg(feature = "unity_engine-canvasrenderer-types")]
23pub use __types::*;
24
25#[cfg(feature = "unity_engine-canvasrenderer")]
26impl CanvasRenderer {
27 #[doc = "`SplitUIVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<i32>)` overload"]
28 pub fn split_ui_vertex_streams(
29 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
30 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
31 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
32 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
33 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
34 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
35 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
36 indices: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
37 ) -> () {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x3f22490usize)as*mut u8,();
40(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(indices))
41 }
42 }
43
44 #[doc = "`SplitUIVertexStreams(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<i32>)` overload"]
45 pub fn split_ui_vertex_streams_2(
46 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
47 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
48 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
49 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
50 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
51 uv2_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
52 uv3_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
53 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
54 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
55 indices: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
56 ) -> () {
57 unsafe {
58 ::unity::il2cpp_call!((::unity::module_base()+0x3f225d0usize)as*mut u8,();
59(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv2_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv3_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(indices))
60 }
61 }
62
63 #[doc = "`CreateUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<i32>)` overload"]
64 pub fn create_ui_vertex_stream(
65 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
66 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
67 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
68 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
69 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
70 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
71 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
72 indices: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
73 ) -> () {
74 unsafe {
75 ::unity::il2cpp_call!((::unity::module_base()+0x3f227a0usize)as*mut u8,();
76(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(indices))
77 }
78 }
79
80 #[doc = "`CreateUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<i32>)` overload"]
81 pub fn create_ui_vertex_stream_2(
82 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
83 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
84 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
85 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
86 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
87 uv2_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
88 uv3_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
89 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
90 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
91 indices: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<i32>>,
92 ) -> () {
93 unsafe {
94 ::unity::il2cpp_call!((::unity::module_base()+0x3f228b0usize)as*mut u8,();
95(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv2_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv3_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents),(crate::system::collections::generic::list_1::List_1<i32>)::core::convert::Into::into(indices))
96 }
97 }
98
99 #[doc = "`AddUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
100 pub fn add_ui_vertex_stream(
101 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
102 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
103 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
104 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
105 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
106 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
107 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
108 ) -> () {
109 unsafe {
110 ::unity::il2cpp_call!((::unity::module_base()+0x3f22a10usize)as*mut u8,();
111(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents))
112 }
113 }
114
115 #[doc = "`AddUIVertexStream(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>, crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)` overload"]
116 pub fn add_ui_vertex_stream_2(
117 verts: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
118 positions: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
119 colors: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>>,
120 uv0_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
121 uv1_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
122 uv2_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
123 uv3_s: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
124 normals: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>>,
125 tangents: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>>,
126 ) -> () {
127 unsafe {
128 ::unity::il2cpp_call!((::unity::module_base()+0x3f22b20usize)as*mut u8,();
129(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(verts),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(positions),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::color32::Color32>)::core::convert::Into::into(colors),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv0_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv1_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv2_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(uv3_s),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector3::Vector3>)::core::convert::Into::into(normals),(crate::system::collections::generic::list_1::List_1<crate::unity_engine::vector4::Vector4>)::core::convert::Into::into(tangents))
130 }
131 }
132
133 #[doc = "`SplitIndicesStreamsInternal(crate::system::object::Object, crate::system::object::Object)` overload"]
134 pub fn split_indices_streams_internal(
135 verts: impl ::core::convert::Into<crate::system::object::Object>,
136 indices: impl ::core::convert::Into<crate::system::object::Object>,
137 ) -> () {
138 unsafe {
139 ::unity::il2cpp_call!((::unity::module_base()+0x3f22750usize)as*mut u8,();
140(crate::system::object::Object)::core::convert::Into::into(verts),(crate::system::object::Object)::core::convert::Into::into(indices))
141 }
142 }
143
144 #[doc = "`SplitUIVertexStreamsInternal(crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object)` overload"]
145 pub fn split_ui_vertex_streams_internal(
146 verts: impl ::core::convert::Into<crate::system::object::Object>,
147 positions: impl ::core::convert::Into<crate::system::object::Object>,
148 colors: impl ::core::convert::Into<crate::system::object::Object>,
149 uv0_s: impl ::core::convert::Into<crate::system::object::Object>,
150 uv1_s: impl ::core::convert::Into<crate::system::object::Object>,
151 uv2_s: impl ::core::convert::Into<crate::system::object::Object>,
152 uv3_s: impl ::core::convert::Into<crate::system::object::Object>,
153 normals: impl ::core::convert::Into<crate::system::object::Object>,
154 tangents: impl ::core::convert::Into<crate::system::object::Object>,
155 ) -> () {
156 unsafe {
157 ::unity::il2cpp_call!((::unity::module_base()+0x3f226b0usize)as*mut u8,();
158(crate::system::object::Object)::core::convert::Into::into(verts),(crate::system::object::Object)::core::convert::Into::into(positions),(crate::system::object::Object)::core::convert::Into::into(colors),(crate::system::object::Object)::core::convert::Into::into(uv0_s),(crate::system::object::Object)::core::convert::Into::into(uv1_s),(crate::system::object::Object)::core::convert::Into::into(uv2_s),(crate::system::object::Object)::core::convert::Into::into(uv3_s),(crate::system::object::Object)::core::convert::Into::into(normals),(crate::system::object::Object)::core::convert::Into::into(tangents))
159 }
160 }
161
162 #[doc = "`CreateUIVertexStreamInternal(crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object, crate::system::object::Object)` overload"]
163 pub fn create_ui_vertex_stream_internal(
164 verts: impl ::core::convert::Into<crate::system::object::Object>,
165 positions: impl ::core::convert::Into<crate::system::object::Object>,
166 colors: impl ::core::convert::Into<crate::system::object::Object>,
167 uv0_s: impl ::core::convert::Into<crate::system::object::Object>,
168 uv1_s: impl ::core::convert::Into<crate::system::object::Object>,
169 uv2_s: impl ::core::convert::Into<crate::system::object::Object>,
170 uv3_s: impl ::core::convert::Into<crate::system::object::Object>,
171 normals: impl ::core::convert::Into<crate::system::object::Object>,
172 tangents: impl ::core::convert::Into<crate::system::object::Object>,
173 indices: impl ::core::convert::Into<crate::system::object::Object>,
174 ) -> () {
175 unsafe {
176 ::unity::il2cpp_call!((::unity::module_base()+0x3f22960usize)as*mut u8,();
177(crate::system::object::Object)::core::convert::Into::into(verts),(crate::system::object::Object)::core::convert::Into::into(positions),(crate::system::object::Object)::core::convert::Into::into(colors),(crate::system::object::Object)::core::convert::Into::into(uv0_s),(crate::system::object::Object)::core::convert::Into::into(uv1_s),(crate::system::object::Object)::core::convert::Into::into(uv2_s),(crate::system::object::Object)::core::convert::Into::into(uv3_s),(crate::system::object::Object)::core::convert::Into::into(normals),(crate::system::object::Object)::core::convert::Into::into(tangents),(crate::system::object::Object)::core::convert::Into::into(indices))
178 }
179 }
180}
181
182#[cfg(feature = "unity_engine-canvasrenderer")]
183pub trait ICanvasRendererMethods: ICanvasRenderer {
184 #[doc = "`get_hasPopInstruction()` overload"]
185 fn get_has_pop_instruction(self) -> bool {
186 unsafe {
187 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188 ::unity::il2cpp_call!((::unity::module_base()+0x3f216d0usize)as*mut u8,bool;
189(CanvasRenderer)__receiver)
190 }
191 }
192 #[doc = "`set_hasPopInstruction(bool)` overload"]
193 fn set_has_pop_instruction(self, value: impl ::core::convert::Into<bool>) -> () {
194 unsafe {
195 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x3f21720usize)as*mut u8,();
197(CanvasRenderer)__receiver,(bool)::core::convert::Into::into(value))
198 }
199 }
200 #[doc = "`get_materialCount()` overload"]
201 fn get_material_count(self) -> i32 {
202 unsafe {
203 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204 ::unity::il2cpp_call!((::unity::module_base()+0x3f21770usize)as*mut u8,i32;
205(CanvasRenderer)__receiver)
206 }
207 }
208 #[doc = "`set_materialCount(i32)` overload"]
209 fn set_material_count(self, value: impl ::core::convert::Into<i32>) -> () {
210 unsafe {
211 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 ::unity::il2cpp_call!((::unity::module_base()+0x3f217c0usize)as*mut u8,();
213(CanvasRenderer)__receiver,(i32)::core::convert::Into::into(value))
214 }
215 }
216 #[doc = "`get_popMaterialCount()` overload"]
217 fn get_pop_material_count(self) -> i32 {
218 unsafe {
219 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 ::unity::il2cpp_call!((::unity::module_base()+0x3f21810usize)as*mut u8,i32;
221(CanvasRenderer)__receiver)
222 }
223 }
224 #[doc = "`set_popMaterialCount(i32)` overload"]
225 fn set_pop_material_count(self, value: impl ::core::convert::Into<i32>) -> () {
226 unsafe {
227 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 ::unity::il2cpp_call!((::unity::module_base()+0x3f21860usize)as*mut u8,();
229(CanvasRenderer)__receiver,(i32)::core::convert::Into::into(value))
230 }
231 }
232 #[doc = "`get_absoluteDepth()` overload"]
233 fn get_absolute_depth(self) -> i32 {
234 unsafe {
235 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236 ::unity::il2cpp_call!((::unity::module_base()+0x3f218b0usize)as*mut u8,i32;
237(CanvasRenderer)__receiver)
238 }
239 }
240 #[doc = "`get_hasMoved()` overload"]
241 fn get_has_moved(self) -> bool {
242 unsafe {
243 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244 ::unity::il2cpp_call!((::unity::module_base()+0x3f21900usize)as*mut u8,bool;
245(CanvasRenderer)__receiver)
246 }
247 }
248 #[doc = "`get_cullTransparentMesh()` overload"]
249 fn get_cull_transparent_mesh(self) -> bool {
250 unsafe {
251 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252 ::unity::il2cpp_call!((::unity::module_base()+0x3f21950usize)as*mut u8,bool;
253(CanvasRenderer)__receiver)
254 }
255 }
256 #[doc = "`set_cullTransparentMesh(bool)` overload"]
257 fn set_cull_transparent_mesh(self, value: impl ::core::convert::Into<bool>) -> () {
258 unsafe {
259 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260 ::unity::il2cpp_call!((::unity::module_base()+0x3f219a0usize)as*mut u8,();
261(CanvasRenderer)__receiver,(bool)::core::convert::Into::into(value))
262 }
263 }
264 #[doc = "`get_hasRectClipping()` overload"]
265 fn get_has_rect_clipping(self) -> bool {
266 unsafe {
267 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268 ::unity::il2cpp_call!((::unity::module_base()+0x3f219f0usize)as*mut u8,bool;
269(CanvasRenderer)__receiver)
270 }
271 }
272 #[doc = "`get_relativeDepth()` overload"]
273 fn get_relative_depth(self) -> i32 {
274 unsafe {
275 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 ::unity::il2cpp_call!((::unity::module_base()+0x3f21a40usize)as*mut u8,i32;
277(CanvasRenderer)__receiver)
278 }
279 }
280 #[doc = "`get_cull()` overload"]
281 fn get_cull(self) -> bool {
282 unsafe {
283 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
284 ::unity::il2cpp_call!((::unity::module_base()+0x3f21a90usize)as*mut u8,bool;
285(CanvasRenderer)__receiver)
286 }
287 }
288 #[doc = "`set_cull(bool)` overload"]
289 fn set_cull(self, value: impl ::core::convert::Into<bool>) -> () {
290 unsafe {
291 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
292 ::unity::il2cpp_call!((::unity::module_base()+0x3f21ae0usize)as*mut u8,();
293(CanvasRenderer)__receiver,(bool)::core::convert::Into::into(value))
294 }
295 }
296 #[doc = "`get_isMask()` overload"]
297 fn get_is_mask(self) -> bool {
298 unsafe {
299 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300 ::unity::il2cpp_call!((::unity::module_base()+0x3f21b30usize)as*mut u8,bool;
301(CanvasRenderer)__receiver)
302 }
303 }
304 #[doc = "`set_isMask(bool)` overload"]
305 fn set_is_mask(self, value: impl ::core::convert::Into<bool>) -> () {
306 unsafe {
307 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308 ::unity::il2cpp_call!((::unity::module_base()+0x3f21b40usize)as*mut u8,();
309(CanvasRenderer)__receiver,(bool)::core::convert::Into::into(value))
310 }
311 }
312 #[doc = "`SetColor(crate::unity_engine::color::Color)` overload"]
313 fn set_color(self, color: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
314 unsafe {
315 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316 ::unity::il2cpp_call!((::unity::module_base()+0x3f21b50usize)as*mut u8,();
317(CanvasRenderer)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(color))
318 }
319 }
320 #[doc = "`GetColor()` overload"]
321 fn get_color(self) -> crate::unity_engine::color::Color {
322 unsafe {
323 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324 ::unity::il2cpp_call!((::unity::module_base()+0x3f21c00usize)as*mut u8,crate::unity_engine::color::Color;
325(CanvasRenderer)__receiver)
326 }
327 }
328 #[doc = "`EnableRectClipping(crate::unity_engine::rect::Rect)` overload"]
329 fn enable_rect_clipping(self, rect: impl ::core::convert::Into<crate::unity_engine::rect::Rect>) -> () {
330 unsafe {
331 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 ::unity::il2cpp_call!((::unity::module_base()+0x3f21cb0usize)as*mut u8,();
333(CanvasRenderer)__receiver,(crate::unity_engine::rect::Rect)::core::convert::Into::into(rect))
334 }
335 }
336 #[doc = "`get_clippingSoftness()` overload"]
337 fn get_clipping_softness(self) -> crate::unity_engine::vector2::Vector2 {
338 unsafe {
339 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 ::unity::il2cpp_call!((::unity::module_base()+0x3f21d60usize)as*mut u8,crate::unity_engine::vector2::Vector2;
341(CanvasRenderer)__receiver)
342 }
343 }
344 #[doc = "`set_clippingSoftness(crate::unity_engine::vector2::Vector2)` overload"]
345 fn set_clipping_softness(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
346 unsafe {
347 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348 ::unity::il2cpp_call!((::unity::module_base()+0x3f21e10usize)as*mut u8,();
349(CanvasRenderer)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
350 }
351 }
352 #[doc = "`DisableRectClipping()` overload"]
353 fn disable_rect_clipping(self) -> () {
354 unsafe {
355 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x3f21ec0usize)as*mut u8,();
357(CanvasRenderer)__receiver)
358 }
359 }
360 #[doc = "`SetMaterial(crate::unity_engine::material::Material, i32)` overload"]
361 fn set_material(
362 self,
363 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
364 index: impl ::core::convert::Into<i32>,
365 ) -> () {
366 unsafe {
367 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x3f21f10usize)as*mut u8,();
369(CanvasRenderer)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(index))
370 }
371 }
372 #[doc = "`GetMaterial(i32)` overload"]
373 fn get_material(self, index: impl ::core::convert::Into<i32>) -> crate::unity_engine::material::Material {
374 unsafe {
375 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x3f21f70usize)as*mut u8,crate::unity_engine::material::Material;
377(CanvasRenderer)__receiver,(i32)::core::convert::Into::into(index))
378 }
379 }
380 #[doc = "`SetPopMaterial(crate::unity_engine::material::Material, i32)` overload"]
381 fn set_pop_material(
382 self,
383 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
384 index: impl ::core::convert::Into<i32>,
385 ) -> () {
386 unsafe {
387 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x3f21fc0usize)as*mut u8,();
389(CanvasRenderer)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(material),(i32)::core::convert::Into::into(index))
390 }
391 }
392 #[doc = "`GetPopMaterial(i32)` overload"]
393 fn get_pop_material(self, index: impl ::core::convert::Into<i32>) -> crate::unity_engine::material::Material {
394 unsafe {
395 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x3f22020usize)as*mut u8,crate::unity_engine::material::Material;
397(CanvasRenderer)__receiver,(i32)::core::convert::Into::into(index))
398 }
399 }
400 #[doc = "`SetTexture(crate::unity_engine::texture::Texture)` overload"]
401 fn set_texture(self, texture: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
402 unsafe {
403 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x3f22070usize)as*mut u8,();
405(CanvasRenderer)__receiver,(crate::unity_engine::texture::Texture)::core::convert::Into::into(texture))
406 }
407 }
408 #[doc = "`SetAlphaTexture(crate::unity_engine::texture::Texture)` overload"]
409 fn set_alpha_texture(self, texture: impl ::core::convert::Into<crate::unity_engine::texture::Texture>) -> () {
410 unsafe {
411 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x3f220c0usize)as*mut u8,();
413(CanvasRenderer)__receiver,(crate::unity_engine::texture::Texture)::core::convert::Into::into(texture))
414 }
415 }
416 #[doc = "`SetMesh(crate::unity_engine::mesh::Mesh)` overload"]
417 fn set_mesh(self, mesh: impl ::core::convert::Into<crate::unity_engine::mesh::Mesh>) -> () {
418 unsafe {
419 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x3f22110usize)as*mut u8,();
421(CanvasRenderer)__receiver,(crate::unity_engine::mesh::Mesh)::core::convert::Into::into(mesh))
422 }
423 }
424 #[doc = "`Clear()` overload"]
425 fn clear(self) -> () {
426 unsafe {
427 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428 ::unity::il2cpp_call!((::unity::module_base()+0x3f22160usize)as*mut u8,();
429(CanvasRenderer)__receiver)
430 }
431 }
432 #[doc = "`GetAlpha()` overload"]
433 fn get_alpha(self) -> f32 {
434 unsafe {
435 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
436 ::unity::il2cpp_call!((::unity::module_base()+0x3f221b0usize)as*mut u8,f32;
437(CanvasRenderer)__receiver)
438 }
439 }
440 #[doc = "`SetAlpha(f32)` overload"]
441 fn set_alpha(self, alpha: impl ::core::convert::Into<f32>) -> () {
442 unsafe {
443 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
444 ::unity::il2cpp_call!((::unity::module_base()+0x3f22210usize)as*mut u8,();
445(CanvasRenderer)__receiver,(f32)::core::convert::Into::into(alpha))
446 }
447 }
448 #[doc = "`GetInheritedAlpha()` overload"]
449 fn get_inherited_alpha(self) -> f32 {
450 unsafe {
451 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
452 ::unity::il2cpp_call!((::unity::module_base()+0x3f222b0usize)as*mut u8,f32;
453(CanvasRenderer)__receiver)
454 }
455 }
456 #[doc = "`SetMaterial(crate::unity_engine::material::Material, crate::unity_engine::texture::Texture)` overload"]
457 fn set_material_2(
458 self,
459 material: impl ::core::convert::Into<crate::unity_engine::material::Material>,
460 texture: impl ::core::convert::Into<crate::unity_engine::texture::Texture>,
461 ) -> () {
462 unsafe {
463 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
464 ::unity::il2cpp_call!((::unity::module_base()+0x3f22300usize)as*mut u8,();
465(CanvasRenderer)__receiver,(crate::unity_engine::material::Material)::core::convert::Into::into(material),(crate::unity_engine::texture::Texture)::core::convert::Into::into(texture))
466 }
467 }
468 #[doc = "`GetMaterial()` overload"]
469 fn get_material_2(self) -> crate::unity_engine::material::Material {
470 unsafe {
471 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
472 ::unity::il2cpp_call!((::unity::module_base()+0x3f22440usize)as*mut u8,crate::unity_engine::material::Material;
473(CanvasRenderer)__receiver)
474 }
475 }
476 #[doc = "`SetVertices(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)` overload"]
477 fn set_vertices(
478 self,
479 vertices: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>>,
480 ) -> () {
481 unsafe {
482 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
483 ::unity::il2cpp_call!((::unity::module_base()+0x3f22bc0usize)as*mut u8,();
484(CanvasRenderer)__receiver,(crate::system::collections::generic::list_1::List_1<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(vertices))
485 }
486 }
487 #[doc = "`SetVertices(::unity::Array<crate::unity_engine::uivertex::UIVertex>, i32)` overload"]
488 fn set_vertices_2(
489 self,
490 vertices: impl ::core::convert::Into<::unity::Array<crate::unity_engine::uivertex::UIVertex>>,
491 size: impl ::core::convert::Into<i32>,
492 ) -> () {
493 unsafe {
494 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
495 ::unity::il2cpp_call!((::unity::module_base()+0x3f22c40usize)as*mut u8,();
496(CanvasRenderer)__receiver,(::unity::Array<crate::unity_engine::uivertex::UIVertex>)::core::convert::Into::into(vertices),(i32)::core::convert::Into::into(size))
497 }
498 }
499 #[doc = "`.ctor()` overload"]
500 fn ctor(self) -> () {
501 unsafe {
502 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
503 ::unity::il2cpp_call!((::unity::module_base()+0x3f23160usize)as*mut u8,();
504(CanvasRenderer)__receiver)
505 }
506 }
507 #[doc = "`SetColor_Injected(*mutcrate::unity_engine::color::Color)` overload"]
508 fn set_color_injected(self) -> crate::unity_engine::color::Color {
509 unsafe {
510 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
511 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
512 ::unity::il2cpp_call!((::unity::module_base()+0x3f21bb0usize)as*mut u8,();
513(CanvasRenderer)__receiver,(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
514 __out_0.assume_init()
515 }
516 }
517 #[doc = "`GetColor_Injected(*mutcrate::unity_engine::color::Color)` overload"]
518 fn get_color_injected(self) -> crate::unity_engine::color::Color {
519 unsafe {
520 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::color::Color>::uninit();
522 ::unity::il2cpp_call!((::unity::module_base()+0x3f21c60usize)as*mut u8,();
523(CanvasRenderer)__receiver,(*mut crate::unity_engine::color::Color)__out_0.as_mut_ptr());
524 __out_0.assume_init()
525 }
526 }
527 #[doc = "`EnableRectClipping_Injected(*mutcrate::unity_engine::rect::Rect)` overload"]
528 fn enable_rect_clipping_injected(self) -> crate::unity_engine::rect::Rect {
529 unsafe {
530 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
531 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::rect::Rect>::uninit();
532 ::unity::il2cpp_call!((::unity::module_base()+0x3f21d10usize)as*mut u8,();
533(CanvasRenderer)__receiver,(*mut crate::unity_engine::rect::Rect)__out_0.as_mut_ptr());
534 __out_0.assume_init()
535 }
536 }
537 #[doc = "`get_clippingSoftness_Injected(*mutcrate::unity_engine::vector2::Vector2)` overload"]
538 fn get_clipping_softness_injected(self) -> crate::unity_engine::vector2::Vector2 {
539 unsafe {
540 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
542 ::unity::il2cpp_call!((::unity::module_base()+0x3f21dc0usize)as*mut u8,();
543(CanvasRenderer)__receiver,(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
544 __out_0.assume_init()
545 }
546 }
547 #[doc = "`set_clippingSoftness_Injected(*mutcrate::unity_engine::vector2::Vector2)` overload"]
548 fn set_clipping_softness_injected(self) -> crate::unity_engine::vector2::Vector2 {
549 unsafe {
550 let __receiver = <CanvasRenderer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
551 let mut __out_0 = ::core::mem::MaybeUninit::<crate::unity_engine::vector2::Vector2>::uninit();
552 ::unity::il2cpp_call!((::unity::module_base()+0x3f21e70usize)as*mut u8,();
553(CanvasRenderer)__receiver,(*mut crate::unity_engine::vector2::Vector2)__out_0.as_mut_ptr());
554 __out_0.assume_init()
555 }
556 }
557}
558
559#[cfg(feature = "unity_engine-canvasrenderer")]
560impl<__T: ICanvasRenderer> ICanvasRendererMethods for __T {}
561
562#[cfg(feature = "unity_engine-canvasrenderer")]
563impl CanvasRenderer {
564 pub fn get_has_pop_instruction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
565 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
566 }
567
568 pub fn set_has_pop_instruction_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
570 }
571
572 pub fn get_material_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
573 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
574 }
575
576 pub fn set_material_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
577 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
578 }
579
580 pub fn get_pop_material_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
581 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
582 }
583
584 pub fn set_pop_material_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
585 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
586 }
587
588 pub fn get_absolute_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
589 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
590 }
591
592 pub fn get_has_moved_method_info() -> &'static ::unity::il2cpp::MethodInfo {
593 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
594 }
595
596 pub fn get_cull_transparent_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
598 }
599
600 pub fn set_cull_transparent_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
602 }
603
604 pub fn get_has_rect_clipping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
606 }
607
608 pub fn get_relative_depth_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
610 }
611
612 pub fn get_cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
614 }
615
616 pub fn set_cull_method_info() -> &'static ::unity::il2cpp::MethodInfo {
617 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
618 }
619
620 pub fn get_is_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
621 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
622 }
623
624 pub fn set_is_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
625 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
626 }
627
628 pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
629 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
630 }
631
632 pub fn get_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
633 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
634 }
635
636 pub fn enable_rect_clipping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
637 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
638 }
639
640 pub fn get_clipping_softness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
641 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
642 }
643
644 pub fn set_clipping_softness_method_info() -> &'static ::unity::il2cpp::MethodInfo {
645 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
646 }
647
648 pub fn disable_rect_clipping_method_info() -> &'static ::unity::il2cpp::MethodInfo {
649 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
650 }
651
652 pub fn set_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
653 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
654 }
655
656 pub fn get_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
657 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
658 }
659
660 pub fn set_pop_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
661 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
662 }
663
664 pub fn get_pop_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
665 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
666 }
667
668 pub fn set_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
670 }
671
672 pub fn set_alpha_texture_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
674 }
675
676 pub fn set_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
678 }
679
680 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
682 }
683
684 pub fn get_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
686 }
687
688 pub fn set_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
690 }
691
692 pub fn get_inherited_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
694 }
695
696 pub fn set_material_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
698 }
699
700 pub fn get_material_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
702 }
703
704 pub fn split_ui_vertex_streams_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
706 }
707
708 pub fn split_ui_vertex_streams_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
710 }
711
712 pub fn create_ui_vertex_stream_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
714 }
715
716 pub fn create_ui_vertex_stream_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
718 }
719
720 pub fn add_ui_vertex_stream_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
722 }
723
724 pub fn add_ui_vertex_stream_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
726 }
727
728 pub fn set_vertices_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
730 }
731
732 pub fn set_vertices_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
734 }
735
736 pub fn split_indices_streams_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
738 }
739
740 pub fn split_ui_vertex_streams_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
742 }
743
744 pub fn create_ui_vertex_stream_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
746 }
747
748 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
750 }
751
752 pub fn set_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
754 }
755
756 pub fn get_color_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
758 }
759
760 pub fn enable_rect_clipping_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
762 }
763
764 pub fn get_clipping_softness_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
766 }
767
768 pub fn set_clipping_softness_injected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
770 }
771}
772
773#[cfg(feature = "unity_engine-canvasrenderer")]
774impl CanvasRenderer {
775 #[doc = "`.ctor()` — no args"]
776 pub fn new() -> Self {
777 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
778 panic!(
779 "{}
780::{}
781 failed to instantiate",
782 ::core::stringify!(CanvasRenderer),
783 ::core::stringify!(new),
784 )
785 });
786 <Self as ICanvasRendererMethods>::ctor(this);
787 this
788 }
789}
790
791#[cfg(feature = "unity_engine-canvasrenderer")]
792#[doc(hidden)]
793pub mod prelude {
794 pub use super::{CanvasRenderer, ICanvasRenderer, ICanvasRendererMethods};
795 #[cfg(feature = "system-object")]
796 pub use crate::system::object::IObjectMethods;
797 #[cfg(feature = "unity_engine-component")]
798 pub use crate::unity_engine::component::IComponentMethods;
799 #[cfg(feature = "unity_engine-object_2")]
800 pub use crate::unity_engine::object_2::IObject_2Methods;
801 pub use crate::{
802 system::object::IObject,
803 unity_engine::{component::IComponent, object_2::IObject_2},
804 };
805}