Navigation
API > API/Developer > API/Developer/AssetTools
A base class for all AssetTypeActions. Provides helper functions useful for many types. Deriving from this class is optional.
| Name | FAssetTypeActions_Base |
| Type | class |
| Header File | /Engine/Source/Developer/AssetTools/Public/AssetTypeActions_Base.h |
| Include Path | #include "AssetTypeActions_Base.h" |
Syntax
class FAssetTypeActions_Base : public IAssetTypeActions
Implements Interfaces
Derived Classes
FAssetTypeActions_Base derived class hierarchy
- FAssetTypeActions_AnimationAsset
- FAssetTypeActions_AnimationSharingSetup
- FAssetTypeActions_AudioImpulseResponse
- FAssetTypeActions_ChaosSolver
- FAssetTypeActions_ClassTypeBase
- FAssetTypeActions_CSVAssetBase
- FAssetTypeActions_DataAsset
- FAssetTypeActions_FieldSystem
- FAssetTypeActions_GeometryCollectionCache
- FContextualAnimTypeActions
- FAssetTypeActions_ChaosCacheCollection
- FAssetTypeActions_ChaosVehicles
- FAssetTypeActions_ConversationDatabase
- FAssetTypeActions_IKRetargeter
- FAssetTypeActions_IKRigDefinition
- FAssetTypeActions_ITDSpatializationSettings
- FAssetTypeActions_MaterialCacheVirtualTextureTag
- FAssetTypeActions_ModularSynthPresetBank
- FAssetTypeActions_MonoWaveTableSynthPreset
- FAssetTypeActions_NaniteDisplacedMesh
- FAssetTypeActions_RuntimeVirtualTexture
- FAssetTypeActions_SoundBase
- FAssetTypeActions_VirtualTextureBuilder
- FMediaSourceActions
Functions
Public
Overridden from IAssetTypeActions
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AssetsActivatedOverride
(
const TArray< UObject* >& InObjects, |
Allows overriding asset activation to perform asset type specific activation for the supplied assets. | AssetTypeActions_Base.h | |
virtual void BuildBackendFilter
(
FARFilter& InFilter |
Builds the filter for this class | AssetTypeActions_Base.h | |
virtual bool CanDuplicate
(
const FAssetData& InAsset, |
Returns true if this asset can be duplicated | AssetTypeActions_Base.h | |
virtual bool CanFilter() |
Returns true if this class can be used as a filter in the content browser | AssetTypeActions_Base.h | |
virtual bool CanLocalize() |
Returns true if this class can be localized | AssetTypeActions_Base.h | |
virtual bool CanMerge() |
Returns true if this class can be merged (either manually or automatically) | AssetTypeActions_Base.h | |
virtual bool CanRename
(
const FAssetData& InAsset, |
Returns true if this asset can be renamed | AssetTypeActions_Base.h | |
virtual FTopLevelAssetPath GetClassPathName() |
Returns class path name as a package + class FName pair | AssetTypeActions_Base.h | |
virtual EThumbnailPrimType GetDefaultThumbnailPrimitiveType
(
UObject* Asset |
Returns the default thumbnail type that should be rendered when rendering primitive shapes. | AssetTypeActions_Base.h | |
virtual FText GetDisplayNameFromAssetData
(
const FAssetData& AssetData |
Optionally gets a class display name for this asset (otherwise, returns empty text (e.g. `FText::GetEmpty()_) | AssetTypeActions_Base.h | |
virtual FName GetFilterName() |
Returns name to use for filter in the content browser | AssetTypeActions_Base.h | |
virtual const FSlateBrush * GetIconBrush
(
const FAssetData& InAssetData, |
Returns icon brush unique for the given asset data. Returning null falls back to class icon brush. | AssetTypeActions_Base.h | |
| Returns the display name for that object. | AssetTypeActions_Base.h | ||
| Collects the resolved source paths for the imported assets | AssetTypeActions_Base.h | ||
| Collects the source file labels for the imported assets | AssetTypeActions_Base.h | ||
| Returns array of sub-menu names that this asset type is parented under in the Asset Creation Context Menu. | AssetTypeActions_Base.h | ||
virtual const FSlateBrush * GetThumbnailBrush
(
const FAssetData& InAssetData, |
Returns thumbnail brush unique for the given asset data. | AssetTypeActions_Base.h | |
virtual UThumbnailInfo * GetThumbnailInfo
(
UObject* Asset |
Returns the thumbnail info for the specified asset, if it has one. | AssetTypeActions_Base.h | |
virtual TSharedPtr< class SWidget > GetThumbnailOverlay
(
const FAssetData& AssetData |
Optionally returns a custom widget to overlay on top of this assets' thumbnail | AssetTypeActions_Base.h | |
virtual TArray< FAssetData > GetValidAssetsForPreviewOrEdit
(
TArrayView< const FAssetData > InAssetDatas, |
Returns the set of asset data that is valid to load. | AssetTypeActions_Base.h | |
virtual bool IsImportedAsset() |
Returns whether the asset was imported from an external source | AssetTypeActions_Base.h | |
| Begins a merge operation for InObject (automatically determines remote/base versions needed to resolve) | AssetTypeActions_Base.h | ||
| Begins a merge between the specified assets | AssetTypeActions_Base.h | ||
virtual void OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | AssetTypeActions_Base.h | |
virtual void OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | AssetTypeActions_Base.h | |
virtual void PerformAssetDiff
(
UObject* OldAsset, |
Performs asset-specific diff on the supplied asset | AssetTypeActions_Base.h | |
virtual bool ShouldFindEditorForAsset() |
Returns true if an asset editor window should be created for this asset. | AssetTypeActions_Base.h | |
virtual bool ShouldForceWorldCentric() |
AssetTypeActions_Base.h | ||
virtual bool SupportsOpenedMethod
(
const EAssetTypeActivationOpenedMethod OpenedMethod |
Does this asset support edit or view methods? | AssetTypeActions_Base.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Creates a unique package and asset name taking the form InBasePackageName+InSuffix | AssetTypeActions_Base.h | ||
| Util for dumping an asset to a temporary text file. Returns absolute filename to temp file | AssetTypeActions_Base.h |
Overridden from IAssetTypeActions
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetAssetDescription
(
const FAssetData& AssetData |
Returns additional tooltip information for the specified asset, if it has any (otherwise return the null widget) | AssetTypeActions_Base.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| AssetTypeActions_Base.h | |||
static TArray< TSoftObjectPtr< T > > GetTypedSoftObjectPtrs
(
const TArray< UObject* >& InObjects |
AssetTypeActions_Base.h | ||
static TArray< TWeakObjectPtr< T > > GetTypedWeakObjectPtrs
(
const TArray< UObject* >& InObjects |
Helper function to convert the input for GetActions to a list that can be used for delegates | AssetTypeActions_Base.h |