setCameraRelativeToTarget

external fun setCameraRelativeToTarget(targetLonLatDegAltMeters: Coordinates, targetHeadingPitchRollDeg: Tuple3d, cameraHeadingPitchDegDistanceMeters: Tuple3d, cameraHeadingPitchRollDeg: Tuple3d)

Set camera relative to a target position, looking in any direction relative to the direction toward the target, all in the coordinate system of the focused target.

Parameters

targetLonLatDegAltMeters

desired lon, lat and alt for target

targetHeadingPitchRollDeg

desired heading, pitch and roll for target

cameraHeadingPitchDegDistanceMeters

desired heading pitch and distance for camera

cameraHeadingPitchRollDeg

desired heading pitch and roll for camera