OpenXRFbBodyTrackingExtensionWrapper
Inherits: OpenXRExtensionWrapperExtension
Wraps the XR_FB_body_tracking
extension.
Description
Wraps the XR_FB_body_tracking
extension.
Methods
bool |
|
bool |
|
bool |
|
void |
request_body_tracking_fidelity ( BodyTrackingFidelity fidelity ) |
void |
|
void |
suggest_body_tracking_height_override ( float body_height ) |
Enumerations
enum BodyTrackingFidelity:
BodyTrackingFidelity BODY_TRACKING_FIDELITY_UNKNOWN = 0
Unknown body tracking fidelity.
BodyTrackingFidelity BODY_TRACKING_FIDELITY_LOW = 1
Low fidelity body tracking.
BodyTrackingFidelity BODY_TRACKING_FIDELITY_HIGH = 2
High fidelity body tracking.
enum BodyTrackingCalibrationState:
BodyTrackingCalibrationState BODY_TRACKING_CALIBRATION_STATE_VALID = 0
Valid body tracking calibration state.
BodyTrackingCalibrationState BODY_TRACKING_CALIBRATION_STATE_CALIBRATING = 1
Calibrating body tracking calibration state.
BodyTrackingCalibrationState BODY_TRACKING_CALIBRATION_STATE_INVALID = 2
Invalid body tracking calibration state.
Method Descriptions
BodyTrackingCalibrationState get_body_tracking_calibration_state ( )
Returns the body tracking calibration state.
BodyTrackingFidelity get_body_tracking_fidelity_status ( )
Returns the body tracking fidelity status.
bool is_body_tracking_fidelity_supported ( )
Returns true
if the body tracking fidelity extension is supported.
bool is_body_tracking_height_override_supported ( )
Returns true
if height override from the body tracking calibration extension is supported.
bool is_full_body_tracking_supported ( )
Returns true
if the body tracking full body extension is supported.
void request_body_tracking_fidelity ( BodyTrackingFidelity fidelity )
Request that the OpenXR runtime use a specified body tracking fidelity.
void reset_body_tracking_calibration ( )
Reset the body tracking calibration state.
void suggest_body_tracking_height_override ( float body_height )
Suggest a height override in meters for body tracking calibration to the OpenXR runtime.
Note: this value must be within the range of 0.5 and 3.0 meters.