Skip to main content

ITessMethods

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§

Source

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

Source

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

Source

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

Source

fn delete_region(self, reg: impl Into<Tess_ActiveRegion>)

DeleteRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload

Source

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

Source

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

Source

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

Source

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

Source

fn compute_winding(self, reg: impl Into<Tess_ActiveRegion>)

ComputeWinding(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload

Source

fn finish_region(self, reg: impl Into<Tess_ActiveRegion>)

FinishRegion(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::tess::Tess_ActiveRegion) overload

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn add_sentinel( self, smin: impl Into<f32>, smax: impl Into<f32>, t: impl Into<f32>, )

AddSentinel(f32, f32, f32) overload

Source

fn init_edge_dict(self)

InitEdgeDict() overload

Source

fn done_edge_dict(self)

DoneEdgeDict() overload

Source

fn remove_degenerate_edges(self)

RemoveDegenerateEdges() overload

Source

fn init_priority_q(self)

InitPriorityQ() overload

Source

fn done_priority_q(self)

DonePriorityQ() overload

Source

fn remove_degenerate_faces(self)

RemoveDegenerateFaces() overload

Source

fn compute_interior(self)

ComputeInterior() overload

Source

fn get_normal(self) -> Vec3

get_Normal() overload

Source

fn set_normal(self, value: impl Into<Vec3>)

set_Normal(crate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload

Source

fn get_vertices(self) -> Array<ContourVertex>

get_Vertices() overload

Source

fn get_vertex_count(self) -> i32

get_VertexCount() overload

Source

fn get_elements(self) -> Array<i32>

get_Elements() overload

Source

fn get_element_count(self) -> i32

get_ElementCount() overload

Source

fn ctor(self)

.ctor() overload

Source

fn compute_normal(self) -> Vec3

ComputeNormal(*mutcrate::unity_engine::experimental::rendering::universal::lib_tess_dot_net::vec3::Vec3) overload

Source

fn check_orientation(self)

CheckOrientation() overload

Source

fn project_polygon(self)

ProjectPolygon() overload

Source

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

Source

fn tessellate_interior(self)

TessellateInterior() overload

Source

fn discard_exterior(self)

DiscardExterior() overload

Source

fn set_winding_number( self, value: impl Into<i32>, keep_only_boundary: impl Into<bool>, )

SetWindingNumber(i32, bool) overload

Source

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

Source

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

Source

fn output_contours(self)

OutputContours() overload

Source

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

Source

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

Source

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

Source

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

Source

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§

Source§

impl<__T: ITess> ITessMethods for __T

Available on crate feature unity_engine-experimental-rendering-universal-lib_tess_dot_net-tess only.