USynthKnob

A simple widget that shows a sliding bar with a handle that allows you to control the value between 0..1.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Synthesis

Header

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

Include

#include "UI/SynthKnob.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class USynthKnob : public UWidget

Remarks

A simple widget that shows a sliding bar with a handle that allows you to control the value between 0..1.

  • No Children

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

IsFocusable

Should the slider be focusable?

Protected variable

float

 

K2_Cache_Value

Public variable UProperty Category, EditAnywhere, AdvancedDisplay BlueprintReadOnly

bool

 

Locked

Whether the handle is interactive or fixed.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

float

 

MouseFineTuneSpeed

The speed of the mouse knob control when fine-tuning the knob

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

float

 

MouseSpeed

The speed of the mouse knob control

Protected variable

TSharedPtr< SSy...

 

MySynthKnob

Native Slate Widget

Public variable UProperty Category BlueprintAssignable

FOnControllerCa...

 

OnControllerCaptureBegin

Invoked when the controller capture begins.

Public variable UProperty Category BlueprintAssignable

FOnControllerCa...

 

OnControllerCaptureEnd

Invoked when the controller capture ends.

Public variable UProperty Category BlueprintAssignable

FOnMouseCapture...

 

OnMouseCaptureBegin

Invoked when the mouse is pressed and a capture begins.

Public variable UProperty Category BlueprintAssignable

FOnMouseCapture...

 

OnMouseCaptureEnd

Invoked when the mouse is released and a capture ends.

Public variable UProperty Category BlueprintAssignable

FOnFloatValueCh...

 

OnValueChanged

Called when the value is changed by slider or typing.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FText

 

ParameterName

The name of the pararameter. Will show when knob turns.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FText

 

ParameterUnits

The parameter units (e.g. hz). Will append to synth tooltip info.

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

uint32: 1

 

ShowTooltipInfo

Enable tool tip window to show parameter information while knob turns

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

float

 

StepSize

The amount to adjust the value by, when using a controller or keyboard

Public variable UProperty Category, EditAnywhere, Meta

float

 

Value

The volume value to display.

Public variable UProperty

FGetFloat

 

ValueDelegate

A bindable delegate to allow logic to drive the value of the widget

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

FSynthKnobStyle

 

WidgetStyle

The synth knob style

Constructors

Name Description

Public function

USynthKnob

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

float

 

GetValue()

Gets the current value of the slider.

Protected function

void

 

HandleOnControllerCaptureBegin()

Protected function

void

 

HandleOnControllerCaptureEnd()

Protected function

void

 

HandleOnMouseCaptureBegin()

Protected function

void

 

HandleOnMouseCaptureEnd()

Protected function

void

 

HandleOnValueChanged

(
    float InValue
)

Protected function

float

 

K2_Gate_Value()

Public function UFunction BlueprintCallable, Category

void

 

SetLocked

(
    bool InValue
)

Sets the handle to be interactive or fixed

Public function UFunction BlueprintCallable, Category

void

 

SetStepSize

(
    float InValue
)

Sets the amount to adjust the value by, when using a controller or keyboard

Public function UFunction BlueprintCallable, Category

void

 

SetValue

(
    float InValue
)

Sets the current value of the slider.

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

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