Get UCineCameraComponent from camerActor?

I have a Cine camera actor, that i get a reference to in code. I want to get the current focal length of this camera.

focalLength = (cineCam->GetCameraComponent()->FieldOfView);

gives me the fov. How can I access the UCineCameraComponent of this camera, so that I can get the new features of the Cinema camera?

Thanks!

Hello,

You should be able to do something like this:

UCineCameraComponent* CineCameraComponent = Cast<UCineCameraComponent>(cineCamera->GetCameraComponent());

ie. CineCameraComponent->FieldOfView

Hope this helps.
-max

Perfect! Thank you.