Following this exmple: Change the Viewport’s Active Camera — Omniverse Developer Guide
It seems that when switching cameras from code there is a noticeable glitch even if the cameras are in the exact same position. Whats the best way to switch viewport cameras so that user wouldn’t perceive it. The reason for switching cameras is that I’m animating a temporary camera instead of the viewport one and then after the animation it is switched back to the default viewport camera. That way there is no conflicts.