Navigation
API > API/Developer > API/Developer/AssetTools
Inheritance Hierarchy
- TSharedFromThis
- IAssetTypeActions
- FAssetTypeActions_Base
- FAnimToTextureAssetActions
- FAssetTypeActions_AnimationAsset
- FAssetTypeActions_AnimationSharingSetup
- FAssetTypeActions_AudioImpulseResponse
- FAssetTypeActions_ChaosCacheCollection
- FAssetTypeActions_ChaosSolver
- FAssetTypeActions_ChaosVehicles
- FAssetTypeActions_ClassTypeBase
- FAssetTypeActions_Blueprint
- FAssetTypeActions_BlueprintGeneratedClass
- FAssetTypeActions_CSVAssetBase
- FAssetTypeActions_DataAsset
- FAssetTypeActions_FieldSystem
- FAssetTypeActions_FleshAsset
- FAssetTypeActions_GameplayTagAssetBase
- FAssetTypeActions_GeometryCache
- FAssetTypeActions_GeometryCollection
- FAssetTypeActions_GeometryCollectionCache
- FAssetTypeActions_IKRetargeter
- FAssetTypeActions_IKRigDefinition
- FAssetTypeActions_ITDSpatializationSettings
- FAssetTypeActions_ModularSynthPresetBank
- FAssetTypeActions_MonoWaveTableSynthPreset
- FAssetTypeActions_NaniteDisplacedMesh
- FAssetTypeActions_RuntimeVirtualTexture
- FAssetTypeActions_SoundBase
- FAssetTypeActions_VirtualTextureBuilder
- FContextualAnimTypeActions
- FDataflowAssetActions
- FMediaSourceActions
References
| Module | AssetTools |
| Header | /Engine/Source/Developer/AssetTools/Public/IAssetTypeActions.h |
| Include | #include "IAssetTypeActions.h" |
Syntax
class IAssetTypeActions : public TSharedFromThis< IAssetTypeActions >
Remarks
AssetTypeActions provide actions and other information about asset types
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AssetsActivatedOverride
(
const TArray< UObject* >& InObjects, |
Allows overriding asset activation to perform asset type specific activation for the supplied assets. | |
| void | BuildBackendFilter
(
FARFilter& InFilter |
Builds the filter for this class | |
| bool | CanDuplicate
(
const FAssetData& InAsset, |
Returns true if this asset can be duplicated | |
| bool | CanFilter () |
Returns true if this class can be used as a filter in the content browser | |
| bool | CanLocalize () |
Returns true if this class can be localized | |
| bool | CanMerge () |
Returns true if this class can be merged (either manually or automatically) | |
| bool | CanRename
(
const FAssetData& InAsset, |
Returns true if this asset can be renamed | |
| void | GetActions
(
const TArray< UObject* >& InObjects, |
Generates a menu section for the specified objects. | |
| void | GetActions
(
const TArray< UObject* >& InObjects, |
Generates a menubuilder for the specified objects. | |
| FText | GetAssetDescription
(
const FAssetData& AssetData |
Returns additional tooltip information for the specified asset, if it has any (otherwise return the null widget) | |
| uint32 | Returns the categories that this asset type appears in. | ||
| FText | GetDisplayNameFromAssetData
(
const FAssetData& AssetData |
Optionally gets a class display name for this asset (otherwise, returns empty text (e.g. `FText::GetEmpty()_) | |
| FName | Returns name to use for filter in the content browser | ||
| const FSlateBrush * | GetIconBrush
(
const FAssetData& InAssetData, |
Returns icon brush unique for the given asset data. Returning null falls back to class icon brush. | |
| FText | GetName () |
Returns the name of this type | |
| FString | GetObjectDisplayName
(
UObject* Object |
Returns the display name for that object. | |
| void | GetResolvedSourceFilePaths
(
const TArray< UObject* >& TypeAssets, |
Collects the resolved source paths for the imported assets | |
| void | GetSourceFileLabels
(
const TArray< UObject* >& TypeAssets, |
Collects the source file labels for the imported assets | |
| const TArray< FText > & | GetSubMenus () |
Returns array of sub-menu names that this asset type is parented under in the Asset Creation Context Menu. | |
| UClass * | Get the supported class of this type. | ||
| const FSlateBrush * | GetThumbnailBrush
(
const FAssetData& InAssetData, |
Returns thumbnail brush unique for the given asset data. | |
| UThumbnailInfo * | GetThumbnailInfo
(
UObject* Asset |
Returns the thumbnail info for the specified asset, if it has one. | |
| TSharedPtr< class SWidget > | GetThumbnailOverlay
(
const FAssetData& AssetData |
Optionally returns a custom widget to overlay on top of this assets' thumbnail | |
| FColor | GetTypeColor () |
Returns the color associated with this type | |
| TArray< FAssetData > | GetValidAssetsForPreviewOrEdit
(
TArrayView< const FAssetData > InAssetDatas, |
Returns the set of asset data that is valid to load. | |
| bool | HasActions
(
const TArray< UObject* >& InObjects |
Returns true if this class can supply actions for InObjects. | |
| bool | Returns if this is actually just an UAssetDefinition. | ||
| bool | Returns whether the asset was imported from an external source | ||
| void | Merge
(
UObject* BaseAsset, |
Begins a merge between the specified assets | |
| void | Begins a merge operation for InObject (automatically determines remote/base versions needed to resolve) | ||
| void | OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | |
| void | OpenAssetEditor
(
const TArray< UObject* >& InObjects, |
Opens the asset editor for the specified objects. | |
| void | PerformAssetDiff
(
UObject* OldAsset, |
Performs asset-specific diff on the supplied asset | |
| bool | Returns true if we should call GetActions. | ||
| bool | |||
| bool | SupportsOpenedMethod
(
const EAssetTypeActivationOpenedMethod OpenedMethod |
Does this asset support edit or view methods? |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FTopLevelAssetPath | Just call GetSupportedClass()->GetClassPathName(); | ||
| EThumbnailPrimType | GetDefaultThumbnailPrimitiveType
(
UObject* Asset |
When overriding GetThumbnailInfo, The default thumbnail primitive is now a property on USceneThumbnailInfoWithPrimitive. The default only applies to this thumbnail type, so it has been relocated as an implementation detail of it. | |
| bool | IsSupported () |
Use IAssetTools::IsAssetClassSupported | |
| void | SetSupported
(
bool bInSupported |
Use IAssetTools::IsAssetClassSupported |