lookAtPoint

open fun lookAtPoint(location: Point)

Helper function for setting orientation of the camera by defining a focus point. Elevation of 0.0 is used and no up vector.

Parameters

location

The `coordinate` representing focal point.

open fun lookAtPoint(location: Point, altitude: Double)

Helper function for setting orientation of the camera by defining a focus point. No up vector is used.

Parameters

altitude

The altitude in meters of the focal point.

location

The `coordinate` representing focal point.

open fun lookAtPoint(location: Point, altitude: Double, upVector: Vec3)

Helper function for setting orientation of the camera by defining a focus point. Up vector is required in certain scenarios where bearing can't be deduced from the viewing direction.

Parameters

altitude

The altitude in meters of the focal point.

location

The `coordinate` representing focal point.

upVector

The up vector.