FXRTrackingSystemBase::CountTrackedDevices

Get the count of tracked devices.

Windows
MacOS
Linux

Override Hierarchy

IXRTrackingSystem::CountTrackedDevices()

FXRTrackingSystemBase::CountTrackedDevices()

References

Module

HeadMountedDisplay

Header

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

Include

#include "XRTrackingSystemBase.h"

Source

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

Syntax

virtual uint32 CountTrackedDevices
(
    EXRTrackedDeviceType Type
)

Remarks

Get the count of tracked devices.

The default implementation calls EnumerateTrackedDevices and returns the number of elements added to the array.

Returns

the count of matching tracked devices.

Parameters

Parameter

Description

Type

Optionally limit the count to a certain 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