FModifierKeysState::FModifierKeysState

Constructor. Events are immutable once constructed.

Choose your operating system:

Windows

macOS

Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h

Include

#include "GenericPlatform/GenericApplication.h"

Syntax

FModifierKeysState
(
    const bool bInIsLeftShiftDown,
    const bool bInIsRightShiftDown,
    const bool bInIsLeftControlDown,
    const bool bInIsRightControlDown,
    const bool bInIsLeftAltDown,
    const bool bInIsRightAltDown,
    const bool bInIsLeftCommandDown,
    const bool bInIsRightCommandDown,
    const bool bInAreCapsLocked
)

Remarks

  1. Events are immutable once constructed.

Parameters

Parameter

Description

bInIsLeftShiftDown

True if left shift is pressed

bInIsRightShiftDown

True if right shift is pressed

bInIsLeftControlDown

True if left control is pressed

bInIsRightControlDown

True if right control is pressed

bInIsLeftAltDown

True if left alt is pressed

bInIsRightAltDown

True if right alt is pressed