FInputEventState

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h

Include

#include "EditorViewportClient.h"

Syntax

struct FInputEventState

Constructors

Name Description

Public function

FInputEventState

(
    FViewport* InViewport,
    FKey InKey,
    EInputEvent InInputEvent
)

Functions

Name Description

Public function Const

EInputEvent

 

GetInputEvent()

Public function Const

FKey

 

GetKey()

Public function Const

FViewport &#...

 

GetViewport()

Public function Const

bool

 

IsAltButtonEvent()

Public function Const

bool

 

IsAltButtonPressed()

Return true if alt is pressed right now.

Public function Const

bool

 

IsAnyMouseButtonDown()

Public function Const

bool

 

IsButtonPressed

(
    FKey InKey
)

Public function Const

bool

 

IsCtrlButtonEvent()

Return true if the event causing button is a control key

Public function Const

bool

 

IsCtrlButtonPressed()

Public function Const

bool

 

IsLeftMouseButtonPressed()

Public function Const

bool

 

IsMiddleMouseButtonPressed()

Public function Const

bool

 

IsMouseButtonEvent()

Public function Const

bool

 

IsRightMouseButtonPressed()

Public function Const

bool

 

IsShiftButtonEvent()

Public function Const

bool

 

IsShiftButtonPressed()

Public function Const

bool

 

IsSpaceBarPressed()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback