public enum ARFaceRegion
- Object
- Enum<ARFaceRegion>
- ARFaceRegion
ImplementsComparable<ARFaceRegion>
Named face regions whose poses can be queried from an
ARFaceAnchor.
Platform availability differs: ARCore natively supplies the nose tip and
forehead regions, while eye poses are an ARKit capability. Query
ARFaceAnchor#getRegionPose(ARFaceRegion) and handle a null result.Enum constants
NOSE_TIP | The tip of the nose. |
FOREHEAD_LEFT | The left side of the forehead (the person’s left). |
FOREHEAD_RIGHT | The right side of the forehead (the person’s right). |
LEFT_EYE | The center of the left eye (the person’s left). |
RIGHT_EYE | The center of the right eye (the person’s right). |
Methods
public static ARFaceRegion[] values() | |
public static ARFaceRegion valueOf(String name) |
Inherited methods
Enum constant details
NOSE_TIP
NOSE_TIPThe tip of the nose.
FOREHEAD_LEFT
FOREHEAD_LEFTThe left side of the forehead (the person’s left).
FOREHEAD_RIGHT
FOREHEAD_RIGHTThe right side of the forehead (the person’s right).
LEFT_EYE
LEFT_EYEThe center of the left eye (the person’s left). May be unavailable on
some platforms.
RIGHT_EYE
RIGHT_EYEThe center of the right eye (the person’s right). May be unavailable on
some platforms.
Method details
values
public static ARFaceRegion[] values()valueOf
public static ARFaceRegion valueOf(String name)