Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/MotionTrackedDeviceFunctionLibrary.h |
Include |
#include "MotionTrackedDeviceFunctionLibrary.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/MotionTrackedDeviceFunctionLibrary.cpp |
static bool EnableMotionTrackingOfDevice
(
int32 PlayerIndex,
EControllerHand Hand
)
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.
Parameter |
Description |
---|---|
PlayerIndex |
(in) The index of the player. |
Hand |
(in) The device type. |