Navigation
API > API/Editor > API/Editor/SequencerCore
A wrapper widget responsible for positioning a track lane within the section area
| Name | STrackLane |
| Type | class |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/STrackLane.h |
| Include Path | #include "MVVM/Views/STrackLane.h" |
Syntax
class STrackLane : public SPanel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → STrackLane
- FSlateControlledConstruction → SWidget → SPanel → STrackLane
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
STrackLane() |
MVVM/Views/STrackLane.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~STrackLane() |
MVVM/Views/STrackLane.h |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FDragParameters | |
| FSlot |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWidgetsDirty | bool | MVVM/Views/STrackLane.h | ||
| Children | TPanelChildren< FSlot > | All the widgets in the panel | MVVM/Views/STrackLane.h | |
| DragParameters | TOptional< FDragParameters > | MVVM/Views/STrackLane.h | ||
| LastDesiredSize | TOptional< FVector2D > | Our desired size last frame | MVVM/Views/STrackLane.h | |
| ParentLane | TSharedPtr< STrackLane > | Parent track lane - intentionally a strong ptr to the parent in order to keep it alive even if it is scrolled out of view | MVVM/Views/STrackLane.h | |
| Position | float | MVVM/Views/STrackLane.h | ||
| TimeToPixel | TSharedPtr< FTimeToPixel > | MVVM/Views/STrackLane.h | ||
| TrackParams | FTrackAreaParameters | MVVM/Views/STrackLane.h | ||
| TreeView | TWeakPtr< SOutlinerView > | Pointer back to the tree view for virtual <-> physical space conversions. | MVVM/Views/STrackLane.h | |
| WeakChildLanes | TArray< TWeakPtr< STrackLane > > | MVVM/Views/STrackLane.h | ||
| WeakOutlinerItem | TWeakViewModelPtr< IOutlinerExtension > | The outliner item that created this lane | MVVM/Views/STrackLane.h | |
| WeakTrackAreaView | TWeakPtr< STrackAreaView > | MVVM/Views/STrackLane.h | ||
| WidgetsByModel | TMap< FWeakViewModelPtr, TSharedPtr< ITrackLaneWidget > > | MVVM/Views/STrackLane.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct this widget | MVVM/Views/STrackLane.h | |
TSharedPtr< ITrackLaneWidget > FindWidgetForModel
(
const FWeakViewModelPtr& InModel |
MVVM/Views/STrackLane.h | ||
const TMap< FWeakViewModelPtr, TSharedPtr< ITrackLaneWidget > > & GetAllWidgets() |
MVVM/Views/STrackLane.h | ||
TArrayView< const TWeakPtr< STrackLane > > GetChildLanes() |
MVVM/Views/STrackLane.h | ||
TViewModelPtr< IOutlinerExtension > GetOutlinerItem() |
Gets the outliner view-model that created this track lane | MVVM/Views/STrackLane.h | |
TSharedPtr< STrackLane > GetParentLane() |
MVVM/Views/STrackLane.h | ||
TSharedPtr< FTimeToPixel > GetTimeToPixel() |
MVVM/Views/STrackLane.h | ||
TSharedPtr< STrackAreaView > GetTrackAreaView() |
MVVM/Views/STrackLane.h | ||
float GetVerticalPosition() |
Gets the vertical offset of this track lane | MVVM/Views/STrackLane.h | |
bool IsPinned() |
Returns whether the outliner item that created this track lane is pinned or not | MVVM/Views/STrackLane.h | |
void PositionParentTrackLanes
(
TViewModelPtr< IOutlinerExtension > InItem, |
Sets the vertical offset of this track lane and all parent track lanes given the vertical offset of a particular outliner item inside the current track lane (i.e. an outliner item that's a child of the item that created this track lane) Note that the given item could actually be the one that created this track lane. | MVVM/Views/STrackLane.h | |
void SetVerticalPosition
(
float InPosition |
Sets the vertical offset of this track lane | MVVM/Views/STrackLane.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
MVVM/Views/STrackLane.h | ||
virtual FChildren * GetChildren() |
MVVM/Views/STrackLane.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
MVVM/Views/STrackLane.h | ||
virtual FCursorReply OnCursorQuery
(
const FGeometry& MyGeometry, |
MVVM/Views/STrackLane.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MVVM/Views/STrackLane.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
MVVM/Views/STrackLane.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
MVVM/Views/STrackLane.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
MVVM/Views/STrackLane.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
MVVM/Views/STrackLane.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnHierarchyUpdated() |
MVVM/Views/STrackLane.h | ||
int32 PaintLaneForeground
(
const FGeometry& AllottedGeometry, |
MVVM/Views/STrackLane.h | ||
void RecreateWidgets() |
MVVM/Views/STrackLane.h |