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