Navigation
API > API/Editor > API/Editor/SequencerCore
Structure used for handling the virtual space of the track area
| Name | FVirtualTrackArea |
| Type | class |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/VirtualTrackArea.h |
| Include Path | #include "MVVM/ViewModels/VirtualTrackArea.h" |
Syntax
class FVirtualTrackArea : public FTimeToPixel
Inheritance Hierarchy
- FTimeToPixelSpace → FTimeToPixel → FVirtualTrackArea
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVirtualTrackArea
(
const FTrackAreaViewModel& InTrackArea, |
Construction responsibility is delegated to SSequencer. See SSequencer::GetVirtualTrackArea | MVVM/ViewModels/VirtualTrackArea.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TrackAreaGeometry | FGeometry | Cached physical geometry of the track area | MVVM/ViewModels/VirtualTrackArea.h | |
| TreeView | SOutlinerView & | Reference to the sequencer tree | MVVM/ViewModels/VirtualTrackArea.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometry CachedTrackAreaGeometry() |
Cached track area geometry | MVVM/ViewModels/VirtualTrackArea.h | |
FVector2D GetPhysicalSize() |
Get the physical size of the track area | MVVM/ViewModels/VirtualTrackArea.h | |
TSharedPtr< FViewModel > HitTestNode
(
float InPhysicalPosition |
Hit test at the specified physical position for a sequencer node | MVVM/ViewModels/VirtualTrackArea.h | |
FVector2D PhysicalToVirtual
(
FVector2D InPosition |
Convert the specified physical point into a virtual point the absolute top of the tree | MVVM/ViewModels/VirtualTrackArea.h | |
float PixelToVerticalOffset
(
float InPixel |
Convert the specified pixel position into a virtual vertical offset from the absolute top of the tree | MVVM/ViewModels/VirtualTrackArea.h | |
float VerticalOffsetToPixel
(
float InOffset |
Convert the specified absolute vertical position into a physical vertical offset in the track area. | MVVM/ViewModels/VirtualTrackArea.h | |
FVector2D VirtualToPhysical
(
FVector2D InPosition |
Convert the specified absolute virtual point into a physical point in the track area. | MVVM/ViewModels/VirtualTrackArea.h |