MovieSceneToolHelpers::MakeEnumComboBox

Generate a combobox for editing enum values

Windows
MacOS
Linux

References

Module

MovieSceneTools

Header

/Engine/Source/Editor/MovieSceneTools/Public/MovieSceneToolHelpers.h

Include

#include "MovieSceneToolHelpers.h"

Source

/Engine/Source/Editor/MovieSceneTools/Private/MovieSceneToolHelpers.cpp

Syntax

static TSharedRef< SWidget > MakeEnumComboBox
(
    const UEnum * Enum,
    TAttribute< int32 > CurrentValue,
    SEnumComboBox::FOnEnumSelectionChanged OnSelectionChanged
)

Remarks

Generate a combobox for editing enum values

Returns

The new widget

Parameters

Parameter

Description

Enum

The enum to make the combobox from

CurrentValue

The current value to display

OnSelectionChanged

Delegate fired when selection is changed

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