FAnalogInputEvent

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

Choose your operating system:

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