USteamVRInputDeviceFunctionLibrary::SetSteamVR_GlobalPredictedSecondsFromNow

Sets the the current value of the global PredictedSecondsFromNow to use in any Get Pose Action Data calls (i.e. Getting controller transform) A value of -9999.f will trigger a GetPoseActionDataForNextFrame, otherwise GetPoseActionRelativeToNow will be called with this value

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 float SetSteamVR_GlobalPredictedSecondsFromNow
(
    float NewValue
)

Remarks

Sets the the current value of the global PredictedSecondsFromNow to use in any Get Pose Action Data calls (i.e. Getting controller transform) A value of -9999.f will trigger a GetPoseActionDataForNextFrame, otherwise GetPoseActionRelativeToNow will be called with this value

Returns

float - The current Predicted Seconds From Now from the SteamVRInput device

Parameters

Parameter

Description

NewValue

The value for PredictedSecondsFromNow that will be used by the SteamVRInput device for Get Action Pose Data calls

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