animate
fun animate( config: MPIOptions.CameraTransformNode, options: MPIOptions.CameraAnimation? = null, callback: (error: MPIError?) -> Unit? = null)
Content copied to clipboard
Animate the Camera's view to smoothly transition to a new state over time, using a node.
Return
Parameters
config
The zoom, rotation, tilt and position (node) of the new state of the Camera's view.
options
fun animate( config: MPIOptions.CameraTransformCoordinate, options: MPIOptions.CameraAnimation? = null, callback: (error: MPIError?) -> Unit? = null)
Content copied to clipboard
Animate the Camera's view to smoothly transition to a new state over time, using a coordinate.
Return
Parameters
config
The zoom, rotation, tilt and position (coordinate) of the new state of the Camera's view.
options