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()

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