SSynthKnob

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Synthesis

Header

/Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/UI/SSynthKnob.h

Include

#include "UI/SSynthKnob.h"

Syntax

class SSynthKnob : public SLeafWidget

Functions

Name Description

Public function

void

 

CommitValue

(
    float NewValue
)

Commits the specified slider value.

Public function

void

 

Construct

(
    const SSynthKnob::FArguments& InDe...
)

Construct the widget.

Public function

FVector2D

 

GetMouseDownPosition()

Return the last mouse down position.

Public function Const

float

 

GetValue()

See the Value attribute

Public function Const

bool

 

IsLocked()

Public function

void

 

SetLocked

(
    const TAttribute< bool >& InLocked
)

See the Locked attribute

Public function

void

 

SetMouseFineTuneSpeed

(
    const float InMouseFineTuneSpeed
)

See the MousePeed attribute

Public function

void

 

SetMouseSpeed

(
    const float InMouseSpeed
)

See the MousePeed attribute

Public function

void

 

SetStepSize

(
    const float InStepSize
)

See the StepSize attribute

Public function

void

 

SetValue

(
    const TAttribute< float >& InValue...
)

See the Value attribute

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

Overwritten from SWidget.

Public function Virtual Const

bool

 

IsInteractable()

Public function Virtual

void

 

OnFocusLost

(
    const FFocusEvent& InFocusEvent
)

Called when this widget loses focus. This event does not bubble.

Public function Virtual

FReply

 

OnKeyDown

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

Called after a key is pressed when this widget has focus (this event bubbles if not handled)

Public function Virtual

FReply

 

OnKeyUp

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

Called after a key is released when this widget has focus

Public function Virtual

FReply

 

OnMouseButtonDown

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

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

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

FReply

 

OnMouseMove

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse moved within it.

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

Overwritten from SWidget.

Public function Virtual Const

bool

 

SupportsKeyboardFocus()

Checks to see if this widget supports keyboard focus. Override this in derived classes.

Classes

Name

Description

Public struct

FArguments

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