UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCameraPhotographyManager Class Reference

#include <CameraPhotography.h>

Public Member Functions

ENGINE_API bool UpdateCamera (FMinimalViewInfo &InOutPOV, APlayerCameraManager *PCMgr)
 
ENGINE_API void UpdatePostProcessing (FPostProcessSettings &InOutPostProcessingSettings)
 
ENGINE_API void StartSession ()
 
ENGINE_API void StopSession ()
 
ENGINE_API void SetUIControlVisibility (uint8 UIControlTarget, bool bIsVisible)
 
ENGINE_API void DefaultConstrainCamera (const FVector NewCameraLocation, const FVector PreviousCameraLocation, const FVector OriginalCameraLocation, FVector &OutCameraLocation, APlayerCameraManager *PCMgr)
 

Static Public Member Functions

static ENGINE_API FCameraPhotographyManagerGet ()
 
static ENGINE_API void Destroy ()
 
static ENGINE_API bool IsSupported (UWorld *InWorld)
 

Protected Member Functions

 FCameraPhotographyManager ()
 
 ~FCameraPhotographyManager ()
 

Protected Attributes

TSharedPtr< ICameraPhotographyActiveImpl
 

Static Protected Attributes

static class FCameraPhotographyManagerSingleton = nullptr
 

Constructor & Destructor Documentation

◆ FCameraPhotographyManager()

FCameraPhotographyManager::FCameraPhotographyManager ( )
protected

◆ ~FCameraPhotographyManager()

FCameraPhotographyManager::~FCameraPhotographyManager ( )
protected

Member Function Documentation

◆ DefaultConstrainCamera()

void FCameraPhotographyManager::DefaultConstrainCamera ( const FVector  NewCameraLocation,
const FVector  PreviousCameraLocation,
const FVector  OriginalCameraLocation,
FVector OutCameraLocation,
APlayerCameraManager PCMgr 
)

◆ Destroy()

void FCameraPhotographyManager::Destroy ( )
static

Destroy current FCameraPhotography (if any); recreated by next Get()

◆ Get()

FCameraPhotographyManager & FCameraPhotographyManager::Get ( )
static

Get (& possibly create) singleton FCameraPhotography

◆ IsSupported()

bool FCameraPhotographyManager::IsSupported ( UWorld InWorld)
static
Returns
Returns false if definitely unavailable at compile-time or run-time

◆ SetUIControlVisibility()

void FCameraPhotographyManager::SetUIControlVisibility ( uint8  UIControlTarget,
bool  bIsVisible 
)

Show or hide controls in the photography UI; see documentation for UAnselFunctionLibrary::SetUIControlVisibility

◆ StartSession()

void FCameraPhotographyManager::StartSession ( )

Starts a photography session

◆ StopSession()

void FCameraPhotographyManager::StopSession ( )

Stops a photography session

◆ UpdateCamera()

bool FCameraPhotographyManager::UpdateCamera ( FMinimalViewInfo InOutPOV,
APlayerCameraManager PCMgr 
)

Modify input camera according to cumulative free-camera transforms (if any). Safe to call this even if IsSupported()==false, in which case it will leave camera unchanged and return false.

Parameters
InOutPOV- camera info to modify
PCMgr- player camera manager (non-NULL)
Returns
Returns whether camera was cut/non-contiguous/teleported

◆ UpdatePostProcessing()

void FCameraPhotographyManager::UpdatePostProcessing ( FPostProcessSettings InOutPostProcessingSettings)

Modify input postprocessing settings according to Photography requirements. Safe to call this even if IsSupported()==false, in which case it will do nothing.

Parameters
InOutPostProcessingSettings- the FPostProcessSettings to modify

Member Data Documentation

◆ ActiveImpl

TSharedPtr<ICameraPhotography> FCameraPhotographyManager::ActiveImpl
protected

◆ Singleton

FCameraPhotographyManager * FCameraPhotographyManager::Singleton = nullptr
staticprotected

The documentation for this class was generated from the following files: