Navigation
API > API/Developer > API/Developer/AssetTools
AssetTypeActions provide actions and other information about asset types
| Name | IAssetTypeActions |
| Type | class |
| Header File | /Engine/Source/Developer/AssetTools/Public/IAssetTypeActions.h |
| Include Path | #include "IAssetTypeActions.h" |
Syntax
class IAssetTypeActions : public TSharedFromThis< IAssetTypeActions >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → IAssetTypeActions
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IAssetTypeActions() |
Virtual destructor | IAssetTypeActions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AssetsActivatedOverride
(
const TArray< UObject* >& InObjects, |
Allows overriding asset activation to perform asset type specific activation for the supplied assets. | IAssetTypeActions.h | |
void BuildBackendFilter
(
FARFilter& InFilter |
Builds the filter for this class | IAssetTypeActions.h | |
bool CanDuplicate
(
const FAssetData& InAsset, |
Returns true if this asset can be duplicated | IAssetTypeActions.h | |
bool CanFilter() |
Returns true if this class can be used as a filter in the content browser | IAssetTypeActions.h | |
bool CanLocalize() |
Returns true if this class can be localized | IAssetTypeActions.h | |
bool CanMerge() |
Returns true if this class can be merged (either manually or automatically) | IAssetTypeActions.h | |
bool CanRename
(
const FAssetData& InAsset, |
Returns true if this asset can be renamed | IAssetTypeActions.h | |
virtual void GetActions
(
const TArray< UObject* >& InObjects, |
Generates a menu section for the specified objects. | IAssetTypeActions.h | |
virtual void GetActions
(
const TArray< UObject* >& InObjects, |
Generates a menubuilder for the specified objects. | IAssetTypeActions.h | |
FText GetAssetDescription
(
const FAssetData& AssetData |
Returns additional tooltip information for the specified asset, if it has any (otherwise return the null widget) | IAssetTypeActions.h | |
uint32 GetCategories () |
Returns the categories that this asset type appears in. | IAssetTypeActions.h | |
FTopLevelAssetPath GetClassPathName() |
Returns class path name as a package + class FName pair | IAssetTypeActions.h | |
EThumbnailPrimType GetDefaultThumbnailPrimitiveType
(
UObject* Asset |
Returns the default thumbnail type that should be rendered when rendering primitive shapes. | IAssetTypeActions.h | |
FText GetDisplayNameFromAssetData
(
const FAssetData& AssetData |
Optionally gets a class display name for this asset (otherwise, returns empty text (e.g. `FText::GetEmpty()_) | IAssetTypeActions.h | |
FName GetFilterName() |
Returns name to use for filter in the content browser | IAssetTypeActions.h | |
const FSlateBrush * GetIconBrush
(
const FAssetData& InAssetData, |
Returns icon brush unique for the given asset data. Returning null falls back to class icon brush. | IAssetTypeActions.h | |
FText GetName() |
Returns the name of this type | IAssetTypeActions.h | |
| Returns the display name for that object. | IAssetTypeActions.h | ||
| Collects the resolved source paths for the imported assets | IAssetTypeActions.h | ||
| Collects the source file labels for the imported assets | IAssetTypeActions.h | ||
| Returns array of sub-menu names that this asset type is parented under in the Asset Creation Context Menu. | IAssetTypeActions.h | ||
UClass * GetSupportedClass() |
Get the supported class of this type. | IAssetTypeActions.h | |
const FSlateBrush * GetThumbnailBrush
(
const FAssetData& InAssetData, |
Returns thumbnail brush unique for the given asset data. | IAssetTypeActions.h | |
UThumbnailInfo * GetThumbnailInfo
(
UObject* Asset |
Returns the thumbnail info for the specified asset, if it has one. | IAssetTypeActions.h | |
TSharedPtr< class SWidget > GetThumbnailOverlay
(
const FAssetData& AssetData |
Optionally returns a custom widget to overlay on top of this assets' thumbnail | IAssetTypeActions.h | |
FColor GetTypeColor() |
Returns the color associated with this type | IAssetTypeActions.h | |
TArray< FAssetData > GetValidAssetsForPreviewOrEdit
(
TArrayView< const FAssetData > InAssetDatas, |
Returns the set of asset data that is valid to load. | IAssetTypeActions.h | |
| Returns true if this class can supply actions for InObjects. | IAssetTypeActions.h | ||
virtual bool IsAssetDefinitionInDisguise () |
Returns if this is actually just an UAssetDefinition. | IAssetTypeActions.h | |
bool IsImportedAsset() |
Returns whether the asset was imported from an external source | IAssetTypeActions.h | |
virtual bool IsSupported() |
Is this asset type supported in the current session? | IAssetTypeActions.h | |
| Begins a merge between the specified assets | IAssetTypeActions.h | ||
| Begins a merge operation for InObject (automatically determines remote/base versions needed to resolve) | IAssetTypeActions.h | ||
void OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | IAssetTypeActions.h | |
void OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | IAssetTypeActions.h | |
void PerformAssetDiff
(
UObject* OldAsset, |
Performs asset-specific diff on the supplied asset | IAssetTypeActions.h | |
virtual void SetSupported
(
bool bInSupported |
Sets whether or not this asset type is a supported type for this editor session. | IAssetTypeActions.h | |
virtual bool ShouldCallGetActions() |
Returns true if we should call GetActions. | IAssetTypeActions.h | |
bool ShouldFindEditorForAsset() |
Returns true if an asset editor window should be created for this asset. | IAssetTypeActions.h | |
bool ShouldForceWorldCentric() |
IAssetTypeActions.h | ||
bool SupportsOpenedMethod
(
const EAssetTypeActivationOpenedMethod OpenedMethod |
Does this asset support edit or view methods? | IAssetTypeActions.h |