OpenXRFbHandTrackingCapsulesExtensionWrapper

Inherits: OpenXRExtensionWrapperExtension

Wraps the XR_FB_hand_tracking_capsules extension.

Description

Wraps the XR_FB_hand_tracking_capsules extension.

Methods

int

get_hand_capsule_count ( ) const

float

get_hand_capsule_height ( int hand_index, int capsule_index ) const

XRHandTracker.HandJoint

get_hand_capsule_joint ( int hand_index, int capsule_index ) const

float

get_hand_capsule_radius ( int hand_index, int capsule_index ) const

Transform3D

get_hand_capsule_transform ( int hand_index, int capsule_index ) const

bool

is_enabled ( )


Method Descriptions

int get_hand_capsule_count ( ) const

Gets the total number of hand capsules.


float get_hand_capsule_height ( int hand_index, int capsule_index ) const

Gets the height of the given capsule for the given hand (0 is left, and 1 is right).


XRHandTracker.HandJoint get_hand_capsule_joint ( int hand_index, int capsule_index ) const

Gets the joint that drives the transform of the given capsule for the given hand (0 is left, and 1 is right).


float get_hand_capsule_radius ( int hand_index, int capsule_index ) const

Gets the radius of the given capsule for the given hand (0 is left, and 1 is right).


Transform3D get_hand_capsule_transform ( int hand_index, int capsule_index ) const

Gets the transform of the given capsule for the given hand (0 is left, and 1 is right).


bool is_enabled ( )

Checks if the extension is enabled or not.