Method GetWindingOrder
GetWindingOrder(ProBuilderMesh, Face)
Returns the winding order for a face.
Declaration
public static WindingOrder GetWindingOrder(this ProBuilderMesh mesh, Face face)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
Face | face | The face to test. |
Returns
Type | Description |
---|---|
WindingOrder | The winding order if successful; Unknown if not. |
GetWindingOrder(IList<Vector2>)
Returns the winding order for a set of ordered points.
Declaration
public static WindingOrder GetWindingOrder(IList<Vector2> points)
Parameters
Type | Name | Description |
---|---|---|
IList<Vector2> | points | A path of points in 2D space. |
Returns
Type | Description |
---|---|
WindingOrder | The winding order if found; Unknown if not. |