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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback