AVirtualCameraPawnBase::TakeScreenshot

Takes a screenshot from the current view and saves the location and camera settings.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraPawnBase.h

Include

#include "VirtualCameraPawnBase.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraPawnBase.cpp

Syntax

FString TakeScreenshot()

Remarks

Takes a screenshot from the current view and saves the location and camera settings.

Returns

the index of the saved screenshot in the screenshots array