TrnNWN2WalkmeshPayload.removeTriangles

Removes triangles from the mesh, and removes unused vertices and edges accordingly.

Also updates vertex / edge / triangle indices to match new indices.

Does not updates path tables. You need to run bake() to re-generate path tables.

Parameters

removeFunc bool delegate

Delegate to check is triangle must be removed.

Meta