Method GetNeighborFaces
GetNeighborFaces(ProBuilderMesh, Edge, List<Face>)
Creates a list of Face objects where each face is connected to a specific Edge in the ProBuilderMesh.
Declaration
public static void GetNeighborFaces(ProBuilderMesh mesh, Edge edge, List<Face> neighborFaces)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The ProBuilder mesh containing the edge. |
Edge | edge | The edge to evaluate. |
List<Face> | neighborFaces | Specify an empty list of faces for the method to fill. |