This extension enables applications to detect planes in the scene.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_ERROR_PLANE_DETECTION_PERMISSION_DENIED_EXT
Extends |
| public static final int | XR_ERROR_SPACE_NOT_LOCATABLE_EXT
Extends |
| public static final String | XR_EXT_PLANE_DETECTION_EXTENSION_NAME
The extension name. |
| public static final int | XR_EXT_plane_detection_SPEC_VERSION
The extension specification version. |
| public static final int | XR_OBJECT_TYPE_PLANE_DETECTOR_EXT
Extends |
| public static final int | XR_PLANE_DETECTION_CAPABILITY_ORIENTATION_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_PLANE_DETECTION_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_PLANE_HOLES_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_CEILING_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_FLOOR_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_PLATFORM_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_CAPABILITY_SEMANTIC_WALL_BIT_EXT
XrPlaneDetectionCapabilityFlagBitsEXT - Feature Flag Bits Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTION_STATE_DONE_EXT
XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions
|
| public static final int | XR_PLANE_DETECTION_STATE_ERROR_EXT
XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions
|
| public static final int | XR_PLANE_DETECTION_STATE_FATAL_EXT
XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions
|
| public static final int | XR_PLANE_DETECTION_STATE_NONE_EXT
XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions
|
| public static final int | XR_PLANE_DETECTION_STATE_PENDING_EXT
XrPlaneDetectionStateEXT - Plane Detection State Enumerant Descriptions
|
| public static final int | XR_PLANE_DETECTOR_ENABLE_CONTOUR_BIT_EXT
XrPlaneDetectorFlagBitsEXT - Plane Detector flags Description The flag bits have the following meanings: Flag Descriptions
|
| public static final int | XR_PLANE_DETECTOR_ORIENTATION_ARBITRARY_EXT
XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_DOWNWARD_EXT
XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_ORIENTATION_HORIZONTAL_UPWARD_EXT
XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_ORIENTATION_VERTICAL_EXT
XrPlaneDetectorOrientationEXT - Orientation of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT
XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT
XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT
XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT
XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT
XrPlaneDetectorSemanticTypeEXT - Type of the detected plane (upward, downward…) Description The enums have the following meanings: |
| public static final int | XR_TYPE_PLANE_DETECTOR_BEGIN_INFO_EXT
Extends |
| public static final int | XR_TYPE_PLANE_DETECTOR_CREATE_INFO_EXT
Extends |
| public static final int | XR_TYPE_PLANE_DETECTOR_GET_INFO_EXT
Extends |
| public static final int | XR_TYPE_PLANE_DETECTOR_LOCATION_EXT
Extends |
| public static final int | XR_TYPE_PLANE_DETECTOR_LOCATIONS_EXT
Extends |
| public static final int | XR_TYPE_PLANE_DETECTOR_POLYGON_BUFFER_EXT
Extends |
| public static final int | XR_TYPE_SYSTEM_PLANE_DETECTION_PROPERTIES_EXT
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrBeginPlaneDetectionEXT(XrPlaneDetectorEXT planeDetector, long beginInfo)
Unsafe version of: |
| public static int | nxrCreatePlaneDetectorEXT(XrSession session, long createInfo, long planeDetector)
Unsafe version of: |
| public static int | nxrGetPlaneDetectionsEXT(XrPlaneDetectorEXT planeDetector, long info, long locations)
Unsafe version of: |
| public static int | nxrGetPlaneDetectionStateEXT(XrPlaneDetectorEXT planeDetector, long state)
Unsafe version of: |
| public static int | nxrGetPlanePolygonBufferEXT(XrPlaneDetectorEXT planeDetector, long planeId, int polygonBufferIndex, long polygonBuffer)
Unsafe version of: |
| public static int | xrBeginPlaneDetectionEXT(XrPlaneDetectorEXT
an planeDetector, XrPlaneDetectorBeginInfoEXT XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.a pointer to beginInfo)XrPlaneDetectorBeginInfoEXT containing plane detection parameters.Detect planes. |
| public static int | xrCreatePlaneDetectorEXT(XrSession
an session, XrPlaneDetectorCreateInfoEXT XrSession in which the plane detection will be active.the createInfo, PointerBuffer XrPlaneDetectorCreateInfoEXT used to specify the plane detection.the returned planeDetector)XrPlaneDetectorEXT handle.Create a plane detection handle. |
| public static int | xrDestroyPlaneDetectorEXT(XrPlaneDetectorEXT
an planeDetector)XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.Destroy a plane detection handle. |
| public static int | xrGetPlaneDetectionsEXT(XrPlaneDetectorEXT
an planeDetector, XrPlaneDetectorGetInfoEXT XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.a pointer to info, XrPlaneDetectorLocationsEXT XrPlaneDetectorGetInfoEXT.a pointer to locations)XrPlaneDetectorLocationsEXT receiving the returned plane locations.Get the detected planes. |
| public static int | xrGetPlaneDetectionStateEXT(XrPlaneDetectorEXT
an planeDetector, IntBuffer XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.a pointer to state)XrPlaneDetectionStateEXT.Get the state of the plane detection pass. |
| public static int | xrGetPlanePolygonBufferEXT(XrPlaneDetectorEXT
an planeDetector, long XrPlaneDetectorEXT previously created by CreatePlaneDetectorEXT.the planeId, int XrPlaneDetectorLocationEXT::planeId.the index of the polygon contour buffer to retrieve. This must be a number from 0 to polygonBufferIndex, XrPlaneDetectorPolygonBufferEXT XrPlaneDetectorLocationEXT:polygonBufferCount -1. Index 0 retrieves the outside contour, larger indexes retrieve holes in the plane.a pointer to polygonBuffer)XrPlaneDetectorPolygonBufferEXT receiving the returned plane polygon buffer.Gets the plane. |