Navigation
API > API/Plugins > API/Plugins/SequenceNavigator
An Navigation Tool Item is the class that represents a single element (i.e. node) in the Navigation Tool tree. This can be an item that represents an object (e.g. actor, component) or a folder, or something else.
| Name | INavigationToolItem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/SequenceNavigator/Source/SequenceNavigator/Public/Items/INavigationToolItem.h |
| Include Path | #include "Items/INavigationToolItem.h" |
Syntax
class INavigationToolItem
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~INavigationToolItem() |
Items/INavigationToolItem.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnExpansionChanged | TMulticastDelegate_TwoParams< void, const TSharedPtr< INavigationToolView > &, bool > | Items/INavigationToolItem.h | |
| FOnRenameAction | TMulticastDelegate_TwoParams< void, ENavigationToolRenameAction, const TSharedPtr< INavigationToolView > & > | Items/INavigationToolItem.h | |
| IndexType | TArray< INavigationToolItem >::SizeType | Items/INavigationToolItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ID | ::UE::Sequencer::TAutoRegisterViewModelTypeID< INavigationToolItem > | Items/INavigationToolItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReply AcceptDrop
(
const FDragDropEvent& InDragDropEvent, |
Processes the Drag and Drop Event for this Item | Items/INavigationToolItem.h | |
bool AddChild
(
const FNavigationToolAddItemParams& InAddItemParams |
Adds another Child under this Item if such Item is supported. | Items/INavigationToolItem.h | |
void AddFlags
(
const ENavigationToolItemFlags InFlag |
Items/INavigationToolItem.h | ||
TOptional< EItemDropZone > CanAcceptDrop
(
const FDragDropEvent& InDragDropEvent, |
Returns the item's height in the tree. | Items/INavigationToolItem.h | |
bool CanAddChild
(
const FNavigationToolViewModelPtr& InChild |
Determines whether the given Child is supported and can be added under this Item | Items/INavigationToolItem.h | |
bool CanAutoExpand() |
Delegate signature for when the Item Expansion Changes const TSharedPtr |
Items/INavigationToolItem.h | |
bool CanBeTopLevel () |
Whether this item can be at the Top Level just beneath the Root, or it needs to always be under some other item E.g. | Items/INavigationToolItem.h | |
bool CanDelete() |
Whether this Item can be deleted or not | Items/INavigationToolItem.h | |
bool CanReceiveParentVisibilityPropagation() |
Whether a change in Parent Visibility should also affect this Item's Visibility | Items/INavigationToolItem.h | |
bool Delete() |
The implementation to delete the item | Items/INavigationToolItem.h | |
void FindChildren
(
TArray< FNavigationToolViewModelWeakPtr >& OutWeakChildren, |
Finds this items children. | Items/INavigationToolItem.h | |
| Tries to find the first path of descendants (not including self) that lead to a given item in the set. | Items/INavigationToolItem.h | ||
void FindValidChildren
(
TArray< FNavigationToolViewModelWeakPtr >& OutWeakChildren, |
Items/INavigationToolItem.h | ||
TSharedRef< SWidget > GenerateLabelWidget
(
const TSharedRef< SNavigationToolTreeRow >& InRow |
Function responsible of Generating the Label Widget for this Item (i.e. the column containing the Icon and the Name) | Items/INavigationToolItem.h | |
FNavigationToolViewModelWeakPtr GetChildAt
(
const IndexType InIndex |
Gets the Child Item at the given Index. | Items/INavigationToolItem.h | |
IndexType GetChildIndex
(
const FNavigationToolViewModelWeakPtr& InWeakChildItem |
Gets the Index that the given Child Item is at. | Items/INavigationToolItem.h | |
const TArray< FNavigationToolViewModelWeakPtr > & GetChildren() |
Gets the current Child Items of this item | Items/INavigationToolItem.h | |
TArray< FNavigationToolViewModelWeakPtr > & GetChildrenMutable() |
Gets the current Child Items of this Item | Items/INavigationToolItem.h | |
FText GetClassName() |
Gets the Class/Type of this Item (e.g. for Items that represent UObjects, it will be the UObject class) | Items/INavigationToolItem.h | |
virtual const FSlateBrush * GetDefaultIconBrush() |
Items/INavigationToolItem.h | ||
FText GetDisplayName() |
Gets the display name text of the item | Items/INavigationToolItem.h | |
ENavigationToolItemFlags GetFlags() |
Items/INavigationToolItem.h | ||
FString GetFullPath() |
Returns the path to this item in the tree. Ex. "RootId,ChildId,ChildId" | Items/INavigationToolItem.h | |
FSlateIcon GetIcon() |
Gets the slate icon for the item | Items/INavigationToolItem.h | |
const FSlateBrush * GetIconBrush() |
Items/INavigationToolItem.h | ||
FSlateColor GetIconColor() |
Gets the color for the item icon | Items/INavigationToolItem.h | |
FText GetIconTooltipText() |
Gets the tooltip text for the item icon | Items/INavigationToolItem.h | |
FNavigationToolItemId GetItemId() |
Gets the Id of this item | Items/INavigationToolItem.h | |
FSlateColor GetItemLabelColor() |
Gets the color to use for the item label | Items/INavigationToolItem.h | |
virtual UObject * GetItemObject () |
Gets the UObject that this item represents. | Items/INavigationToolItem.h | |
virtual void GetItemProxies
(
TArray< TSharedPtr< FNavigationToolItemProxy > >& OutItemProxies |
Gets the Item Proxies for this Item (e.g. Component Item that represent Primitives add in a Material Proxy to display) | Items/INavigationToolItem.h | |
FLinearColor GetItemTintColor() |
Gets the color to use to tint the entire item row (all column content) | Items/INavigationToolItem.h | |
INavigationTool & GetOwnerTool() |
Gets the Navigation Tool that owns this item | Items/INavigationToolItem.h | |
FNavigationToolViewModelPtr GetParent () |
Gets the Parent of this item. | Items/INavigationToolItem.h | |
TSet< FNavigationToolViewModelPtr > GetParents
(
const bool bInIncludeRoot |
Gets the list of all parents up the tree from this Item | Items/INavigationToolItem.h | |
TSharedPtr< FNavigationToolProvider > GetProvider() |
Gets the module provider responsible for the creation of this item | Items/INavigationToolItem.h | |
FNavigationToolSaveState * GetProviderSaveState() |
Gets the providers saved state | Items/INavigationToolItem.h | |
ENavigationToolItemViewMode GetSupportedViewModes
(
const INavigationToolView& InToolView |
Gets the View Modes that this Item Supports | Items/INavigationToolItem.h | |
| Gets the Tags found for this item (e.g. for Actors, actor tags and for Components, component tags) | Items/INavigationToolItem.h | ||
bool GetVisibility() |
Whether this Item is currently visible or not for the Given Type | Items/INavigationToolItem.h | |
bool HasAllFlags
(
const ENavigationToolItemFlags InFlag |
Items/INavigationToolItem.h | ||
bool HasAnyFlags
(
const ENavigationToolItemFlags InFlag |
Items/INavigationToolItem.h | ||
bool IsAllowedInTool() |
Returns whether this item (and what it represents) should be allowed to be registered in Navigation Tool | Items/INavigationToolItem.h | |
bool IsExpanded() |
Gets whether this item is expanded | Items/INavigationToolItem.h | |
bool IsIgnoringPendingKill () |
Whether Ignoring Pending Kill. | Items/INavigationToolItem.h | |
bool IsItemValid() |
Determines whether the Item properties are in a valid state | Items/INavigationToolItem.h | |
virtual bool IsSelectable() |
Whether the Item can be selected in Navigation Tool at all | Items/INavigationToolItem.h | |
virtual bool IsSelected
(
const FNavigationToolScopedSelection& InSelection |
Determines whether the given Item is selected in the given Scoped Selection | Items/INavigationToolItem.h | |
bool IsViewModeSupported
(
const ENavigationToolItemViewMode InViewMode, |
Whether this Item should be visualized in the given View Mode, for the given Navigation Tool View | Items/INavigationToolItem.h | |
FNavigationToolSerializedItem MakeSerializedItem() |
Converts this Navigation Tool item to a serialized item that can be saved in the sequence | Items/INavigationToolItem.h | |
virtual void OnDoubleClick() |
Called when an Item is double-clicked with the mouse | Items/INavigationToolItem.h | |
FOnExpansionChanged & OnExpansionChanged() |
Items/INavigationToolItem.h | ||
virtual void OnItemRegistered() |
Called when the Item has been registered into the Navigation Tool | Items/INavigationToolItem.h | |
virtual void OnItemSelectionChanged
(
const bool bInIsSelected |
Called when the Item been selected/deselected from the Tree View | Items/INavigationToolItem.h | |
virtual void OnItemUnregistered() |
Called when the Item has been unregistered from the Navigation Tool | Items/INavigationToolItem.h | |
virtual void OnObjectsReplaced
(
const TMap< UObject*, UObject* >& InReplacementMap, |
Called when objects have been replaced on the Engine side. | Items/INavigationToolItem.h | |
FOnRenameAction & OnRenameAction() |
Items/INavigationToolItem.h | ||
virtual void OnSelect() |
Called when an Item is selected | Items/INavigationToolItem.h | |
virtual void OnVisibilityChanged
(
const bool bInNewVisibility |
Called when the Visibility on Item has been changed on the Navigation Tool side | Items/INavigationToolItem.h | |
void RefreshChildren() |
Refreshes what the Parent and Children are of this Item. (not recursive!) | Items/INavigationToolItem.h | |
bool RemoveChild
(
const FNavigationToolRemoveItemParams& InRemoveItemParams |
Removes the given child from this Item if it was ever indeed a child. | Items/INavigationToolItem.h | |
void RemoveFlags
(
const ENavigationToolItemFlags InFlag |
Items/INavigationToolItem.h | ||
void ResetChildren() |
Resets both the cached visible children and children (before doing so, sets all child's parents to null) | Items/INavigationToolItem.h | |
virtual void Select
(
FNavigationToolScopedSelection& InSelection |
Used to signal the Scoped Selection that this Item should be Selected | Items/INavigationToolItem.h | |
void SetExpansion
(
const bool bInIsExpanded |
Sets the expansion state of this item | Items/INavigationToolItem.h | |
void SetFlags
(
const ENavigationToolItemFlags InFlags |
Items/INavigationToolItem.h | ||
void SetParent
(
FNavigationToolViewModelPtr InParent |
Sets the parent. Note that the parent must've already had this instance as a child (check is done) | Items/INavigationToolItem.h | |
bool ShouldSort () |
Determines whether this item can be sorted by the Navigation Tool or not. | Items/INavigationToolItem.h | |
bool ShowVisibility() |
Whether this Item supports Visibility for the Given Type | Items/INavigationToolItem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void RegisterTypeID() |
Items/INavigationToolItem.h |