Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
The template tab box offers buttons (working like tabs or radio buttons) for filtering purposes. It is used for emitters and systems to filter between standard assets, templates and behavior examples.
| Name | SNiagaraTemplateTabBox |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SNiagaraFilterBox.h |
| Include Path | #include "Widgets/SNiagaraFilterBox.h" |
Syntax
class SNiagaraTemplateTabBox : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SNiagaraTemplateTabBox
- FSlateControlledConstruction → SWidget → SCompoundWidget → SNiagaraTemplateTabBox
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FNiagaraTemplateTabOptions | The template tab options will tell the tab box which tabs to offer in the form of buttons. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnTabActivated | TBaseDelegate_OneParam< void, ENiagaraScriptTemplateSpecification Tab > | Widgets/SNiagaraFilterBox.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CachedActiveTab | TOptional< ENiagaraScriptTemplateSpecification > | Widgets/SNiagaraFilterBox.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveTab | TOptional< ENiagaraScriptTemplateSpecification > | Widgets/SNiagaraFilterBox.h | ||
| bUseActiveTab | bool | BUseActiveTab is required due to tab options not specifically needing to have any tab state set to true. | Widgets/SNiagaraFilterBox.h | |
| Class | TWeakObjectPtr< UClass > | Widgets/SNiagaraFilterBox.h | ||
| OnTabActivatedDelegate | FOnTabActivated | Widgets/SNiagaraFilterBox.h | ||
| TabContainer | TSharedPtr< SSegmentedControl< ENiagaraScriptTemplateSpecification > > | Widgets/SNiagaraFilterBox.h | ||
| TabOptions | FNiagaraTemplateTabOptions | Widgets/SNiagaraFilterBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Widgets/SNiagaraFilterBox.h | ||
| Widgets/SNiagaraFilterBox.h | |||
bool GetActiveTab
(
ENiagaraScriptTemplateSpecification& OutTemplateSpecification |
If true, will set the parameter to the currently active tab. | Widgets/SNiagaraFilterBox.h |