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;BlueprintCallable, Category&61;"Input&124;MotionTracking",
Meta&61;&40;DeprecatedFunction, DeprecationMessage&61;"EControllerHand has been deprecated, please use EnableMotionTrackingOfSource instead."&41;&41;
static bool EnableMotionTrackingOfDevice
&40;
int32 PlayerIndex,
EControllerHand Hand
&41;
Remarks
Enable tracking of the specified controller, by player index and tracked device type. (Boolean) true if the specified device is now set to be tracked. This could fail due to tracking limits, or on invalid input.
Parameters
| Name | Description |
|---|---|
| PlayerIndex | (in) The index of the player. |
| Hand | (in) The device type. |