1#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess-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/experimental/rendering/universal/lib_tess_dot_net/tess/Tess.md"))]
11 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.Universal.LibTessDotNet", name = "Tess")]
12 #[parent(crate::system::object::Object)]
13 pub struct Tess {
14 #[offset(16)]
15 #[rename(name = "_mesh")]
16 pub mesh: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::mesh_2::Mesh_2,
17 #[offset(24)]
18 #[rename(name = "_normal")]
19 pub normal_field: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3,
20 #[offset(36)]
21 #[rename(name = "_sUnit")]
22 pub s_unit: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3,
23 #[offset(48)]
24 #[rename(name = "_tUnit")]
25 pub t_unit: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3,
26 #[offset(60)]
27 #[rename(name = "_bminX")]
28 pub bmin_x: f32,
29 #[offset(64)]
30 #[rename(name = "_bminY")]
31 pub bmin_y: f32,
32 #[offset(68)]
33 #[rename(name = "_bmaxX")]
34 pub bmax_x: f32,
35 #[offset(72)]
36 #[rename(name = "_bmaxY")]
37 pub bmax_y: f32,
38 #[offset(76)]
39 #[rename(name = "_windingRule")]
40 pub winding_rule: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule,
41 #[offset(80)]
42 #[rename(name = "_dict")]
43 pub dict: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::dict_1::Dict_1<
44 crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion,
45 >,
46 #[offset(88)]
47 #[rename(name = "_pq")]
48 pub pq: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::priorityqueue_1::PriorityQueue_1<
49 crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex,
50 >,
51 #[offset(96)]
52 #[rename(name = "_event")]
53 pub event: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex,
54 #[offset(104)]
55 #[rename(name = "_combineCallback")]
56 pub combine_callback: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::combinecallback::CombineCallback,
57 #[offset(112)]
58 #[rename(name = "_vertices")]
59 pub vertices: ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>,
60 #[offset(120)]
61 #[rename(name = "_vertexCount")]
62 pub vertex_count: i32,
63 #[offset(128)]
64 #[rename(name = "_elements")]
65 pub elements: ::unity::Array<i32>,
66 #[offset(136)]
67 #[rename(name = "_elementCount")]
68 pub element_count: i32,
69 #[offset(140)]
70 #[rename(name = "SUnitX")]
71 pub s_unit_x: f32,
72 #[offset(144)]
73 #[rename(name = "SUnitY")]
74 pub s_unit_y: f32,
75 #[offset(148)]
76 #[rename(name = "SentinelCoord")]
77 pub sentinel_coord: f32,
78 #[offset(152)]
79 #[rename(name = "NoEmptyPolygons")]
80 pub no_empty_polygons: bool,
81 #[offset(153)]
82 #[rename(name = "UsePooling")]
83 pub use_pooling: bool,
84 }
85
86 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/universal/lib_tess_dot_net/tess/Tess_ActiveRegion.md"))]
87 #[::unity::class(namespace = "UnityEngine.Experimental.Rendering.Universal.LibTessDotNet", name = "Tess.ActiveRegion")]
88 #[parent(crate::system::object::Object)]
89 pub struct Tess_ActiveRegion {
90 #[offset(16)]
91 #[rename(name = "_eUp")]
92 pub e_up: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge,
93 #[offset(24)]
94 #[rename(name = "_nodeUp")]
95 pub node_up: crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::dict_1::Dict_1_Node<
96 crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion,
97 >,
98 #[offset(32)]
99 #[rename(name = "_windingNumber")]
100 pub winding_number: i32,
101 #[offset(36)]
102 #[rename(name = "_inside")]
103 pub inside: bool,
104 #[offset(37)]
105 #[rename(name = "_sentinel")]
106 pub sentinel: bool,
107 #[offset(38)]
108 #[rename(name = "_dirty")]
109 pub dirty: bool,
110 #[offset(39)]
111 #[rename(name = "_fixUpperEdge")]
112 pub fix_upper_edge: bool,
113 }
114}
115
116#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess-types")]
117pub use __types::*;
118
119#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
120pub trait ITessMethods: ITess {
121 #[doc = "`RegionBelow(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
122 fn region_below(
123 self,
124 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
125 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion {
126 unsafe {
127 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x2edf9e0usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion;
129(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
130 }
131 }
132 #[doc = "`RegionAbove(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
133 fn region_above(
134 self,
135 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
136 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion {
137 unsafe {
138 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x2edf9f0usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion;
140(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
141 }
142 }
143 #[doc = "`EdgeLeq(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
144 fn edge_leq(
145 self,
146 reg1: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
147 reg2: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
148 ) -> bool {
149 unsafe {
150 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151 ::unity::il2cpp_call!((::unity::module_base()+0x2edfa00usize)as*mut u8,bool;
152(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg1),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg2))
153 }
154 }
155 #[doc = "`DeleteRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
156 fn delete_region(
157 self,
158 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
159 ) -> () {
160 unsafe {
161 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x2edfb40usize)as*mut u8,();
163(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
164 }
165 }
166 #[doc = "`FixUpperEdge(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)` overload"]
167 fn fix_upper_edge(
168 self,
169 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
170 new_edge: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
171 ) -> () {
172 unsafe {
173 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174 ::unity::il2cpp_call!((::unity::module_base()+0x2edfbb0usize)as*mut u8,();
175(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(new_edge))
176 }
177 }
178 #[doc = "`TopLeftRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
179 fn top_left_region(
180 self,
181 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
182 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion {
183 unsafe {
184 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x2edfc10usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion;
186(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
187 }
188 }
189 #[doc = "`TopRightRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
190 fn top_right_region(
191 self,
192 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
193 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion {
194 unsafe {
195 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x2edfce0usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion;
197(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
198 }
199 }
200 #[doc = "`AddRegionBelow(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)` overload"]
201 fn add_region_below(
202 self,
203 reg_above: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
204 e_new_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
205 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion {
206 unsafe {
207 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208 ::unity::il2cpp_call!((::unity::module_base()+0x2edfd30usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion;
209(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_above),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e_new_up))
210 }
211 }
212 #[doc = "`ComputeWinding(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
213 fn compute_winding(
214 self,
215 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
216 ) -> () {
217 unsafe {
218 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x2edfe10usize)as*mut u8,();
220(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
221 }
222 }
223 #[doc = "`FinishRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
224 fn finish_region(
225 self,
226 reg: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
227 ) -> () {
228 unsafe {
229 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230 ::unity::il2cpp_call!((::unity::module_base()+0x2edfe60usize)as*mut u8,();
231(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg))
232 }
233 }
234 #[doc = "`FinishLeftRegions(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
235 fn finish_left_regions(
236 self,
237 reg_first: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
238 reg_last: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
239 ) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge {
240 unsafe {
241 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242 ::unity::il2cpp_call!((::unity::module_base()+0x2edfef0usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge;
243(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_first),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_last))
244 }
245 }
246 #[doc = "`AddRightEdges(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge, bool)` overload"]
247 fn add_right_edges(
248 self,
249 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
250 e_first: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
251 e_last: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
252 e_top_left: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
253 clean_up: impl ::core::convert::Into<bool>,
254 ) -> () {
255 unsafe {
256 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
257 ::unity::il2cpp_call!((::unity::module_base()+0x2ee00e0usize)as*mut u8,();
258(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e_first),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e_last),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e_top_left),(bool)::core::convert::Into::into(clean_up))
259 }
260 }
261 #[doc = "`SpliceMergeVertices(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)` overload"]
262 fn splice_merge_vertices(
263 self,
264 e1: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
265 e2: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
266 ) -> () {
267 unsafe {
268 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0840usize)as*mut u8,();
270(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e1),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e2))
271 }
272 }
273 #[doc = "`VertexWeights(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, *mutf32, *mutf32)` overload"]
274 fn vertex_weights(
275 self,
276 isect: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
277 org: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
278 dst: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
279 ) -> (f32, f32) {
280 unsafe {
281 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282 let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
283 let mut __out_1 = ::core::mem::MaybeUninit::<f32>::uninit();
284 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0850usize)as*mut u8,();
285(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(isect),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(org),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(dst),(*mut f32)__out_0.as_mut_ptr(),(*mut f32)__out_1.as_mut_ptr());
286 (__out_0.assume_init(), __out_1.assume_init())
287 }
288 }
289 #[doc = "`GetIntersectData(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)` overload"]
290 fn get_intersect_data(
291 self,
292 isect: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
293 org_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
294 dst_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
295 org_lo: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
296 dst_lo: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
297 ) -> () {
298 unsafe {
299 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0950usize)as*mut u8,();
301(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(isect),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(org_up),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(dst_up),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(org_lo),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(dst_lo))
302 }
303 }
304 #[doc = "`CheckForRightSplice(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
305 fn check_for_right_splice(
306 self,
307 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
308 ) -> bool {
309 unsafe {
310 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311 ::unity::il2cpp_call!((::unity::module_base()+0x2ee03b0usize)as*mut u8,bool;
312(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up))
313 }
314 }
315 #[doc = "`CheckForLeftSplice(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
316 fn check_for_left_splice(
317 self,
318 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
319 ) -> bool {
320 unsafe {
321 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
322 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0d00usize)as*mut u8,bool;
323(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up))
324 }
325 }
326 #[doc = "`CheckForIntersect(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
327 fn check_for_intersect(
328 self,
329 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
330 ) -> bool {
331 unsafe {
332 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
333 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0e90usize)as*mut u8,bool;
334(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up))
335 }
336 }
337 #[doc = "`WalkDirtyRegions(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)` overload"]
338 fn walk_dirty_regions(
339 self,
340 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
341 ) -> () {
342 unsafe {
343 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x2ee0570usize)as*mut u8,();
345(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up))
346 }
347 }
348 #[doc = "`ConnectRightVertex(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)` overload"]
349 fn connect_right_vertex(
350 self,
351 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
352 e_bottom_left: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
353 ) -> () {
354 unsafe {
355 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x2ee14e0usize)as*mut u8,();
357(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(e_bottom_left))
358 }
359 }
360 #[doc = "`ConnectLeftDegenerate(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)` overload"]
361 fn connect_left_degenerate(
362 self,
363 reg_up: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion>,
364 v_event: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
365 ) -> () {
366 unsafe {
367 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x2ee16e0usize)as*mut u8,();
369(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion)::core::convert::Into::into(reg_up),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(v_event))
370 }
371 }
372 #[doc = "`ConnectLeftVertex(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)` overload"]
373 fn connect_left_vertex(
374 self,
375 v_event: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
376 ) -> () {
377 unsafe {
378 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379 ::unity::il2cpp_call!((::unity::module_base()+0x2ee18a0usize)as*mut u8,();
380(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(v_event))
381 }
382 }
383 #[doc = "`SweepEvent(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)` overload"]
384 fn sweep_event(
385 self,
386 v_event: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex>,
387 ) -> () {
388 unsafe {
389 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 ::unity::il2cpp_call!((::unity::module_base()+0x2ee17d0usize)as*mut u8,();
391(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex)::core::convert::Into::into(v_event))
392 }
393 }
394 #[doc = "`AddSentinel(f32, f32, f32)` overload"]
395 fn add_sentinel(self, smin: impl ::core::convert::Into<f32>, smax: impl ::core::convert::Into<f32>, t: impl ::core::convert::Into<f32>) -> () {
396 unsafe {
397 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
398 ::unity::il2cpp_call!((::unity::module_base()+0x2ee1b30usize)as*mut u8,();
399(Tess)__receiver,(f32)::core::convert::Into::into(smin),(f32)::core::convert::Into::into(smax),(f32)::core::convert::Into::into(t))
400 }
401 }
402 #[doc = "`InitEdgeDict()` overload"]
403 fn init_edge_dict(self) -> () {
404 unsafe {
405 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406 ::unity::il2cpp_call!((::unity::module_base()+0x2ee1c60usize)as*mut u8,();
407(Tess)__receiver)
408 }
409 }
410 #[doc = "`DoneEdgeDict()` overload"]
411 fn done_edge_dict(self) -> () {
412 unsafe {
413 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x2ee1d80usize)as*mut u8,();
415(Tess)__receiver)
416 }
417 }
418 #[doc = "`RemoveDegenerateEdges()` overload"]
419 fn remove_degenerate_edges(self) -> () {
420 unsafe {
421 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x2ee1e60usize)as*mut u8,();
423(Tess)__receiver)
424 }
425 }
426 #[doc = "`InitPriorityQ()` overload"]
427 fn init_priority_q(self) -> () {
428 unsafe {
429 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x2ee1f90usize)as*mut u8,();
431(Tess)__receiver)
432 }
433 }
434 #[doc = "`DonePriorityQ()` overload"]
435 fn done_priority_q(self) -> () {
436 unsafe {
437 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x2ee21a0usize)as*mut u8,();
439(Tess)__receiver)
440 }
441 }
442 #[doc = "`RemoveDegenerateFaces()` overload"]
443 fn remove_degenerate_faces(self) -> () {
444 unsafe {
445 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x2ee21b0usize)as*mut u8,();
447(Tess)__receiver)
448 }
449 }
450 #[doc = "`ComputeInterior()` overload"]
451 fn compute_interior(self) -> () {
452 unsafe {
453 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
454 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2240usize)as*mut u8,();
455(Tess)__receiver)
456 }
457 }
458 #[doc = "`get_Normal()` overload"]
459 fn get_normal(self) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3 {
460 unsafe {
461 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2430usize)as*mut u8,crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3;
463(Tess)__receiver)
464 }
465 }
466 #[doc = "`set_Normal(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3)` overload"]
467 fn set_normal(
468 self,
469 value: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3>,
470 ) -> () {
471 unsafe {
472 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
473 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2440usize)as*mut u8,();
474(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3)::core::convert::Into::into(value))
475 }
476 }
477 #[doc = "`get_Vertices()` overload"]
478 fn get_vertices(self) -> ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex> {
479 unsafe {
480 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
481 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2450usize)as*mut u8, ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex> ;
482(Tess)__receiver)
483 }
484 }
485 #[doc = "`get_VertexCount()` overload"]
486 fn get_vertex_count(self) -> i32 {
487 unsafe {
488 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
489 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2460usize)as*mut u8,i32;
490(Tess)__receiver)
491 }
492 }
493 #[doc = "`get_Elements()` overload"]
494 fn get_elements(self) -> ::unity::Array<i32> {
495 unsafe {
496 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
497 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2470usize)as*mut u8, ::unity::Array<i32> ;
498(Tess)__receiver)
499 }
500 }
501 #[doc = "`get_ElementCount()` overload"]
502 fn get_element_count(self) -> i32 {
503 unsafe {
504 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
505 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2480usize)as*mut u8,i32;
506(Tess)__receiver)
507 }
508 }
509 #[doc = "`.ctor()` overload"]
510 fn ctor(self) -> () {
511 unsafe {
512 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
513 ::unity::il2cpp_call!((::unity::module_base()+0x2edbe10usize)as*mut u8,();
514(Tess)__receiver)
515 }
516 }
517 #[doc = "`ComputeNormal(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3)` overload"]
518 fn compute_normal(self) -> crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3 {
519 unsafe {
520 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
521 let mut __out_0 =
522 ::core::mem::MaybeUninit::<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3>::uninit();
523 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2490usize)as*mut u8,();
524(Tess)__receiver,(*mut crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3)__out_0.as_mut_ptr());
525 __out_0.assume_init()
526 }
527 }
528 #[doc = "`CheckOrientation()` overload"]
529 fn check_orientation(self) -> () {
530 unsafe {
531 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2b80usize)as*mut u8,();
533(Tess)__receiver)
534 }
535 }
536 #[doc = "`ProjectPolygon()` overload"]
537 fn project_polygon(self) -> () {
538 unsafe {
539 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
540 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2c90usize)as*mut u8,();
541(Tess)__receiver)
542 }
543 }
544 #[doc = "`TessellateMonoRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Face)` overload"]
545 fn tessellate_mono_region(
546 self,
547 face: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Face>,
548 ) -> () {
549 unsafe {
550 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
551 ::unity::il2cpp_call!((::unity::module_base()+0x2ee2fb0usize)as*mut u8,();
552(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Face)::core::convert::Into::into(face))
553 }
554 }
555 #[doc = "`TessellateInterior()` overload"]
556 fn tessellate_interior(self) -> () {
557 unsafe {
558 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
559 ::unity::il2cpp_call!((::unity::module_base()+0x2ee31d0usize)as*mut u8,();
560(Tess)__receiver)
561 }
562 }
563 #[doc = "`DiscardExterior()` overload"]
564 fn discard_exterior(self) -> () {
565 unsafe {
566 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
567 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3230usize)as*mut u8,();
568(Tess)__receiver)
569 }
570 }
571 #[doc = "`SetWindingNumber(i32, bool)` overload"]
572 fn set_winding_number(self, value: impl ::core::convert::Into<i32>, keep_only_boundary: impl ::core::convert::Into<bool>) -> () {
573 unsafe {
574 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
575 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3290usize)as*mut u8,();
576(Tess)__receiver,(i32)::core::convert::Into::into(value),(bool)::core::convert::Into::into(keep_only_boundary))
577 }
578 }
579 #[doc = "`GetNeighbourFace(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)` overload"]
580 fn get_neighbour_face(
581 self,
582 edge: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge>,
583 ) -> i32 {
584 unsafe {
585 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
586 ::unity::il2cpp_call!((::unity::module_base()+0x2ee33a0usize)as*mut u8,i32;
587(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge)::core::convert::Into::into(edge))
588 }
589 }
590 #[doc = "`OutputPolymesh(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType, i32)` overload"]
591 fn output_polymesh(
592 self,
593 element_type: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType>,
594 poly_size: impl ::core::convert::Into<i32>,
595 ) -> () {
596 unsafe {
597 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
598 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3400usize)as*mut u8,();
599(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType)::core::convert::Into::into(element_type),(i32)::core::convert::Into::into(poly_size))
600 }
601 }
602 #[doc = "`OutputContours()` overload"]
603 fn output_contours(self) -> () {
604 unsafe {
605 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
606 ::unity::il2cpp_call!((::unity::module_base()+0x2ee38a0usize)as*mut u8,();
607(Tess)__receiver)
608 }
609 }
610 #[doc = "`SignedArea(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>)` overload"]
611 fn signed_area(
612 self,
613 vertices: impl ::core::convert::Into<
614 ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>,
615 >,
616 ) -> f32 {
617 unsafe {
618 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
619 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3ae0usize)as*mut u8,f32;
620(Tess)__receiver,(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>)::core::convert::Into::into(vertices))
621 }
622 }
623 #[doc = "`AddContour(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>)` overload"]
624 fn add_contour(
625 self,
626 vertices: impl ::core::convert::Into<
627 ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>,
628 >,
629 ) -> () {
630 unsafe {
631 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
632 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3b80usize)as*mut u8,();
633(Tess)__receiver,(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>)::core::convert::Into::into(vertices))
634 }
635 }
636 #[doc = "`AddContour(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourorientation::ContourOrientation)` overload"]
637 fn add_contour_2(
638 self,
639 vertices: impl ::core::convert::Into<
640 ::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>,
641 >,
642 force_orientation: impl ::core::convert::Into<
643 crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourorientation::ContourOrientation,
644 >,
645 ) -> () {
646 unsafe {
647 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
648 ::unity::il2cpp_call!((::unity::module_base()+0x2edbef0usize)as*mut u8,();
649(Tess)__receiver,(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>)::core::convert::Into::into(vertices),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourorientation::ContourOrientation)::core::convert::Into::into(force_orientation))
650 }
651 }
652 #[doc = "`Tessellate(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType, i32)` overload"]
653 fn tessellate(
654 self,
655 winding_rule: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule>,
656 element_type: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType>,
657 poly_size: impl ::core::convert::Into<i32>,
658 ) -> () {
659 unsafe {
660 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
661 ::unity::il2cpp_call!((::unity::module_base()+0x2ee3b90usize)as*mut u8,();
662(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule)::core::convert::Into::into(winding_rule),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType)::core::convert::Into::into(element_type),(i32)::core::convert::Into::into(poly_size))
663 }
664 }
665 #[doc = "`Tessellate(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType, i32, crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::combinecallback::CombineCallback)` overload"]
666 fn tessellate_2(
667 self,
668 winding_rule: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule>,
669 element_type: impl ::core::convert::Into<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType>,
670 poly_size: impl ::core::convert::Into<i32>,
671 combine_callback: impl ::core::convert::Into<
672 crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::combinecallback::CombineCallback,
673 >,
674 ) -> () {
675 unsafe {
676 let __receiver = <Tess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
677 ::unity::il2cpp_call!((::unity::module_base()+0x2edc1e0usize)as*mut u8,();
678(Tess)__receiver,(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::windingrule::WindingRule)::core::convert::Into::into(winding_rule),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType)::core::convert::Into::into(element_type),(i32)::core::convert::Into::into(poly_size),(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::combinecallback::CombineCallback)::core::convert::Into::into(combine_callback))
679 }
680 }
681}
682
683#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
684impl<__T: ITess> ITessMethods for __T {}
685
686#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
687impl Tess {
688 pub fn region_below_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
690 }
691
692 pub fn region_above_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
694 }
695
696 pub fn edge_leq_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
698 }
699
700 pub fn delete_region_method_info() -> &'static ::unity::il2cpp::MethodInfo {
701 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
702 }
703
704 pub fn fix_upper_edge_method_info() -> &'static ::unity::il2cpp::MethodInfo {
705 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
706 }
707
708 pub fn top_left_region_method_info() -> &'static ::unity::il2cpp::MethodInfo {
709 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
710 }
711
712 pub fn top_right_region_method_info() -> &'static ::unity::il2cpp::MethodInfo {
713 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
714 }
715
716 pub fn add_region_below_method_info() -> &'static ::unity::il2cpp::MethodInfo {
717 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
718 }
719
720 pub fn compute_winding_method_info() -> &'static ::unity::il2cpp::MethodInfo {
721 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
722 }
723
724 pub fn finish_region_method_info() -> &'static ::unity::il2cpp::MethodInfo {
725 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
726 }
727
728 pub fn finish_left_regions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
729 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
730 }
731
732 pub fn add_right_edges_method_info() -> &'static ::unity::il2cpp::MethodInfo {
733 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
734 }
735
736 pub fn splice_merge_vertices_method_info() -> &'static ::unity::il2cpp::MethodInfo {
737 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
738 }
739
740 pub fn vertex_weights_method_info() -> &'static ::unity::il2cpp::MethodInfo {
741 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
742 }
743
744 pub fn get_intersect_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
745 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
746 }
747
748 pub fn check_for_right_splice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
749 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
750 }
751
752 pub fn check_for_left_splice_method_info() -> &'static ::unity::il2cpp::MethodInfo {
753 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
754 }
755
756 pub fn check_for_intersect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
758 }
759
760 pub fn walk_dirty_regions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
762 }
763
764 pub fn connect_right_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
766 }
767
768 pub fn connect_left_degenerate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
770 }
771
772 pub fn connect_left_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
774 }
775
776 pub fn sweep_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
778 }
779
780 pub fn add_sentinel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
782 }
783
784 pub fn init_edge_dict_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
786 }
787
788 pub fn done_edge_dict_method_info() -> &'static ::unity::il2cpp::MethodInfo {
789 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
790 }
791
792 pub fn remove_degenerate_edges_method_info() -> &'static ::unity::il2cpp::MethodInfo {
793 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
794 }
795
796 pub fn init_priority_q_method_info() -> &'static ::unity::il2cpp::MethodInfo {
797 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
798 }
799
800 pub fn done_priority_q_method_info() -> &'static ::unity::il2cpp::MethodInfo {
801 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
802 }
803
804 pub fn remove_degenerate_faces_method_info() -> &'static ::unity::il2cpp::MethodInfo {
805 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
806 }
807
808 pub fn compute_interior_method_info() -> &'static ::unity::il2cpp::MethodInfo {
809 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
810 }
811
812 pub fn get_normal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
813 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
814 }
815
816 pub fn set_normal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
817 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
818 }
819
820 pub fn get_vertices_method_info() -> &'static ::unity::il2cpp::MethodInfo {
821 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
822 }
823
824 pub fn get_vertex_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
825 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
826 }
827
828 pub fn get_elements_method_info() -> &'static ::unity::il2cpp::MethodInfo {
829 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
830 }
831
832 pub fn get_element_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
834 }
835
836 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
838 }
839
840 pub fn compute_normal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
842 }
843
844 pub fn check_orientation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
846 }
847
848 pub fn project_polygon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
850 }
851
852 pub fn tessellate_mono_region_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
854 }
855
856 pub fn tessellate_interior_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
858 }
859
860 pub fn discard_exterior_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
862 }
863
864 pub fn set_winding_number_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
866 }
867
868 pub fn get_neighbour_face_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
870 }
871
872 pub fn output_polymesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
874 }
875
876 pub fn output_contours_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
878 }
879
880 pub fn signed_area_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
882 }
883
884 pub fn add_contour_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
886 }
887
888 pub fn add_contour_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
890 }
891
892 pub fn tessellate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
894 }
895
896 pub fn tessellate_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
898 }
899}
900
901#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
902impl Tess {
903 #[doc = "`.ctor()` — no args"]
904 pub fn new() -> Self {
905 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
906 panic!(
907 "{}
908::{}
909 failed to instantiate",
910 ::core::stringify!(Tess),
911 ::core::stringify!(new),
912 )
913 });
914 <Self as ITessMethods>::ctor(this);
915 this
916 }
917}
918
919#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
920pub trait ITess_ActiveRegionMethods: ITess_ActiveRegion {
921 #[doc = "`.ctor()` overload"]
922 fn ctor(self) -> () {
923 unsafe {
924 let __receiver = <Tess_ActiveRegion as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
925 ::unity::il2cpp_call!((::unity::module_base()+0x2cba730usize)as*mut u8,();
926(Tess_ActiveRegion)__receiver)
927 }
928 }
929}
930
931#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
932impl<__T: ITess_ActiveRegion> ITess_ActiveRegionMethods for __T {}
933
934#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
935impl Tess_ActiveRegion {
936 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
937 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
938 }
939}
940
941#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
942impl Tess_ActiveRegion {
943 #[doc = "`.ctor()` — no args"]
944 pub fn new() -> Self {
945 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
946 panic!(
947 "{}
948::{}
949 failed to instantiate",
950 ::core::stringify!(Tess_ActiveRegion),
951 ::core::stringify!(new),
952 )
953 });
954 <Self as ITess_ActiveRegionMethods>::ctor(this);
955 this
956 }
957}
958
959#[cfg(feature = "unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess")]
960#[doc(hidden)]
961pub mod prelude {
962 pub use super::{ITess, ITessMethods, ITess_ActiveRegion, ITess_ActiveRegionMethods, Tess, Tess_ActiveRegion};
963 pub use crate::system::object::IObject;
964 #[cfg(feature = "system-object")]
965 pub use crate::system::object::IObjectMethods;
966}