Method GetUnusedSmoothingGroup
GetUnusedSmoothingGroup(ProBuilderMesh)
Returns the first available unused smoothing group.
Declaration
public static int GetUnusedSmoothingGroup(ProBuilderMesh mesh)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The target mesh. |
Returns
Type | Description |
---|---|
int | An unused smoothing group. |