Module |
|
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 |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="SteamVR",
Meta=(DeprecatedFunction, DeprecationMessage="Use motion controller components instead"))
static 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
True if the specified controller index has a valid tracked device ID
Parameter |
Description |
---|---|
ControllerIndex |
Index of the controller to get the tracked device ID for |
Hand |
Which hand's controller to get the position and orientation for |
OutPosition |
(out) Current position of the device |
OutRotation |
(out) Current rotation of the device |