USteamVRFunctionLibrary

SteamVR Extensions Function Library

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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
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

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