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"&41;
static bool EnableMotionTrackingOfSource
&40;
int32 PlayerIndex,
FName SourceName
&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. |
| SourceName | (in) The device id. |