UWindowsMixedRealityInputSimulationEngineSubsystem::GetPressState

State of buttons and gestures of the hand controller.

Windows
MacOS
Linux

References

Module

WindowsMixedRealityInputSimulation

Header

/Engine/Plugins/Runtime/WindowsMixedReality/Source/WindowsMixedRealityInputSimulation/Public/WindowsMixedRealityInputSimulationEngineSubsystem.h

Include

#include "WindowsMixedRealityInputSimulationEngineSubsystem.h"

Source

/Engine/Plugins/Runtime/WindowsMixedReality/Source/WindowsMixedRealityInputSimulation/Private/WindowsMixedRealityInputSimulationEngineSubsystem.cpp

Syntax

bool GetPressState
(
    EControllerHand Hand,
    EHMDInputControllerButtons Button,
    bool OnlyRegisterClicks,
    bool & OutPressState
) const

Remarks

State of buttons and gestures of the hand controller. If OnlyRegisterClicks is true only changes from unpressed to pressed will be registered. Returns true only if the button state is valid.

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