SSynth2DSlider::PositionToValue

Calculates the new value based on the given absolute coordinates.

Windows
MacOS
Linux

References

Module

Synthesis

Header

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

Include

#include "UI/SSynth2DSlider.h"

Source

/Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Private/UI/SSynth2DSlider.cpp

Syntax

FVector2D PositionToValue
(
    const FGeometry & MyGeometry,
    const FVector2D & AbsolutePosition
)

Remarks

Calculates the new value based on the given absolute coordinates.

Returns

The new value.

Parameters

Parameter

Description

MyGeometry

The slider's geometry.

AbsolutePosition

The absolute position of the slider.

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