Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/WorkflowOrientedApp > API/Editor/UnrealEd/WorkflowOrientedApp/SContentReference
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SContentReference::FArguments
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/WorkflowOrientedApp/SContentReference.h |
| Include | #include "WorkflowOrientedApp/SContentReference.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SContentReference >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AllowClearingReference
(
const TAttribute< bool >& InAttribute |
Can the user clear the existing asset reference? | |
| WidgetArgsType & | AllowedClass
(
const TAttribute< UClass* >& InAttribute |
If specified, the asset references are restricted to this class. | |
| WidgetArgsType & | AllowSelectingNewAsset
(
const TAttribute< bool >& InAttribute |
Can the user pick a new asset to reference? | |
| WidgetArgsType & | AssetPickerSizeOverride
(
const TAttribute< FVector2D >& InAttribute |
When you'd like to modify size of the asset picker window | |
| WidgetArgsType & | AssetReference
(
const TAttribute< UObject* >& InAttribute |
The asset being displayed by this widget. | |
| WidgetArgsType & | InitialAssetViewType
(
EAssetViewType::Type InArg |
Initial view type | |
| WidgetArgsType & | OnClickedTools
(
const FOnClicked& InDelegate |
The event to call when the tools button is clicked. | |
| WidgetArgsType & | OnSetReference
(
const FOnSetReference& InDelegate |
When user changes the referenced object | |
| WidgetArgsType & | OnShouldFilterAsset
(
const FOnShouldFilterAsset& InDelegate |
If bound, this delegate will be executed for each asset in the asset picker to see if it should be filtered. | |
| WidgetArgsType & | ShowFindInBrowserButton
(
const TAttribute< bool >& InAttribute |
Should the find in content browser button be shown? | |
| WidgetArgsType & | ShowToolsButton
(
const TAttribute< bool >& InAttribute |
Should the tools button be shown? | |
| WidgetArgsType & | The style of the content reference widget (optional) | ||
| WidgetArgsType & | WidthOverride
(
const TAttribute< FOptionalSize >& InAttribute |
When specified, the path box will request this fixed size. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |