You might want to use this tiny addon I made. I reverse engineered (ehm… actually it was trials & errors) the math behind lens shifting, yay!
@chafouin
You could add this feature to your addon if you didn’t already. It is a pretty commonly requested feature for those working in achiviz. That other big 3d software “max” has a dedicated camera modifier for this.