USteamVRInputDeviceFunctionLibrary::ResetSeatedPosition

Sets the zero pose for the seated tracker coordinate system to the current position and yaw of the HMD.

Windows
MacOS
Linux

References

Module

SteamVRInputDevice

Header

/Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVRInputDevice/Public/SteamVRInputDeviceFunctionLibrary.h

Include

#include "SteamVRInputDeviceFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVRInputDevice/Private/SteamVRInputDeviceFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="SteamVR Input")
static bool ResetSeatedPosition()

Remarks

Sets the zero pose for the seated tracker coordinate system to the current position and yaw of the HMD. After this call, calls that pass TrackingUniverseSeated as the origin will be relative to this new zero pose.

NOTE: This function overrides the user's previously saved seated zero pose and should only be called as the result of a user action. Users are also able to set their seated zero pose via the SteamVR Dashboard.

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