Get Level Viewport Camera Info

Get Level Viewport Camera Info

Windows
MacOS
Linux

Gets information about the camera position for the primary level editor viewport. In non-editor builds, these will be zeroed

Target is Editor Level Library

Get Level Viewport Camera Info
Camera Location
X0
Y 0
Z 0
Camera Rotation
R 0
P 0
Y0
Return Value

Inputs

Outputs

Camera Location
Vector

(out) Current location of the level editing viewport camera, or zero if none found

Camera Rotation
Rotator

(out) Current rotation of the level editing viewport camera, or zero if none found

Return Value
Boolean

Whether or not we were able to get a camera for a level editing viewport

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback