29 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category =
"Scroll", meta = (AllowPrivateAccess =
"true", DisplayAfter =
"bAnimateWheelScrolling"))
30 float ScrollAnimationInterpolationSpeed = 15.f;
33 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter=
"GetIsTouchScrollingEnabled", Setter=
"SetIsTouchScrollingEnabled", Category =
"Scroll", meta = (AllowPrivateAccess =
"true", DisplayAfter =
"WheelScrollMultiplier"))
34 bool bEnableTouchScrolling =
true;
37 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter =
"GetConsumePointerInput", Setter =
"SetConsumePointerInput", Category =
"Scroll", meta = (AllowPrivateAccess =
"true", DisplayAfter =
"bEnableTouchScrolling"))
38 bool bConsumePointerInput =
true;
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter =
"GetAnalogMouseWheelKey", Setter =
"SetAnalogMouseWheelKey", Category =
"Scroll", meta = (AllowPrivateAccess =
"true", DisplayAfter =
"bConsumePointerInput"))
42 FKey AnalogMouseWheelKey;
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter =
"GetIsFocusable", Setter =
"SetIsFocusable", Category =
"Scroll", meta = (AllowPrivateAccess =
"true", DisplayAfter =
"AnalogMouseWheelKey"))
50 UE_DEPRECATED(5.2,
"Direct access to WidgetStyle is deprecated. Please use the getter or setter.")
52 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category=
"Style", meta=( DisplayName=
"Style" ))
57 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category="Style", meta=( DisplayName="Bar Style" ))
62 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetOrientation", Category="
Scroll")
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetScrollBarVisibility", Category="
Scroll")
72 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetConsumeMouseWheel", Category = "
Scroll")
77 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetScrollbarThickness", Category="
Scroll")
82 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetScrollbarPadding", Category = "
Scroll")
87 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter = "IsAlwaysShowScrollbar", Setter, BlueprintSetter = "SetAlwaysShowScrollbar", Category = "
Scroll")
88 bool AlwaysShowScrollbar;
92 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter = "IsAlwaysShowScrollbarTrack", Setter, Category = "
Scroll")
93 bool AlwaysShowScrollbarTrack;
97 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter = "IsAllowOverscroll", Setter, BlueprintSetter = "SetAllowOverscroll", Category = "
Scroll")
102 UPROPERTY(EditAnywhere, BlueprintReadOnly, Getter = "IsBackPadScrolling", Category = "
Scroll")
103 bool BackPadScrolling;
107 UPROPERTY(EditAnywhere, BlueprintReadOnly, Getter = "IsFrontPadScrolling", Category = "
Scroll")
108 bool FrontPadScrolling;
112 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter = "IsAnimateWheelScrolling", Setter = "SetAnimateWheelScrolling", BlueprintSetter = "SetAnimateWheelScrolling", Category = "
Scroll")
113 bool bAnimateWheelScrolling =
false;
117 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetNavigationDestination", Getter, Setter, Category = "
Scroll")
126 float NavigationScrollPadding;
130 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetScrollWhenFocusChanges", Category="
Scroll", meta=(DisplayName="
Scroll When
Focus Changes"))
133 UE_DEPRECATED(5.2, "
Direct access to bAllowRightClickDragScrolling is deprecated. Please use the
getter or
setter.")
135 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter = "IsAllowRightClickDragScrolling", Setter = "SetAllowRightClickDragScrolling", Category = "
Scroll")
136 bool bAllowRightClickDragScrolling;
140 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter = "SetWheelScrollMultiplier", Category = "
Scroll")
141 float WheelScrollMultiplier = 1.f;
179 UMG_API bool IsAlwaysShowScrollbar() const;
184 UMG_API bool IsAllowOverscroll() const;
189 UMG_API bool IsAnimateWheelScrolling() const;
194 UMG_API float GetScrollAnimationInterpolationSpeed() const;
199 UMG_API float GetWheelScrollMultiplier() const;
204 UMG_API bool GetIsTouchScrollingEnabled() const;
207 UMG_API bool GetConsumePointerInput() const;
224 UMG_API bool IsAlwaysShowScrollbarTrack() const;
226 UMG_API float GetNavigationScrollPadding() const;
230 UMG_API bool IsAllowRightClickDragScrolling() const;
232 UMG_API bool IsFrontPadScrolling() const;
234 UMG_API bool IsBackPadScrolling() const;
238 UMG_API void EndInertialScrolling();
247 UMG_API bool GetIsFocusable() const;
275 UMG_API void SetScrollOffset(
float NewScrollOffset);
281 UMG_API float GetScrollOffset() const;
287 UMG_API float GetOverscrollOffset() const;
292 UMG_API float GetOverscrollPercentage() const;
296 UMG_API float GetScrollOffsetOfEnd() const;
300 UMG_API float GetViewFraction() const;
303 UMG_API float GetViewOffsetFraction() const;
319 UMG_API bool GetIsScrolling() const;
330#if WITH_EDITORONLY_DATA
351 UMG_API void SlateHandleUserScrolled(
float CurrentOffset);
355 UMG_API void SlateHandleFocusReceived();
357 UMG_API void SlateHandleFocusLost();