FScrubRangeToScreen

Utility struct for converting between scrub range space and local/absolute screen space

Unreal Engine C++ API Reference > Developer > ToolWidgets > SSimpleTimeSlider

References

   
Module ToolWidgets
Header /Engine/Source/Developer/ToolWidgets/Public/SSimpleTimeSlider.h
Include #include "SSimpleTimeSlider.h"

Syntax

struct FScrubRangeToScreen  

Remarks

Utility struct for converting between scrub range space and local/absolute screen space

Variables

Type Name Description
float PixelsPerInput  
TRange< double ... ViewInput  
float ViewInputRange  
FVector2D WidgetSize  

Constructors

Type Name Description
  FScrubRangeToScreen ( TRange< double > InViewInput, const FVector2D& InWidgetSize )  

Functions

Type Name Description
float InputToLocalX ( float Input ) Curve Input domain -> local Widget Space
float LocalXToInput ( float ScreenX ) Local Widget Space -> Curve Input domain.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library