UMotionTrackedDeviceFunctionLibrary::IsMotionTrackingEnabledForDevice

Returns true if tracking is enabled for the specified device.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

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

Include

#include "MotionTrackedDeviceFunctionLibrary.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/MotionTrackedDeviceFunctionLibrary.cpp

Syntax

static bool IsMotionTrackingEnabledForDevice
(
    int32 PlayerIndex,
    EControllerHand Hand
)

Remarks

Returns true if tracking is enabled for the specified device.

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