IMotionTrackingSystemManagement::IsMotionTrackingEnabledForDevice

Returns true if the specified device is supposed to be tracked

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "IMotionTrackingSystemManagement.h"

Syntax

bool IsMotionTrackingEnabledForDevice
(
    const int32 ControllerIndex,
    const EControllerHand DeviceHand
) const

Remarks

Returns true if the specified device is supposed to be tracked

Returns

(Boolean) true if the specified device is set to be tracked.

Parameters

Parameter

Description

PlayerIndex

(in) The index of the player.

Hand

(in) The tracked 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