UMotionTrackedDeviceFunctionLibrary::EnableMotionTrackingForComponent

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

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 EnableMotionTrackingForComponent
(
    class UMotionControllerComponent * MotionControllerComponent
)

Remarks

Enable 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

MotionControllerComponent

(in) The motion controller component who's associated device is targeted.

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