Google is committed to advancing racial equity for Black communities. See how.

Coordinates2d

public final enum Coordinates2d

2D coordinate systems supported by ARCore.

Inherited Methods

Enum Values

public static final Coordinates2d IMAGE_NORMALIZED

CPU image, (x,y) normalized to [0.0f, 1.0f] range.

public static final Coordinates2d IMAGE_PIXELS

CPU image, (x,y) in pixels.

public static final Coordinates2d OPENGL_NORMALIZED_DEVICE_COORDINATES

OpenGL Normalized Device Coordinates, display-rotated, (x,y) normalized to [-1.0f, 1.0f] range.

public static final Coordinates2d TEXTURE_NORMALIZED

GPU texture coordinates, (s,t) normalized to [0.0f, 1.0f] range.

public static final Coordinates2d TEXTURE_TEXELS

GPU texture, (x,y) in pixels.

public static final Coordinates2d VIEW

Android view, display-rotated, (x,y) in pixels.

public static final Coordinates2d VIEW_NORMALIZED

Android view, display-rotated, (x,y) normalized to [0.0f, 1.0f] range.