UMotionTrackedDeviceFunctionLibrary::IsMotionTrackingEnabledForSource

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 IsMotionTrackingEnabledForSource
(
    int32 PlayerIndex,
    FName SourceName
)

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.

SourceName

(in) The tracked device id.

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