SAnalogSlider

A Slate slider control is a linear scale and draggable handle.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/SAnalogSlider.h

Include

#include "SAnalogSlider.h"

Syntax

class SAnalogSlider : public SSlider

Remarks

A Slate slider control is a linear scale and draggable handle.

Functions

Name Description

Public function

void

 

Construct

(
    const SAnalogSlider::FArguments& I...
)

Construct the widget.

Public function

void

 

SetUsingGamepad

(
    bool InUsingGamepad
)

Overridden from SWidget

Name Description

Public function Virtual

FReply

 

OnAnalogValueChanged

(
    const FGeometry& MyGeometry,
    const FAnalogInputEvent& InAnalogI...
)

Called when an analog value changes on a button that supports analog

Public function Virtual

FReply

 

OnMouseButtonDown

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

Input overrides, for adding controller input to the slider.

Public function Virtual

FReply

 

OnMouseButtonUp

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse button was release within it.

Public function Virtual

FNavigationR...

 

OnNavigation

(
    const FGeometry& MyGeometry,
    const FNavigationEvent& InNavigati...
)

Called when navigation is requested e.g. Left Joystick, Direction Pad, Arrow Keys can generate navigation events.

Classes

Name

Description

Public struct

FArguments