KmlCamera.js 348 B

12345678910111213
  1. /**
  2. * Representation of <Camera> from KML
  3. * @alias KmlCamera
  4. * @constructor
  5. *
  6. * @param {Cartesian3} position camera position
  7. * @param {HeadingPitchRoll} headingPitchRoll camera orientation
  8. */
  9. function KmlCamera(position, headingPitchRoll) {
  10. this.position = position;
  11. this.headingPitchRoll = headingPitchRoll;
  12. }
  13. export default KmlCamera;