Navigation
API > API/Editor > API/Editor/UnrealEd
This widget is a content reference, which can optionally show buttons for interacting with the reference.
| Name | SContentReference |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/WorkflowOrientedApp/SContentReference.h |
| Include Path | #include "WorkflowOrientedApp/SContentReference.h" |
Syntax
class SContentReference : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SContentReference
- FSlateControlledConstruction → SWidget → SCompoundWidget → SContentReference
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnSetReference | TBaseDelegate_OneParam< void, UObject * > | Allows for informing user when someone tries to set a new reference | WorkflowOrientedApp/SContentReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct a SContentReference. | WorkflowOrientedApp/SContentReference.h | |
void OpenAssetPickerMenu() |
Causes the asset picker to open, allowing the user to select a new asset. | WorkflowOrientedApp/SContentReference.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetAssetFullName() |
WorkflowOrientedApp/SContentReference.h | ||
FText GetAssetShortName() |
WorkflowOrientedApp/SContentReference.h | ||
const FSlateBrush * GetBorderImage() |
WorkflowOrientedApp/SContentReference.h | ||
EVisibility GetClearButtonVisibility() |
WorkflowOrientedApp/SContentReference.h | ||
EVisibility GetFindButtonVisibility() |
WorkflowOrientedApp/SContentReference.h | ||
EVisibility GetPickButtonVisibility() |
WorkflowOrientedApp/SContentReference.h | ||
EVisibility GetToolsButtonVisibility() |
WorkflowOrientedApp/SContentReference.h | ||
EVisibility GetUseButtonVisibility() |
WorkflowOrientedApp/SContentReference.h | ||
TSharedRef< SWidget > MakeAssetPickerMenu() |
WorkflowOrientedApp/SContentReference.h | ||
void OnAssetSelectedFromPicker
(
const FAssetData& AssetData |
WorkflowOrientedApp/SContentReference.h | ||
FReply OnClickClearButton() |
WorkflowOrientedApp/SContentReference.h | ||
FReply OnClickFindButton() |
WorkflowOrientedApp/SContentReference.h | ||
FReply OnClickUseButton() |
WorkflowOrientedApp/SContentReference.h | ||
FReply OnDoubleClickedOnAssetName
(
const FGeometry& InMyGeometry, |
WorkflowOrientedApp/SContentReference.h | ||
void OpenAssetToEdit() |
WorkflowOrientedApp/SContentReference.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void FindObjectInContentBrowser
(
UObject* Object |
WorkflowOrientedApp/SContentReference.h |