USteamVRFunctionLibrary::GetValidTrackedDeviceIds

Returns an array of the currently tracked device IDs

Windows
MacOS
Linux

References

Module

SteamVR

Header

/Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVR/Classes/SteamVRFunctionLibrary.h

Include

#include "SteamVRFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVR/Private/SteamVRFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="SteamVR")
static void GetValidTrackedDeviceIds
(
    ESteamVRTrackedDeviceType DeviceType,
    TArray< int32 > & OutTrackedDeviceIds
)

Remarks

Returns an array of the currently tracked device IDs

Parameters

Parameter

Description

DeviceType

Which class of device (e.g. controller, tracking devices) to get Device Ids for

OutTrackedDeviceIds

(out) Array containing the ID of each device that's currently tracked

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