Navigation
API > API/Runtime > API/Runtime/SlateCore
FAnalogEvent describes a analog key value. It is passed to event handlers dealing with analog keys.
| Name | FAnalogInputEvent |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
| Include Path | #include "Input/Events.h" |
Syntax
USTRUCT (BlueprintType )
struct FAnalogInputEvent : public FKeyEvent
Inheritance Hierarchy
- FInputEvent → FKeyEvent → FAnalogInputEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UStruct Constructor. Not meant for normal usage. | Input/Events.h | ||
FAnalogInputEvent
(
const FKey InKey, |
Constructor. Events are immutable once constructed. | Input/Events.h | |
FAnalogInputEvent
(
const FKey InKey, |
Input/Events.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAnalogInputEvent() |
Input/Events.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnalogValue | float | Analog value between 0 and 1 (0 being not pressed at all, 1 being fully pressed). | Input/Events.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetAnalogValue () |
Returns the analog value between 0 and 1. | Input/Events.h |
Overridden from FInputEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText ToText() |
Input/Events.h |