/Engine/Source/Developer/FunctionalTesting/Public/AutomationBlueprintFunctionLibrary.h
Takes a screenshot of the game's viewport, from a particular camera actors POV. Does not capture any UI.
static void TakeAutomationScreenshotAtCamera ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject, [FLatentActionInfo](API\Runtime\Engine\Engine\FLatentActionInfo) LatentInfo, [ACameraActor](API\Runtime\Engine\Camera\ACameraActor) * Camera, const [FString](API\Runtime\Core\Containers\FString) & NameOverride, const [FString](API\Runtime\Core\Containers\FString) & Notes, const [FAutomationScreenshotOptions](API\Developer\FunctionalTesting\FAutomationScreenshotOptions) & Options )