USteamVRFunctionLibrary

SteamVR Extensions Function Library

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SteamVR

Header

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

Include

#include "SteamVRFunctionLibrary.h"

Syntax

UCLASS()
class USteamVRFunctionLibrary : public UBlueprintFunctionLibrary

Remarks

SteamVR Extensions Function Library

Constructors

Name Description

Public function

USteamVRFunctionLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

GetHandPositionAndOrientation

(
    int32 ControllerIndex,
    EControllerHand Hand,
    FVector& OutPosition,
    FRotator& OutOrientation
)

Given a controller index and a hand, returns the position and orientation of the controller

Public function Static UFunction BlueprintPure, Category

bool

 

GetTrackedDevicePositionAndOrientation

(
    int32 DeviceId,
    FVector& OutPosition,
    FRotator& OutOrientation
)

Gets the orientation and position (in device space) of the device with the specified ID

Public function Static UFunction BlueprintPure, Category

void

 

GetValidTrackedDeviceIds

(
    ESteamVRTrackedDeviceType DeviceTyp...,
    TArray< int32 >& OutTrackedDeviceI...
)

Returns an array of the currently tracked device IDs