Navigation
Unreal Engine C++ API Reference > Editor > SequencerCore > MVVM > Views
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- STrackAreaView
References
Module | SequencerCore |
Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/STrackAreaView.h |
Include | #include "MVVM/Views/STrackAreaView.h" |
Syntax
class STrackAreaView : public SPanel
Remarks
The area where tracks( rows of sections ) are displayed.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAllowDrop | Whether the dropped node is allowed to be dropped onto |
![]() |
bool | bIsPinned | Whether this TrackArea is pinned to another TrackArea and should skip updating external controls |
![]() |
bool | bShowPinnedNodes | Whether this TrackArea is for pinned nodes or non-pinned nodes |
![]() |
TOptional< TRange< FFrameNumber > > | DropFrameRange | The frame range of the section about to be dropped |
![]() |
FInputHandlerStack | InputStack | Input handler stack responsible for routing input to the different handlers |
![]() |
FTrackAreaViewLayers | LayerIds | |
![]() |
TOptional< FVector2D > | SizeLastFrame | Keep a hold of the size of the area so we can maintain zoom levels. |
![]() |
TSharedPtr< FTimeToPixel > | TimeToPixel | |
![]() |
TMap< TWeakViewModelPtr< IOutlinerExtension >, TWeakPtr< STrackLane > > | TrackSlots | A map of child slot content that exist in our view. |
![]() |
float | VirtualTop | |
![]() |
TWeakViewModelPtr< IOutlinerExtension > | WeakDroppedItem | Weak pointer to the dropped node |
![]() |
TWeakPtr< SOutlinerView > | WeakOutliner | Weak pointer to the outliner view (used for scrolling interactions). |
![]() |
TWeakPtr< FTrackAreaViewModel > | WeakViewModel | Weak pointer to the track area view model. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddTrackSlot
(
const TViewModelPtr< IOutlinerExtension >& InDataModel, |
Add a new track slot to this area for the given node. |
![]() ![]() |
FLinearColor | BlendDefaultTrackColor
(
FLinearColor InColor |
|
![]() |
void | Construct
(
const FArguments& InArgs, |
Construct this widget |
![]() |
void | Empty () |
Empty the track area |
![]() |
TSharedPtr< STrackLane > | FindTrackSlot
(
const TViewModelPtr< IOutlinerExtension >& InDataModel |
Attempt to find an existing slot relating to the given node |
![]() ![]() |
TWeakPtr< SOutlinerView > | GetOutliner () |
|
![]() ![]() |
const FTrackAreaViewLayers & | ||
![]() ![]() |
TSharedPtr< FTimeToPixel > | ||
![]() ![]() |
TSharedPtr< FTrackAreaViewModel > | GetViewModel () |
|
![]() ![]() |
bool | IsPinned () |
|
![]() ![]() |
void | OnResized
(
const FVector2D& OldSize, |
|
![]() |
void | SetIsPinned
(
bool bInIsPinned |
Set whether this TrackArea is pinned to another TrackArea and should skip updating external controls |
![]() |
void | SetOutliner
(
const TSharedPtr< SOutlinerView >& InOutliner |
Assign a tree view to this track area. |
![]() |
void | SetShowPinned
(
bool bShowPinned |
Set whether this TrackArea should show only pinned nodes or only non-pinned nodes |
![]() |
void | SetVirtualPosition
(
float InVirtualTop |
|
![]() ![]() |
bool | ShowPinned () |
|
![]() ![]() |
void | UpdateHoverStates
(
const FGeometry& MyGeometry, |
Update any hover state required for the track area |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
![]() ![]() |
FChildren * | GetChildren () |
All widgets must provide a way to access their children in a layout-agnostic way. |
![]() ![]() ![]() |
void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
![]() ![]() ![]() |
FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. |
![]() ![]() |
void | OnDragEnter
(
const FGeometry& MyGeometry, |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. |
![]() ![]() |
void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. |
![]() ![]() |
FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. |
![]() ![]() |
FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. |
![]() ![]() |
FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | |
![]() ![]() |
FReply | Called after a key is released when this widget has focus | |
![]() ![]() |
FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
![]() ![]() |
FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. |
![]() ![]() |
void | OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
Called when this widget had captured the mouse, but that capture has been revoked for some reason. |
![]() ![]() |
void | OnMouseEnter
(
const FGeometry& MyGeometry, |
The system will use this event to notify a widget that the cursor has entered it. |
![]() ![]() |
void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
The system will use this event to notify a widget that the cursor has left it. |
![]() ![]() |
FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. |
![]() ![]() |
FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun. This event is bubbled. |
![]() ![]() ![]() |
int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
![]() ![]() ![]() |
bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. | |
![]() ![]() |
void | Ticks this widget with Geometry. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |