Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/UMotionTrackedDeviceFunctionLibr-
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/MotionTrackedDeviceFunctionLibrary.h |
| Include | #include "MotionTrackedDeviceFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/MotionTrackedDeviceFunctionLibrary.cpp |
UFUNCTION&40;BlueprintPure, Category&61;"Input&124;MotionTracking",
Meta&61;&40;DeprecatedFunction, DeprecationMessage&61;"EControllerHand has been deprecated, please use IsMotionTrackingEnabledForSource instead."&41;&41;
static bool IsMotionTrackingEnabledForDevice
&40;
int32 PlayerIndex,
EControllerHand Hand
&41;
Remarks
Returns true if tracking is enabled for the specified device. (Boolean) true if the specified device is set to be tracked.
Parameters
| Name | Description |
|---|---|
| PlayerIndex | (in) The index of the player. |
| Hand | (in) The tracked device type. |