Heading, pitch and roll question

how do I go to another location preserving the heading, pitch and roll. So keeping the camera inclination?

I am using:

      destination: Cesium.Cartesian3.fromDegrees(-122.19, 46.25),
      orientation : {
            heading : viewer.camera.heading,
            pitch : viewer.camera.pitch,
            roll : viewer.camera.roll

There is some method to this?

basically I would like to delve on a location and keep the camera tilt, thanks


The code sample you pasted above is the best method for doing this.



If I change the latitude and longitude, the heading, pitch and roll will not be the same ... this is what I wonder ;/