Swapping materials before and after a scene Capture

I just wish I could register a callback after capture is done in ASceneCapture2D but i’m to novice with unreal and c++ to do so