USteamVRInputDeviceFunctionLibrary::PlaySteamVR_HapticFeedback

Generate haptic feedback in the requested controller

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 void PlaySteamVR_HapticFeedback
(
    ESteamVRHand Hand,
    float StartSecondsFromNow,
    float DurationSeconds,
    float Frequency,
    float Amplitude
)

Remarks

Generate haptic feedback in the requested controller

Parameters

Parameter

Description

Hand

Which hand to send the controller feedback to

StartSecondsFromNow

When to start the haptic feedback

DurationSeconds

How long to have the haptic feedback active

Frequency

Frequency used in the haptic feedback

Amplitude

Amplitude used in the haptic feedback

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