Coordinates2d

public final enum Coordinates2d

2D coordinate systems supported by ARCore.

Inherited Methods

Enum Values

IMAGE_NORMALIZED

public static final Coordinates2d IMAGE_NORMALIZED

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

IMAGE_PIXELS

public static final Coordinates2d IMAGE_PIXELS

CPU image, (x,y) in pixels.

OPENGL_NORMALIZED_DEVICE_COORDINATES

public static final Coordinates2d OPENGL_NORMALIZED_DEVICE_COORDINATES

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

TEXTURE_NORMALIZED

public static final Coordinates2d TEXTURE_NORMALIZED

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

TEXTURE_TEXELS

public static final Coordinates2d TEXTURE_TEXELS

GPU texture, (x,y) in pixels.

VIEW

public static final Coordinates2d VIEW

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

VIEW_NORMALIZED

public static final Coordinates2d VIEW_NORMALIZED

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