Navigation
API > API/Plugins > API/Plugins/UserToolBoxCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UUserToolBoxBaseTab
References
| Module | UserToolBoxCore |
| Header | /Engine/Plugins/Experimental/UserToolBoxCore/Source/UserToolBoxCore/Public/UTBBaseTab.h |
| Include | #include "UTBBaseTab.h" |
Syntax
UCLASS&40;&41;
class UUserToolBoxBaseTab : public UDataAsset
Remarks
UUserToolBoxBaseTab is the class that represent a configurable tab This class contains the name of the tab and a section's list. In that class, you can also specified an UTBUICommand to override "by default" the UI of each command. Note: The override define in the command override the UI override define in the tab. This is the class serialized as an asset.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsVisibleInDrawer | ||
| bool | bIsVisibleInViewportOverlay | ||
| bool | bIsVisibleInWindowsMenu | ||
| TObjectPtr< UClass > | DefaultCommandUIOverride | The default override for each command ( does not override ui command specified in the command) | |
| bool | IsSettingShouldBeVisible | Should the setting's icon be visible on the top right of the tab ( for easy access) | |
| FString | Name | The name of the toolbox | |
| TSubclassOf< UUTBDefaultUITemplate > | TabUI | The UI template to use to render this tab |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsCommand
(
const UUTBBaseCommand* Command |
Return the presence of the command in the tab | |
| TSharedPtr< SWidget > | GenerateUI
(
const TSubclassOf< UUTBDefaultUITemplate > TabUiClass, |
Function to generate the raw widget of the tab. | |
| TSharedPtr< SWidget > | GenerateUI () |
Function to generate the raw widget of the tab. | |
| UUTBTabSection * | GetOrCreateSection
(
const FString SectionName |
Return the section with the specified name or create it if it does not exist | |
| UUTBTabSection * | Return the placeholder section | ||
| UUTBTabSection * | GetSection
(
const FString SectionName |
Return the section with the specified name | |
| TArray< UUTBTabSection * > | GetSections () |
Get all the section of that tab | |
| void | InsertCommand
(
const UUTBBaseCommand* InCommand, |
Insert a command at a specific location in a specific section | |
| void | InsertCommandFromClass
(
const TSubclassOf< UUTBBaseCommand > InClass, |
Insert a default command from the class at a specific location in a specific section | |
| void | MoveSectionAfterExistingSection
(
const FString SectionToMoveName, |
||
| void | Registering the command list | ||
| void | RemoveCommand
(
UUTBBaseCommand* Command |
Remove a command | |
| void | RemoveCommand
(
const FString SectionName, |
Remove a command at a specific location in a specific section | |
| void | RemoveCommandFromSection
(
UUTBBaseCommand* Command, |
Remove a command contained in a specific section | |
| void | |||
| void | RemoveSection
(
UUTBTabSection* Section |
Remove a section | |
| void | RemoveSection
(
const FString SectionName |
Remove a section with a specific name | |
| void | ReplaceCommands
(
const TMap< UObject*, UObject* >& ReplacementMap |
Replace a batch of command | |
| void | Unregistering the command list |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Constants
| Name | Description |
|---|---|
| PlaceHolderSectionName |