setTargetOffsets method
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.
Parameters:
x
— The change x offset symbol center.y
— The change y offset symbol center.z
— The change z offset symbol center.duration
— The duration of the animation in seconds.
Return Value: A Future returning a bool used to check the animation complete successfully or not.