pub trait ITessMethods: ITess {
Show 53 methods
// Provided methods
fn region_below(
self,
reg: impl Into<Tess_ActiveRegion>,
) -> Tess_ActiveRegion { ... }
fn region_above(
self,
reg: impl Into<Tess_ActiveRegion>,
) -> Tess_ActiveRegion { ... }
fn edge_leq(
self,
reg1: impl Into<Tess_ActiveRegion>,
reg2: impl Into<Tess_ActiveRegion>,
) -> bool { ... }
fn delete_region(self, reg: impl Into<Tess_ActiveRegion>) { ... }
fn fix_upper_edge(
self,
reg: impl Into<Tess_ActiveRegion>,
new_edge: impl Into<MeshUtils_Edge>,
) { ... }
fn top_left_region(
self,
reg: impl Into<Tess_ActiveRegion>,
) -> Tess_ActiveRegion { ... }
fn top_right_region(
self,
reg: impl Into<Tess_ActiveRegion>,
) -> Tess_ActiveRegion { ... }
fn add_region_below(
self,
reg_above: impl Into<Tess_ActiveRegion>,
e_new_up: impl Into<MeshUtils_Edge>,
) -> Tess_ActiveRegion { ... }
fn compute_winding(self, reg: impl Into<Tess_ActiveRegion>) { ... }
fn finish_region(self, reg: impl Into<Tess_ActiveRegion>) { ... }
fn finish_left_regions(
self,
reg_first: impl Into<Tess_ActiveRegion>,
reg_last: impl Into<Tess_ActiveRegion>,
) -> MeshUtils_Edge { ... }
fn add_right_edges(
self,
reg_up: impl Into<Tess_ActiveRegion>,
e_first: impl Into<MeshUtils_Edge>,
e_last: impl Into<MeshUtils_Edge>,
e_top_left: impl Into<MeshUtils_Edge>,
clean_up: impl Into<bool>,
) { ... }
fn splice_merge_vertices(
self,
e1: impl Into<MeshUtils_Edge>,
e2: impl Into<MeshUtils_Edge>,
) { ... }
fn vertex_weights(
self,
isect: impl Into<MeshUtils_Vertex>,
org: impl Into<MeshUtils_Vertex>,
dst: impl Into<MeshUtils_Vertex>,
) -> (f32, f32) { ... }
fn get_intersect_data(
self,
isect: impl Into<MeshUtils_Vertex>,
org_up: impl Into<MeshUtils_Vertex>,
dst_up: impl Into<MeshUtils_Vertex>,
org_lo: impl Into<MeshUtils_Vertex>,
dst_lo: impl Into<MeshUtils_Vertex>,
) { ... }
fn check_for_right_splice(
self,
reg_up: impl Into<Tess_ActiveRegion>,
) -> bool { ... }
fn check_for_left_splice(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool { ... }
fn check_for_intersect(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool { ... }
fn walk_dirty_regions(self, reg_up: impl Into<Tess_ActiveRegion>) { ... }
fn connect_right_vertex(
self,
reg_up: impl Into<Tess_ActiveRegion>,
e_bottom_left: impl Into<MeshUtils_Edge>,
) { ... }
fn connect_left_degenerate(
self,
reg_up: impl Into<Tess_ActiveRegion>,
v_event: impl Into<MeshUtils_Vertex>,
) { ... }
fn connect_left_vertex(self, v_event: impl Into<MeshUtils_Vertex>) { ... }
fn sweep_event(self, v_event: impl Into<MeshUtils_Vertex>) { ... }
fn add_sentinel(
self,
smin: impl Into<f32>,
smax: impl Into<f32>,
t: impl Into<f32>,
) { ... }
fn init_edge_dict(self) { ... }
fn done_edge_dict(self) { ... }
fn remove_degenerate_edges(self) { ... }
fn init_priority_q(self) { ... }
fn done_priority_q(self) { ... }
fn remove_degenerate_faces(self) { ... }
fn compute_interior(self) { ... }
fn get_normal(self) -> Vec3 { ... }
fn set_normal(self, value: impl Into<Vec3>) { ... }
fn get_vertices(self) -> Array<ContourVertex> { ... }
fn get_vertex_count(self) -> i32 { ... }
fn get_elements(self) -> Array<i32> { ... }
fn get_element_count(self) -> i32 { ... }
fn ctor(self) { ... }
fn compute_normal(self) -> Vec3 { ... }
fn check_orientation(self) { ... }
fn project_polygon(self) { ... }
fn tessellate_mono_region(self, face: impl Into<MeshUtils_Face>) { ... }
fn tessellate_interior(self) { ... }
fn discard_exterior(self) { ... }
fn set_winding_number(
self,
value: impl Into<i32>,
keep_only_boundary: impl Into<bool>,
) { ... }
fn get_neighbour_face(self, edge: impl Into<MeshUtils_Edge>) -> i32 { ... }
fn output_polymesh(
self,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
) { ... }
fn output_contours(self) { ... }
fn signed_area(self, vertices: impl Into<Array<ContourVertex>>) -> f32 { ... }
fn add_contour(self, vertices: impl Into<Array<ContourVertex>>) { ... }
fn add_contour_2(
self,
vertices: impl Into<Array<ContourVertex>>,
force_orientation: impl Into<ContourOrientation>,
) { ... }
fn tessellate(
self,
winding_rule: impl Into<WindingRule>,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
) { ... }
fn tessellate_2(
self,
winding_rule: impl Into<WindingRule>,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
combine_callback: impl Into<CombineCallback>,
) { ... }
}Provided Methods§
Sourcefn region_below(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
fn region_below(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
RegionBelow(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn region_above(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
fn region_above(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
RegionAbove(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn edge_leq(
self,
reg1: impl Into<Tess_ActiveRegion>,
reg2: impl Into<Tess_ActiveRegion>,
) -> bool
fn edge_leq( self, reg1: impl Into<Tess_ActiveRegion>, reg2: impl Into<Tess_ActiveRegion>, ) -> bool
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
Sourcefn delete_region(self, reg: impl Into<Tess_ActiveRegion>)
fn delete_region(self, reg: impl Into<Tess_ActiveRegion>)
DeleteRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn fix_upper_edge(
self,
reg: impl Into<Tess_ActiveRegion>,
new_edge: impl Into<MeshUtils_Edge>,
)
fn fix_upper_edge( self, reg: impl Into<Tess_ActiveRegion>, new_edge: impl Into<MeshUtils_Edge>, )
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
Sourcefn top_left_region(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
fn top_left_region(self, reg: impl Into<Tess_ActiveRegion>) -> Tess_ActiveRegion
TopLeftRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn top_right_region(
self,
reg: impl Into<Tess_ActiveRegion>,
) -> Tess_ActiveRegion
fn top_right_region( self, reg: impl Into<Tess_ActiveRegion>, ) -> Tess_ActiveRegion
TopRightRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn add_region_below(
self,
reg_above: impl Into<Tess_ActiveRegion>,
e_new_up: impl Into<MeshUtils_Edge>,
) -> Tess_ActiveRegion
fn add_region_below( self, reg_above: impl Into<Tess_ActiveRegion>, e_new_up: impl Into<MeshUtils_Edge>, ) -> Tess_ActiveRegion
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
Sourcefn compute_winding(self, reg: impl Into<Tess_ActiveRegion>)
fn compute_winding(self, reg: impl Into<Tess_ActiveRegion>)
ComputeWinding(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn finish_region(self, reg: impl Into<Tess_ActiveRegion>)
fn finish_region(self, reg: impl Into<Tess_ActiveRegion>)
FinishRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn finish_left_regions(
self,
reg_first: impl Into<Tess_ActiveRegion>,
reg_last: impl Into<Tess_ActiveRegion>,
) -> MeshUtils_Edge
fn finish_left_regions( self, reg_first: impl Into<Tess_ActiveRegion>, reg_last: impl Into<Tess_ActiveRegion>, ) -> MeshUtils_Edge
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
Sourcefn add_right_edges(
self,
reg_up: impl Into<Tess_ActiveRegion>,
e_first: impl Into<MeshUtils_Edge>,
e_last: impl Into<MeshUtils_Edge>,
e_top_left: impl Into<MeshUtils_Edge>,
clean_up: impl Into<bool>,
)
fn add_right_edges( self, reg_up: impl Into<Tess_ActiveRegion>, e_first: impl Into<MeshUtils_Edge>, e_last: impl Into<MeshUtils_Edge>, e_top_left: impl Into<MeshUtils_Edge>, clean_up: impl Into<bool>, )
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
Sourcefn splice_merge_vertices(
self,
e1: impl Into<MeshUtils_Edge>,
e2: impl Into<MeshUtils_Edge>,
)
fn splice_merge_vertices( self, e1: impl Into<MeshUtils_Edge>, e2: impl Into<MeshUtils_Edge>, )
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
Sourcefn vertex_weights(
self,
isect: impl Into<MeshUtils_Vertex>,
org: impl Into<MeshUtils_Vertex>,
dst: impl Into<MeshUtils_Vertex>,
) -> (f32, f32)
fn vertex_weights( self, isect: impl Into<MeshUtils_Vertex>, org: impl Into<MeshUtils_Vertex>, dst: impl Into<MeshUtils_Vertex>, ) -> (f32, f32)
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
Sourcefn get_intersect_data(
self,
isect: impl Into<MeshUtils_Vertex>,
org_up: impl Into<MeshUtils_Vertex>,
dst_up: impl Into<MeshUtils_Vertex>,
org_lo: impl Into<MeshUtils_Vertex>,
dst_lo: impl Into<MeshUtils_Vertex>,
)
fn get_intersect_data( self, isect: impl Into<MeshUtils_Vertex>, org_up: impl Into<MeshUtils_Vertex>, dst_up: impl Into<MeshUtils_Vertex>, org_lo: impl Into<MeshUtils_Vertex>, dst_lo: impl Into<MeshUtils_Vertex>, )
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
Sourcefn check_for_right_splice(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
fn check_for_right_splice(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
CheckForRightSplice(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn check_for_left_splice(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
fn check_for_left_splice(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
CheckForLeftSplice(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn check_for_intersect(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
fn check_for_intersect(self, reg_up: impl Into<Tess_ActiveRegion>) -> bool
CheckForIntersect(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn walk_dirty_regions(self, reg_up: impl Into<Tess_ActiveRegion>)
fn walk_dirty_regions(self, reg_up: impl Into<Tess_ActiveRegion>)
WalkDirtyRegions(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload
Sourcefn connect_right_vertex(
self,
reg_up: impl Into<Tess_ActiveRegion>,
e_bottom_left: impl Into<MeshUtils_Edge>,
)
fn connect_right_vertex( self, reg_up: impl Into<Tess_ActiveRegion>, e_bottom_left: impl Into<MeshUtils_Edge>, )
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
Sourcefn connect_left_degenerate(
self,
reg_up: impl Into<Tess_ActiveRegion>,
v_event: impl Into<MeshUtils_Vertex>,
)
fn connect_left_degenerate( self, reg_up: impl Into<Tess_ActiveRegion>, v_event: impl Into<MeshUtils_Vertex>, )
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
Sourcefn connect_left_vertex(self, v_event: impl Into<MeshUtils_Vertex>)
fn connect_left_vertex(self, v_event: impl Into<MeshUtils_Vertex>)
ConnectLeftVertex(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex) overload
Sourcefn sweep_event(self, v_event: impl Into<MeshUtils_Vertex>)
fn sweep_event(self, v_event: impl Into<MeshUtils_Vertex>)
SweepEvent(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Vertex) overload
Sourcefn add_sentinel(
self,
smin: impl Into<f32>,
smax: impl Into<f32>,
t: impl Into<f32>,
)
fn add_sentinel( self, smin: impl Into<f32>, smax: impl Into<f32>, t: impl Into<f32>, )
AddSentinel(f32, f32, f32) overload
Sourcefn init_edge_dict(self)
fn init_edge_dict(self)
InitEdgeDict() overload
Sourcefn done_edge_dict(self)
fn done_edge_dict(self)
DoneEdgeDict() overload
Sourcefn remove_degenerate_edges(self)
fn remove_degenerate_edges(self)
RemoveDegenerateEdges() overload
Sourcefn init_priority_q(self)
fn init_priority_q(self)
InitPriorityQ() overload
Sourcefn done_priority_q(self)
fn done_priority_q(self)
DonePriorityQ() overload
Sourcefn remove_degenerate_faces(self)
fn remove_degenerate_faces(self)
RemoveDegenerateFaces() overload
Sourcefn compute_interior(self)
fn compute_interior(self)
ComputeInterior() overload
Sourcefn get_normal(self) -> Vec3
fn get_normal(self) -> Vec3
get_Normal() overload
Sourcefn set_normal(self, value: impl Into<Vec3>)
fn set_normal(self, value: impl Into<Vec3>)
set_Normal(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload
Sourcefn get_vertices(self) -> Array<ContourVertex>
fn get_vertices(self) -> Array<ContourVertex>
get_Vertices() overload
Sourcefn get_vertex_count(self) -> i32
fn get_vertex_count(self) -> i32
get_VertexCount() overload
Sourcefn get_elements(self) -> Array<i32>
fn get_elements(self) -> Array<i32>
get_Elements() overload
Sourcefn get_element_count(self) -> i32
fn get_element_count(self) -> i32
get_ElementCount() overload
Sourcefn compute_normal(self) -> Vec3
fn compute_normal(self) -> Vec3
ComputeNormal(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload
Sourcefn check_orientation(self)
fn check_orientation(self)
CheckOrientation() overload
Sourcefn project_polygon(self)
fn project_polygon(self)
ProjectPolygon() overload
Sourcefn tessellate_mono_region(self, face: impl Into<MeshUtils_Face>)
fn tessellate_mono_region(self, face: impl Into<MeshUtils_Face>)
TessellateMonoRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Face) overload
Sourcefn tessellate_interior(self)
fn tessellate_interior(self)
TessellateInterior() overload
Sourcefn discard_exterior(self)
fn discard_exterior(self)
DiscardExterior() overload
Sourcefn set_winding_number(
self,
value: impl Into<i32>,
keep_only_boundary: impl Into<bool>,
)
fn set_winding_number( self, value: impl Into<i32>, keep_only_boundary: impl Into<bool>, )
SetWindingNumber(i32, bool) overload
Sourcefn get_neighbour_face(self, edge: impl Into<MeshUtils_Edge>) -> i32
fn get_neighbour_face(self, edge: impl Into<MeshUtils_Edge>) -> i32
GetNeighbourFace(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::meshutils::MeshUtils_Edge) overload
Sourcefn output_polymesh(
self,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
)
fn output_polymesh( self, element_type: impl Into<ElementType>, poly_size: impl Into<i32>, )
OutputPolymesh(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::elementtype::ElementType, i32) overload
Sourcefn output_contours(self)
fn output_contours(self)
OutputContours() overload
Sourcefn signed_area(self, vertices: impl Into<Array<ContourVertex>>) -> f32
fn signed_area(self, vertices: impl Into<Array<ContourVertex>>) -> f32
SignedArea(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>) overload
Sourcefn add_contour(self, vertices: impl Into<Array<ContourVertex>>)
fn add_contour(self, vertices: impl Into<Array<ContourVertex>>)
AddContour(::unity::Array<crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::contourvertex::ContourVertex>) overload
Sourcefn add_contour_2(
self,
vertices: impl Into<Array<ContourVertex>>,
force_orientation: impl Into<ContourOrientation>,
)
fn add_contour_2( self, vertices: impl Into<Array<ContourVertex>>, force_orientation: impl Into<ContourOrientation>, )
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
Sourcefn tessellate(
self,
winding_rule: impl Into<WindingRule>,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
)
fn tessellate( self, winding_rule: impl Into<WindingRule>, element_type: impl Into<ElementType>, poly_size: impl Into<i32>, )
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
Sourcefn tessellate_2(
self,
winding_rule: impl Into<WindingRule>,
element_type: impl Into<ElementType>,
poly_size: impl Into<i32>,
combine_callback: impl Into<CombineCallback>,
)
fn tessellate_2( self, winding_rule: impl Into<WindingRule>, element_type: impl Into<ElementType>, poly_size: impl Into<i32>, combine_callback: impl Into<CombineCallback>, )
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ITess> ITessMethods for __T
unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess only.