Changing Camera in Sequencer

Hello,

I’m trying to change between multiple cameras in my Sequencer cinematic programmatically using C++.
I’ve delved into the ‘ULevelSequencer’ and the ‘ULevelSequencePlayer’ classes, but I can’t figure out how to set the currently active camera.

Ideally, I’d like to take in a UCameraComponent* and set that to the active camera if at all possible.

Any idea’s on how to do this?
I have UE4 source, so I’m happy to make engine changes if necessary.

Thanks,
-Jon Langford

If you follow the camera cut track implementation, MovieSceneCameraCutTrackInstance, that will take you to at LevelSequencePlayer::UpdateCameraCut. In particular, PC->SetViewTarget, which sets the local player to a given camera.