Files
UnrealEngineUWP/Engine/Plugins/Runtime/WindowsMixedReality/Source/WindowsMixedRealityHandTracking/Public/WindowsMixedRealityHandTrackingFunctionLibrary.h
fieldsJacksonG e1b4c13b7e Unshelved from pending changelist '18540094':
PR #8767: Deprecate WMR (Contributed by fieldsJacksonG)

#preflight 18625839
#rb jeff.fisher
#jira UE-138625

#ROBOMERGE-AUTHOR: steve.smith
#ROBOMERGE-SOURCE: CL 18668535 in //UE5/Release-5.0/... via CL 18668690 via CL 18668769
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18668796 by fieldsJacksonG in ue5-main branch]
2022-01-19 18:42:21 -05:00

38 lines
1.6 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "WindowsMixedRealityHandTrackingTypes.h"
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "InputCoreTypes.h"
#include "WindowsMixedRealityHandTrackingFunctionLibrary.generated.h"
UCLASS(ClassGroup = WindowsMixedReality, Deprecated, meta = (DeprecationMessage = "WMR has been deprecated, please use the Microsoft OpenXR plugin from the Marketplace."))
class WINDOWSMIXEDREALITYHANDTRACKING_API UDEPRECATED_WindowsMixedRealityHandTrackingFunctionLibrary :
public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
/**
Returns true if hand tracking available.
*/
UFUNCTION(BlueprintCallable, Category = "HandTracking|WindowsMixedReality", meta = (DeprecatedFunction, DeprecationMessage = "Use GetXRSystemFlags and check for SupportsHandTracking"))
static bool SupportsHandTracking();
/**
Get Transform for a point on the hand.
@param Hand
@param Keypoint the specific joint or wrist point to fetch.
@param Transform The joint's transform.
@param Radius The distance from the joint position to the surface of the hand.
@return true if the output param was populated with a valid value, false means that the tracking is lost and output is undefined.
*/
UFUNCTION(BlueprintCallable, Category = "HandTracking|WindowsMixedReality", meta=(DeprecatedFunction, DeprecationMessage="Use GetMotionControllerData HandKeyPositions and HandKeyRadii"))
static bool GetHandJointTransform(EControllerHand Hand, EWMRHandKeypoint Keypoint, FTransform& Transform, float& Radius);
};