/Engine/Plugins/Experimental/RenderGrid/Source/RenderGrid/Public/RenderGrid/RenderGridManager.h
This functionality is separated from the UI in order to make it is reusable, meaning that it can also be used in other modules.
class FRenderGridManager