internal static unsafe void Invoke(EHandTrackingGesture Gesture, float Confidence) { long *p = stackalloc long[] { 0L, 0L }; byte *b = (byte *)p; *(b + 0) = (byte)Gesture; *((float *)(b + 4)) = Confidence; Main.GetProcessEvent(MagicLeapHandTrackingFunctionLibrary.DefaultObject, SetStaticGestureConfidenceThreshold_ptr, new IntPtr(p));; } }
///<summary>Sets the minimum gesture confidence to filter out the detected static gesture.</summary> ///<remarks> ///@param Gesture The gesture to set the confidence threshold for. ///@param Confidence The gesture confidence threshold. ///</remarks> public static void SetStaticGestureConfidenceThreshold(EHandTrackingGesture Gesture, float Confidence) => MagicLeapHandTrackingFunctionLibrary_methods.SetStaticGestureConfidenceThreshold_method.Invoke(Gesture, Confidence);