MeshBuilder::AllowSurfaceIntersections

Marks that different surfaces of the mesh may intersect each other

By default, surfaces of the mesh are assumed to be pairwise non-intersecting. Enabling this means that two different surfaces of the same mesh could have intersecting primitives.

Note:
enabling this has a non-trivial performance penalty. Only set this if you actually have data like this.
Note:
if a single surface might have self-intersections, you need to set SurfaceBuilder::AllowSelfIntersections.

Signature

class MeshBuilder:
    // Marks that different surfaces of the mesh may intersect each other
    fun allowSurfaceIntersections()