This extension enables an application to show the passthrough image to see the surrounding environment from the VR headset. The application is allowed to configure the passthrough image with the different appearances according to the demand of the application.
The passthrough configurations that runtime provides to applications contain:
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_HTC_PASSTHROUGH_EXTENSION_NAME
The extension name. |
| public static final int | XR_HTC_passthrough_SPEC_VERSION
The extension specification version. |
| public static final int | XR_OBJECT_TYPE_PASSTHROUGH_HTC
Extends |
| public static final int | XR_PASSTHROUGH_FORM_PLANAR_HTC
XrPassthroughFormHTC - Describes the form of passthrough. |
| public static final int | XR_PASSTHROUGH_FORM_PROJECTED_HTC
XrPassthroughFormHTC - Describes the form of passthrough. |
| public static final int | XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC
Extends |
| public static final int | XR_TYPE_PASSTHROUGH_COLOR_HTC
Extends |
| public static final int | XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC
Extends |
| public static final int | XR_TYPE_PASSTHROUGH_MESH_TRANSFORM_INFO_HTC
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrCreatePassthroughHTC(XrSession session, long createInfo, long passthrough)
Unsafe version of: |
| public static int | xrCreatePassthroughHTC(XrSession
an session, XrPassthroughCreateInfoHTC XrSession in which the passthrough will be active.a pointer to an createInfo, PointerBuffer XrPassthroughCreateInfoHTC structure containing information about how to create the passthrough.a pointer to a handle in which the created passthrough)XrPassthroughHTC is returned.Create a passthrough handle. |
| public static int | xrDestroyPassthroughHTC(XrPassthroughHTC
the passthrough)XrPassthroughHTC to be destroyed.Destroy a passthrough handle. |
| XR_HTC_PASSTHROUGH_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_HTC_PASSTHROUGH_EXTENSION_NAME The extension name. | |
| XR_HTC_passthrough_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_HTC_passthrough_SPEC_VERSION The extension specification version. | |
| XR_OBJECT_TYPE_PASSTHROUGH_HTC | back to summary |
|---|---|
| public static final int XR_OBJECT_TYPE_PASSTHROUGH_HTC Extends | |
| XR_PASSTHROUGH_FORM_PLANAR_HTC | back to summary |
|---|---|
| public static final int XR_PASSTHROUGH_FORM_PLANAR_HTC XrPassthroughFormHTC - Describes the form of passthrough. Enumerant Descriptions
See Also | |
| XR_PASSTHROUGH_FORM_PROJECTED_HTC | back to summary |
|---|---|
| public static final int XR_PASSTHROUGH_FORM_PROJECTED_HTC XrPassthroughFormHTC - Describes the form of passthrough. Enumerant Descriptions
See Also | |
| XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC | back to summary |
|---|---|
| public static final int XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC Extends Enum values: | |
| XR_TYPE_PASSTHROUGH_COLOR_HTC | back to summary |
|---|---|
| public static final int XR_TYPE_PASSTHROUGH_COLOR_HTC Extends Enum values: | |
| XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC | back to summary |
|---|---|
| public static final int XR_TYPE_PASSTHROUGH_CREATE_INFO_HTC Extends Enum values: | |
| XR_TYPE_PASSTHROUGH_MESH_TRANSFORM_INFO_HTC | back to summary |
|---|---|
| public static final int XR_TYPE_PASSTHROUGH_MESH_TRANSFORM_INFO_HTC Extends Enum values: | |
| HTCPassthrough | back to summary |
|---|---|
| protected HTCPassthrough() | |
| nxrCreatePassthroughHTC | back to summary |
|---|---|
| public static int nxrCreatePassthroughHTC(XrSession session, long createInfo, long passthrough) Unsafe version of: | |
| xrCreatePassthroughHTC | back to summary |
|---|---|
| public static int xrCreatePassthroughHTC(XrSession session, XrPassthroughCreateInfoHTC createInfo, PointerBuffer passthrough) Create a passthrough handle. C SpecificationThe
DescriptionCreates an If the function successfully returned, the output Valid Usage (Implicit)
Return Codes
See Also
| |
| xrDestroyPassthroughHTC | back to summary |
|---|---|
| public static int xrDestroyPassthroughHTC(XrPassthroughHTC passthrough) Destroy a passthrough handle. C SpecificationThe
DescriptionThe Valid Usage (Implicit)
Thread Safety
Return Codes
| |