set

fun set(positionOptions: MPIOptions.CameraTransformNode, callback: (error: MPIError?) -> Unit? = null)

Set the Camera's view to a new state using a node.

Return

Unit

Parameters

positionOptions

The zoom, rotation, tilt and position (node) of the new state of the Camera's view.


fun set(positionOptions: MPIOptions.CameraTransformCoordinate, callback: (error: MPIError?) -> Unit? = null)

Set the Camera's view to a new state using a coordinate.

Return

Unit

Parameters

positionOptions

The zoom, rotation, tilt and position (coordinate) of the new state of the Camera's view.