FCarouselDisplayItem::SetSliderOptimalPostion

Set the optimal slide position. The widget will go to this position when in view.

Choose your operating system:

Windows

macOS

Linux

References

Module

WidgetCarousel

Header

/Engine/Source/Runtime/WidgetCarousel/Public/SWidgetCarousel.h

Include

#include "SWidgetCarousel.h"

Syntax

void SetSliderOptimalPostion
(
    float DesiredOptimalSlideValue
)

Remarks

Set the optimal slide position. The widget will go to this position when in view.

Parameters

Parameter

Description

DesiredOptimalSlideValue

the desired optimal position.