FLevelEditorViewportClient::GetCameraComponentForView

Find the camera component that is driving this viewport, in the following order of preference:

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h

Include

#include "LevelEditorViewport.h"

Syntax

UCameraComponent * GetCameraComponentForView() const

Remarks

Find the camera component that is driving this viewport, in the following order of preference:

Cinematic locked actor

User actor lock (if (bLockedCameraView is true)

Returns

Pointer to a camera component to use for this viewport's view

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss