public static UInt32 addJointOrientationRecognizer(FubiUtils.SkeletonJoint joint, float minX = -180.0f, float minY = -180.0f, float minZ = -180.0f, float maxX = 180.0f, float maxY = 180.0f, float maxZ = 180.0f, bool useLocalOrientations = true, int atIndex = -1, string name = null, float minConfidence = -1) { IntPtr namePtr = Marshal.StringToHGlobalAnsi(name); UInt32 ret = FubiInternal.addJointOrientationRecognizer(joint, minX, minY, minZ, maxX, maxY, maxZ, useLocalOrientations, atIndex, namePtr, minConfidence); Marshal.FreeHGlobal(namePtr); return(ret); }