IMotionTrackingSystemManagement::EnableMotionTrackingOfDevice

Enaable tracking of the specified controller, by player index and tracked device type.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/IMotionTrackingSystemManagement.h

Include

#include "IMotionTrackingSystemManagement.h"

Syntax

bool EnableMotionTrackingOfDevice
(
    const int32 ControllerIndex,
    const EControllerHand DeviceHand
)

Remarks

Enaable tracking of the specified controller, by player index and tracked device type.

Returns

(Boolean) true if the specified device is now set to be tracked. This could fail due to tracking limits, or on invalid input.

Parameters

Parameter

Description

PlayerIndex

(in) The index of the player.

Hand

(in) The device type.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss