Photo Camera
Last updated
Last updated
This is a pawn used in the Photo Mode that can be controlled by the player to take shots. You can create a new photo camera by searching "EPhotoCamera" in the blueprint class panel.
If you would like to use your own created photo camera, set it in your player camera manager at the Photo Mode Camera
parameter.
What makes a photo camera unique is its built-in events that can be implemented by you. These events / functions are called at different time points of photo mode.
These events include:
OnPhotoTaken: Called when a photo is taken. Generally, this function is used to play widget animation (as in the input PhotoModeWidget parameter) and do cleanup work.
OnPhotoModeQuit: Custom event when quitting photo mode. This happens before the underlying widget is destructed.