internal static unsafe (Transform, bool) Invoke(EControllerHand Hand, EGestureTransformSpace TransformSpace) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *(b + 0) = (byte)Hand; *(b + 1) = (byte)TransformSpace; Main.GetProcessEvent(MagicLeapHandTrackingFunctionLibrary.DefaultObject, GetHandThumbTip_ptr, new IntPtr(p));; return(*((Transform *)(b + 16)), *((bool *)(b + 64))); } }
///<summary>Get Transform for a point on the hand.</summary> ///<remarks> ///@param Hand ///@param Keypoint the specific joint or wrist point to fetch. ///@param Transform Output parameter to write the data to. ///@param TransformSpace Get the transform relative to the world, hand center, or tracking space. ///@return true if the output param was populated with a valid value, false means that is is either unchanged or populated with a stale value. ///</remarks> public static (Transform, bool) GetGestureKeypointTransform(EControllerHand Hand, EHandTrackingKeypoint Keypoint, EGestureTransformSpace TransformSpace) => MagicLeapHandTrackingFunctionLibrary_methods.GetGestureKeypointTransform_method.Invoke(Hand, Keypoint, TransformSpace);
///<summary>Transform of Thumb Tip.</summary> ///<remarks> ///Note that this returns a transform in the Tracking space. To get the transform in Unreal's ///world space, use the MotioController component as a child of the XRPawn with hand set to EControllerHand::Special_5 ///for the left hand secondary and EControllerHand::Special_6 for the right hand secondary. /// ///@param Hand Hand to query the hand center transform for. Only Left and Right hand are supported. ///@param TransformSpace Get the transform relative to the world, hand center, or tracking space. ///@param Secondary Output parameter containing the position and orientation. ///@return true if the output param was populated with a valid value, false means that is is either unchanged or populated with a stale value. ///</remarks> public static (Transform, bool) GetHandThumbTip(EControllerHand Hand, EGestureTransformSpace TransformSpace) => MagicLeapHandTrackingFunctionLibrary_methods.GetHandThumbTip_method.Invoke(Hand, TransformSpace);