FAnalogInputEvent

FAnalogEvent describes a analog key value. It is passed to event handlers dealing with analog keys.

Windows
MacOS
Linux

Inheritance Hierarchy

FInputEvent

FKeyEvent

FAnalogInputEvent

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Events.h

Include

#include "Input/Events.h"

Syntax

struct FAnalogInputEvent : public FKeyEvent

Remarks

FAnalogEvent describes a analog key value. It is passed to event handlers dealing with analog keys.

Constructors

Name Description

Public function

FAnalogInputEvent()

UStruct Constructor. Not meant for normal usage.

Public function

FAnalogInputEvent

(
    const FKey InKey,
    const FModifierKeysState & InModifi...,
    const uint32 InUserIndex,
    const bool bInIsRepeat,
    const uint32 InCharacterCode,
    const uint32 InKeyCode,
    const float InAnalogValue
)

  1. Events are immutable once constructed.

Functions

Name Description

Public function Const

float

 

GetAnalogValue()

Returns the analog value between 0 and 1.

Overridden from FInputEvent

Name Description

Public function Virtual Const

FText

 

ToText()

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