Preview a camera in blueprint?

I’m setting up a basic cockpit placeholder using cube meshes, and I’d like to see what it looks like (from the camera perspective), without having to jump in the game preview to see.

What I’m looking for is kind of the same thing as a normal “Viewport → Lock viewport to Actor → Camera” but inside of my blueprint.

So how can I preview a camera in the Blueprint Viewport?

Image for clarification

1 Like

If you place an actor with camera in your level (usually a character or pawn) you get a small preview in the bottom right corner of the viewport. So just create an actor which simply exists of a camera and place it at your spawn.

Cheers :slight_smile:

That’s kind of not what I mean, I’m talking about the preview in the blueprints section.


How would I preview that camera?

Once you placed your actor in the level you can click on it and have a preview. Besides this and if you want to move around and stuff you will have to use “Play”.

2 Likes

I’m gonna assume what I want doesn’t exist, but the workaround you provided is minimally cumbersome, so I’ll just use it, thanks!

Auto-Activate on the camera component controls what’s visible in the viewport camera preview when you click on your blueprint containing the cameras.

Building on this question: I’ve gotten used to opening my Cine Camera in a second viewport via the “Placed Cameras” section in the “Perspective” dropdown. But now I need to have a blueprint that contains a Cine Camera. I’ve added the blueprint to the world, but the Cine Camera inside doesn’t show up as an option in the “Placed Cameras” section. Is there any way around this?
Thanks!

1 Like

I ran into this problem and noticed that if you add a camera to the level you can use the top right button “Perspective” to change it to a cameraActor in the level. So I took the camera outside my BP and made it a child of the BP inside the level. Then I used a construction script and a public variable of type CameraActor to change the cameras rotation and location. Hope this helps!