Navigation
API > API/Plugins > API/Plugins/ModelingEditorUI > API/Plugins/ModelingEditorUI/ModelingWidgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SToolInputAssetPicker
References
| Module | ModelingEditorUI |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/ModelingEditorUI/Public/ModelingWidgets/SToolInputAssetPicker.h |
| Include | #include "ModelingWidgets/SToolInputAssetPicker.h" |
Syntax
class SToolInputAssetPicker : public SCompoundWidget
Remarks
SToolInputAssetPicker is designed to support Asset picking in Modeling Tools, where the Assets in question are input parameters/options to Tools, eg such as a brush alpha texture for use in a Painting/Sculpting Tool.
Implementation is derived from SAssetPicker (private class in the ContentBrowser module). However many optional features have been stripped out as they are not relevant in the Modeling-Tool Parameters context.
Most settings are provided via the FAssetPickerConfig, which is passed to an SAssetView internally.
Unless you are really certain you need to use this class directly, it's likely that you are looking for SToolInputAssetComboPanel, which provides a combobox/flyout-style widget suitable for user interface panels.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Constructs this widget with InArgs | |
| const TSharedPtr< SAssetView > & | GetAssetView () |
Return the associated AssetView | |
| void | UpdateAssetSourceCollections
(
TArray< FCollectionNameType > Collections |
Update the set of input Assets to be only based on the given set of Collections (or all Assets, if the Collections list is empty) |
Overridden from SWidget
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |