unreal.WindowsMixedRealityHandTrackingFunctionLibrary

class unreal.WindowsMixedRealityHandTrackingFunctionLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Windows Mixed Reality Hand Tracking Function Library

C++ Source:

  • Plugin: WindowsMixedReality

  • Module: WindowsMixedRealityHandTracking

  • File: WindowsMixedRealityHandTrackingFunctionLibrary.h

classmethod get_hand_joint_transform(hand, keypoint) → (transform=Transform, radius=float) or None

Get Transform for a point on the hand. deprecated: Use GetMotionControllerData HandKeyPositions and HandKeyRadii

Parameters
Returns

true if the output param was populated with a valid value, false means that the tracking is lost and output is undefined.

transform (Transform): The joint’s transform.

radius (float): The distance from the joint position to the surface of the hand.

Return type

tuple or None

classmethod supports_hand_tracking()bool

Returns true if hand tracking available. deprecated: Use GetXRSystemFlags and check for SupportsHandTracking

Returns

Return type

bool