UMotionTrackedDeviceFunctionLibrary::GetMotionTrackingEnabledControllerCount

Get the number of controllers for which tracking is enabled.

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 int32 GetMotionTrackingEnabledControllerCount()

Remarks

Get the number of controllers for which tracking is enabled.

Returns

(int) number of controllers tracked now, or -1 if this query is unsupported (IsMotionTrackedDeviceCountManagementNecessary() should return false).

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