Generates a distance map that can be used in materials to calculate the distance to various objects. This can enable interesting effects. With the distance map you can get the distance from scene objects or walls in a material shader.
The Jump Flood Algorithm is used to generate the distance map. This is fast enough to regenerate every tick.
This class will create procedural meshes for every anchor to create a mask. These meshes have their visibility set to scene capture only. That however means that if you place a scene capture component yourself that the meshes will show up in your scene capture component. The actors that have the procedural meshes attached are tagged with GMRUK_DISTANCE_MAP_ACTOR_TAG. In case you don't want them to show up in your scene capture you can hide them by receiving all these actors with the tag GMRUK_DISTANCE_MAP_ACTOR_TAG and add these to the scene captures hidden actors.