ARDK for Android/com.nianticlabs.ardk.utils/ImageMath/affineTranslation
affineTranslation
[androidJvm]
fun affineTranslation(tx: Float, ty: Float): Matrix
Returns an (u, v) -> (u', v') transformation that represents a 2D affine translation.
Return
An affine Matrix that shifts coordinates by (tx, ty).
Parameters
androidJvm
| tx | Translation in the X axis. |
| ty | Translation in the Y axis. |