Method GetFaceRingAndLoop
GetFaceRingAndLoop(ProBuilderMesh, Face[])
Finds and returns both a face ring and loop from the selected faces. This is the equivalent of the Select Face Loop and Select Face Ring actions.
Declaration
public static HashSet<Face> GetFaceRingAndLoop(ProBuilderMesh mesh, Face[] faces)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
Face[] | faces | The faces to scan for ring and loops. |
Returns
Type | Description |
---|---|
HashSet<Face> | A collection of faces gathered by extending in a ring and loop. |