Transform ARCoordinates 2D

Transforms an array of 2D coordinates into a different 2D coordinate system. This will account for the display rotation and any additional required adjustment.

Some examples of useful conversions: To transform screen space UVs for texture space UVs to rendering pass-through camera texture: Viewport -> Texture; To transform a point found by a computer vision algorithm in the pass-through camera image into a point on the viewport: Image -> Viewport;

Target is Google ARCore Frame Function Library

Transform ARCoordinates 2D
Input Coordinates Type
Texture
Input Coordinates
Output Coordinates Type
Texture
Output Coordinates

Inputs

Input Coordinates Type
EGoogleARCoreCoordinates2DType Enum
The coordinate system used by InputCoordinates.
Input Coordinates
Array of Vector 2D Structures
The input 2d coordinates.
Output Coordinates Type
EGoogleARCoreCoordinates2DType Enum
The coordinate system to transform to.

Outputs

Output Coordinates
Array of Vector 2D Structures
The output 2d coordinates.

Send feedback about...