Field ConstraintEdges
Optional buffer for constraint edges. This array constrains specific edges to be included in the final triangulation result. It should contain indexes corresponding to the Positions of the edges in the format [a₀, a₁, b₀, b₁, c₀, c₁, ...], where (a₀, a₁), (b₀, b₁), (c₀, c₁), etc., represent the constraint edges.
Namespace: andywiecko.BurstTriangulator.LowLevel.Unsafe
Assembly: .dll
Syntax
public NativeArray<int> ConstraintEdges
Returns
Type | Description |
---|---|
NativeArray<int> | Optional buffer for constraint edges. This array constrains specific edges to be included in the final triangulation result. It should contain indexes corresponding to the of the edges in the format [a₀, a₁, b₀, b₁, c₀, c₁, ...], where (a₀, a₁), (b₀, b₁), (c₀, c₁), etc., represent the constraint edges. |
Remarks
Note: If refinement is enabled, the provided constraints may be split during the refinement process.