Coordinates2d
2D coordinate systems supported by ARCore.
Inherited Methods
From class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
|
int
|
|
final
Optional<EnumDesc<Coordinates2d>>
|
describeConstable()
|
final
boolean
|
|
final
void
|
finalize()
|
final
Class<Coordinates2d>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
From interface
java.lang.constant.Constable
abstract
Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface
java.lang.Comparable
Enum Values
public
static
final
Coordinates2d
IMAGE_NORMALIZED
IMAGE_NORMALIZED
public static final Coordinates2d IMAGE_NORMALIZED
CPU image, (x,y) normalized to [0.0f, 1.0f] range.
public
static
final
Coordinates2d
IMAGE_PIXELS
IMAGE_PIXELS
public static final Coordinates2d IMAGE_PIXELS
CPU image, (x,y) in pixels.
public
static
final
Coordinates2d
OPENGL_NORMALIZED_DEVICE_COORDINATES
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.
public
static
final
Coordinates2d
TEXTURE_NORMALIZED
TEXTURE_NORMALIZED
public static final Coordinates2d TEXTURE_NORMALIZED
GPU texture coordinates, (s,t) normalized to [0.0f, 1.0f] range.
public
static
final
Coordinates2d
TEXTURE_TEXELS
TEXTURE_TEXELS
public static final Coordinates2d TEXTURE_TEXELS
GPU texture, (x,y) in pixels.
public
static
final
Coordinates2d
VIEW
VIEW
public static final Coordinates2d VIEW
Android view, display-rotated, (x,y) in pixels.
public
static
final
Coordinates2d
VIEW_NORMALIZED
VIEW_NORMALIZED
public static final Coordinates2d VIEW_NORMALIZED
Android view, display-rotated, (x,y) normalized to [0.0f, 1.0f] range.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`Coordinates2d` is a Java enum defining the 2D coordinate systems used by ARCore."],["It includes options for image, OpenGL, texture, and view-based coordinates."],["Each coordinate system uses different units and ranges (e.g., pixels, normalized values)."],["This enum helps developers specify how 2D coordinates are interpreted within ARCore."],["Inherited methods from standard Java classes like `Enum`, `Object`, `Constable`, and `Comparable` are available."]]],[]]