public enum ARPlaneDetection
- Object
- Enum<ARPlaneDetection>
- ARPlaneDetection
ImplementsComparable<ARPlaneDetection>
Which real-world surface orientations an
ARSession should detect and
report as ARPlanes.Enum constants
NONE | Do not detect planes. |
HORIZONTAL | Detect horizontal surfaces such as floors and tables. |
VERTICAL | Detect vertical surfaces such as walls. |
HORIZONTAL_AND_VERTICAL | Detect both horizontal and vertical surfaces. |
Methods
public static ARPlaneDetection[] values() | |
public static ARPlaneDetection valueOf(String name) | |
public boolean includesHorizontal() | True when this setting includes horizontal surfaces. |
public boolean includesVertical() | True when this setting includes vertical surfaces. |
Inherited methods
Enum constant details
NONE
NONEDo not detect planes.
HORIZONTAL
HORIZONTALDetect horizontal surfaces such as floors and tables.
VERTICAL
VERTICALDetect vertical surfaces such as walls.
HORIZONTAL_AND_VERTICAL
HORIZONTAL_AND_VERTICALDetect both horizontal and vertical surfaces.
Method details
values
public static ARPlaneDetection[] values()valueOf
public static ARPlaneDetection valueOf(String name)includesHorizontal
public boolean includesHorizontal()True when this setting includes horizontal surfaces.
includesVertical
public boolean includesVertical()True when this setting includes vertical surfaces.