Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/MVVM > API/Editor/SequencerCore/MVVM/ViewModels
Inheritance Hierarchy
- ICastable
- TSharedFromThis
- FDynamicExtensionContainer
- FViewModel
- FTrackAreaViewModel
- FSequencerTrackAreaViewModel
References
| Module | SequencerCore |
| Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/TrackAreaViewModel.h |
| Include | #include "MVVM/ViewModels/TrackAreaViewModel.h" |
Syntax
class FTrackAreaViewModel : public UE::Sequencer::FViewModel
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAutoRegisterTypeTable | AutoRegisterTypeTable | ||
| bool | bEditToolLocked | When true, prevents any other edit tool being activated by way of CanActivateEditTool always returning true | |
| bool | bHotspotLocked | When true, prevents any other hotspot being activated | |
| TSharedPtr< ISequencerEditTool > | EditTool | The currently active edit tool on this track area | |
| TArray< TSharedPtr< ISequencerEditTool > > | EditTools | The currently active edit tools on this track area | |
| TArray< TSharedPtr< ITrackAreaHotspot > > | HotspotStack | The current hotspot that can be set from anywhere to initiate drags | |
| static::UE::Sequencer::TAutoRegisterViewModelTypeID< FTrackAreaViewModel > | ID | ||
| FOnTrackAreaHotspotChanged | OnHotspotChangedDelegate | The delegate that is fired when the current hotspot changes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddEditTool
(
TSharedPtr< ISequencerEditTool > InNewTool |
||
| void | AddHotspot
(
TSharedPtr< ITrackAreaHotspot > NewHotspot |
||
| bool | AttemptToActivateTool
(
FName Identifier |
||
| bool | CanActivateEditTool
(
FName Identifier |
Check whether it's possible to activate the specified tool | |
| void | |||
| TSharedPtr< FEditorViewModel > | GetEditor () |
Get the editor view-model provided by the creation context | |
| ISequencerEditTool * | GetEditTool () |
Access the currently active track area edit tool | |
| TSharedPtr< ITrackAreaHotspot > | GetHotspot () |
Get the current active hotspot | |
| FOnTrackAreaHotspotChanged & | Get the callback that is fired when the current hotspot changes | ||
| FFrameRate | Gets the current tick resolution of the editor | ||
| FTimeToPixel | GetTimeToPixel
(
float TrackAreaWidth |
Create a time/pixel converter for the given geometry | |
| TRange< double > | GetViewRange () |
Gets the current view range of this track area | |
| void | LockEditTool () |
||
| void | LockHotspot
(
bool bIsLocked |
Set whether the hotspot is locked and cannot be changed (ie when a menu is open) | |
| void | |||
| void | RemoveHotspot
(
FViewModelTypeID Type |
||
| void | SetHotspot
(
TSharedPtr< ITrackAreaHotspot > NewHotspot |
Set the hotspot to something else | |
| void |
Typedefs
| Name | Description |
|---|---|
| Implements |