rotateAround

fun rotateAround(targetPoint: Point, deltaHeading: Double, deltaPitch: Double, deltaRoll: Double): Camera

Creates a copy of the camera with the heading and pitch rotated from a specified target point by the delta angles in degrees.

Return

A copy of the camera with the position moved

Since

200.1.0

Parameters

targetPoint

The point location around which the camera will move.

deltaHeading

The delta angle in degrees by which the output camera heading will be rotated around the target point.

deltaPitch

The delta angle in degrees by which the output camera pitch will be rotated around the target point.

deltaRoll

The delta angle in degrees by which the output camera roll will be rotated around the target point.

See also

Throws

if targetPoint is empty