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 (BlueprintPure, Category="Input|MotionTracking",
Meta=(DeprecatedFunction, DeprecationMessage="EControllerHand has been deprecated, please use IsMotionTrackingEnabledForSource instead."))
static bool IsMotionTrackingEnabledForDevice
(
int32 PlayerIndex,
EControllerHand Hand
)
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. |