Navigation
API > API/Editor > API/Editor/SequencerCore
Utility for converting time units to slate pixel units and vice versa
| Name | FTimeToPixelSpace |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/TimeToPixel.h |
| Include Path | #include "TimeToPixel.h" |
Syntax
struct FTimeToPixelSpace
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TimeToPixel.h | |||
FTimeToPixelSpace
(
const FGeometry& AllottedGeometry, |
TimeToPixel.h | ||
FTimeToPixelSpace
(
float WidthPx, |
TimeToPixel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NonLinearTransform | TSharedPtr< INonLinearTimeTransform > | TimeToPixel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTimeToPixelSpace CreateNonLinear
(
TSharedPtr< INonLinearTimeTransform > InNonLinearTransform |
TimeToPixel.h | ||
float FrameDeltaToPixel
(
const FFrameTime& TimeDelta |
Converts a frame delta value to pixel delta | TimeToPixel.h | |
float FrameToPixel
(
const FFrameTime& Time |
Converts a frame time to a pixel point relative to the geometry of a widget (passed into the constructor) | TimeToPixel.h | |
FFrameRate GetTickResolution() |
Retrieve the tick resolution of the current sequence | TimeToPixel.h | |
FFrameTime PixelDeltaToFrame
(
float PixelDelta |
Converts a pixel delta value to delta frame time | TimeToPixel.h | |
double PixelDeltaToSeconds
(
float PixelDelta |
Converts a pixel delta value to delta seconds time | TimeToPixel.h | |
FFrameTime PixelToFrame
(
float PixelX |
Converts a pixel value to frame time | TimeToPixel.h | |
double PixelToSeconds
(
float PixelX |
Converts a pixel value to time | TimeToPixel.h | |
FTimeToPixelSpace RelativeTo
(
const FFrameTime& FrameZero |
Make this converter relative to the specified time (ie, such that pixel 0 == FrameAmount) | TimeToPixel.h | |
float SecondsDeltaToPixel
(
double TimeDelta |
Converts a time delta to a pixel delta | TimeToPixel.h | |
float SecondsToPixel
(
double Time |
Converts a time to a pixel point relative to the geometry of a widget (passed into the constructor) | TimeToPixel.h |