I have not found anything regarding how to accomplish this anywhere. And looking through the documentation, it appears that this is only doable in blueprints. Any help will be appreciated.
Everything you see accessable in blueprint is 100% accessable in C++, it’s blueprints that have limitation. DoF is part of Post Processing system and settings of it contain in that structure:
All object that you see Post Proceesing settings in editor (like CameraActor or CameraComponent i think you can direclly control via camera menager too) should have this structure varable which you can edit.
Right, I am thinking that I need to make use of the FPostProcessSettings and APlayerCameraManager classes, thanks for the help.