Navigation
API > API/Editor > API/Editor/AssetDefinition
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAssetDefinition
- UAssetDefinitionDefault
- UAssetDefinition_BehaviorTree
- UAssetDefinition_ClassTypeBase
- UAssetDefinition_Blueprint
- UAssetDefinition_DataAsset
- UAssetDefinition_GroomAsset
- UAssetDefinition_GroomBindingAsset
- UAssetDefinition_GroomCacheAsset
- UAssetDefinition_Redirector
- UAssetDefinition_SoundBase
- UAssetDefinition_StaticMeshLODGenerationSettings
- UAssetDefinition_World
References
| Module | AssetDefinition |
| Header | /Engine/Source/Editor/AssetDefinition/Public/AssetDefinition.h |
| Include | #include "AssetDefinition.h" |
Syntax
class UAssetDefinition : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| EIncludeClassInFilter | IncludeClassInFilter |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| EAssetCommandResult | ActivateAssets
(
const FAssetActivateArgs& ActivateArgs |
||
| void | BuildFilters
(
TArray< FAssetFilterData >& OutFilters |
||
| FAssetSupportResponse | CanDuplicate
(
const FAssetData& InAsset |
||
| bool | CanImport () |
Importing. | |
| FAssetSupportResponse | CanLocalize
(
const FAssetData& InAsset |
||
| bool | CanMerge () |
Merging. | |
| bool | DEVELOPER NOTE: Originally this class was based on the IAssetTypeActions implementation. | ||
| FAssetSupportResponse | CanRename
(
const FAssetData& InAsset |
Common Queries. | |
| TConstArrayView< FAssetCategoryPath > | Gets a list of categories this asset is in, these categories are used to help organize | ||
| FText | GetAssetDescription
(
const FAssetData& AssetData |
Returns additional tooltip information for the specified asset, if it has any. | |
| FText | GetAssetDisplayName
(
const FAssetData& AssetData |
Returns the name of this type, but allows overriding the default on a specific instance of the asset. | |
| FAssetOpenSupport | GetAssetOpenSupport
(
const FAssetOpenSupportArgs& OpenSupportArgs |
Get open support for the method. Includes required information before we call OpenAsset. | |
| TSharedRef< FAssetFilterDataCache > | GetFilters () |
Filtering. | |
| const FSlateBrush * | GetIconBrush
(
const FAssetData& InAssetData, |
Returns icon brush unique for the given asset data. Returning null falls back to class icon brush. | |
| FText | GetObjectDisplayNameText
(
UObject* Object |
Extras. | |
| EAssetCommandResult | GetSourceFiles
(
const FAssetSourceFilesArgs& InArgs, |
Return the source files that was used to generate/import the asset | |
| const FSlateBrush * | GetThumbnailBrush
(
const FAssetData& InAssetData, |
Returns thumbnail brush unique for the given asset data. | |
| TSharedPtr< SWidget > | GetThumbnailOverlay
(
const FAssetData& InAssetData |
Optionally returns a custom widget to overlay on top of this assets' thumbnail | |
| UThumbnailInfo * | LoadThumbnailInfo
(
const FAssetData& InAssetData |
Returns the thumbnail info for the specified asset, if it has one. | |
| EAssetCommandResult | Merge
(
const FAssetAutomaticMergeArgs& MergeArgs |
||
| EAssetCommandResult | Merge
(
const FAssetManualMergeArgs& MergeArgs |
||
| EAssetCommandResult | PerformAssetDiff
(
const FAssetDiffArgs& DiffArgs |
Diffing Assets. | |
| TArray< FAssetData > | PrepareToActivateAssets
(
const FAssetActivateArgs& ActivateArgs |
Common Operations. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Begin UObject. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| EAssetCommandResult | GetSourceFiles
(
const FAssetData& InAsset, |
This override will be removed because it doesn't account that the resolution of a relative path to its absolute path may varies based on the asset implementation. |