Navigation
Unreal Engine C++ API Reference > Plugins > DMXEditor > Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SAssetPickerButton
References
Module | DMXEditor |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Public/Widgets/SAssetPickerButton.h |
Include | #include "Widgets/SAssetPickerButton.h" |
Syntax
class SAssetPickerButton : public SCompoundWidget
Remarks
A widget which allows the user to pick a name of a specified list of names.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FTopLevelAssetPath > | AllowedClasses | Allows more than a single class. Overrides AssetClass |
![]() |
TWeakObjectPtr< UClass > | AssetClass | The class to filter the list of assets in the picker menu |
![]() |
TSharedPtr< class SMenuAnchor > | AssetPickerAnchor | Menu anchor for opening and closing the asset picker |
![]() |
TSharedPtr< SButton > | BrowseButton | |
![]() |
FAssetData | CachedAssetData | Cached AssetData of object selected |
![]() |
TAttribute< TWeakObjectPtr< UObject > > | CurrentAssetValue | The current asset selected, to display its name |
![]() |
TArray< FTopLevelAssetPath > | DisallowedClasses | Disallows subclasses from the allowed asset class(es) |
![]() |
FOnAssetSelected | OnAssetSelected | Broadcast when a new asset is selected |
![]() |
FOnParentIsHovered | OnParentIsHovered | Broadcast when defining hovered state, to use the parent interact able area |
![]() |
TSharedPtr< SButton > | UseButton | Object manipulator buttons. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | Allow self pin widget | |
![]() |
void | Construct
(
const FArguments& InArgs |
|
![]() ![]() |
TSharedRef< SWidget > | Generate asset picker window | |
![]() ![]() ![]() |
const FAssetData & | GetAssetData () |
Returns asset data of currently selected object, if bRuntimePath is true this will include _C for blueprint classes, for false it will point to UBlueprint instead |
![]() ![]() ![]() |
FText | Get default text for the picker combo | |
![]() ![]() |
bool | Returns whether the parent widget is hovered to use it's area for hovered state | |
![]() ![]() |
FText | Get text tooltip for object | |
![]() |
void | OnAssetEnterPressedInPicker
(
const TArray< FAssetData >& InSelectedAssets |
Called when enter is pressed when items are selected in the picker window |
![]() ![]() |
void | OnAssetSelectedFromPicker
(
const FAssetData& AssetData |
Called to validate selection from picker window |
![]() ![]() |
FReply | Clicked Browse button | |
![]() ![]() |
FReply | OnClickUse () |
Clicked Use button |
![]() ![]() |
FSlateColor | Combo Button Color and Opacity delegate | |
![]() ![]() |
FText | Used to update the combo button text | |
![]() ![]() |
FSlateColor | Button Color and Opacity delegate | |
![]() ![]() |
FSlateColor | Button Color and Opacity delegate |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |