setTargetOffsets

suspend fun setTargetOffsets(x: Double, y: Double, z: Double, duration: Float): Result<Boolean>

Animates the camera to a new position using the target offsets of the camera. By default the camera focuses on the target's geometry center point. Using the offsets you can move the focal point to a new position relative to that center point.

Return

A Result returning a bool used to check the animation complete successfully or not.

Since

200.1.0