SGameplayTagWidget

Widget allowing user to tag assets with gameplay tags

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameplayTagsEditor

Header

/Engine/Plugins/Editor/GameplayTagsEditor/Source/GameplayTagsEditor/Public/SGameplayTagWidget.h

Include

#include "SGameplayTagWidget.h"

Syntax

class SGameplayTagWidget : public SCompoundWidget

Remarks

Widget allowing user to tag assets with gameplay tags

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    const TArray< FEditableGameplayTagC...
)

Construct the actual widget

Public function

bool

 

FilterChildrenCheck

Returns true if this TagNode has any children that match the current filter

Public function

TSharedPtr< ...

 

GetWidgetToFocusOnOpen()

Gets the widget to focus once the menu opens.

Public function Const

bool

 

IsAddingNewTag()

Returns true if we're currently adding a new tag to an INI file

Public function

void

 

OnFilterTextChanged

(
    const FText& InFilterText
)

Updates the tag list when the filter text changes

Public function

void

 

RefreshOnNextTick()

Forces the widget to refresh its tags on the next tick

Public function

void

 

RefreshTags()

Refreshes the tags that should be displayed by the widget

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float LayoutScaleMultiplier
)

Ensures that this widget will always account for the MaxHeight if it's specified

Public function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks this widget with Geometry.

Classes

Name

Description

Public struct

FArguments

Public struct

FEditableGameplayTagContainerDatum

Simple struct holding a tag container and its owner for generic re-use of the widget

Typedefs

Name

Description

FOnTagChanged

Called when a tag status is changed

Constants

Name

Description

SettingsIniSection

String that sets the section of the ini file to use for this class

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss