setTapToFocusAt

fun setTapToFocusAt(viewX: Float, viewY: Float, viewWidth: Int, viewHeight: Int, scalingType: RendererCommon.ScalingType = ScalingType.SCALE_ASPECT_FILL)

Tap to focus, before calling this check isTapToFocusSupported

View's coordinate system (x, y)

(0,0)----------------(viewWidth, 0) | | | | | | |------------------ | (0,viewHeight) (viewWidth, viewHeight)

Parameters

viewX

should be the point in view's X coordinate

viewY

should be the point in view's Y coordinate

viewWidth

should be the current view's width

viewHeight

should be the current view's height