Navigation
API > API/Plugins > API/Plugins/AssetManagerEditor
References
| Module | AssetManagerEditor |
| Header | /Engine/Plugins/Editor/AssetManagerEditor/Source/AssetManagerEditor/Public/AssetManagerEditorModule.h |
| Include | #include "AssetManagerEditorModule.h" |
Syntax
struct FAssetManagerEditorRegistrySource
Remarks
Struct containing the information about currently investigated asset context
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bIsEditor | If true, this is the editor | |
| uint8: 1 | bManagementDataInitialized | If true, management data has been initialized | |
| TMap< int32, FAssetManagerChunkInfo > | ChunkAssignments | Map of chunk information, from chunk id to primary assets/specific assets that are explicitly assigned to that chunk | |
| FString | SourceFilename | Filename registry was loaded from | |
| FString | SourceName | Display name of the source, equal to target Platform, Editor, or Custom | |
| FString | SourceTimestamp | Timestamp for the registry we loaded from, if from a file. | |
| ITargetPlatform * | TargetPlatform | Target platform for this state, may be null |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAssetManagerEditorRegistrySource
(
const FAssetManagerEditorRegistrySource& Other |
We delete the copy constructor because it's not clear whether we should copy RegistryStatePrivate. | ||
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FAssetData | GetAssetByObjectPath
(
const FSoftObjectPath& ObjectPath |
Functions to forward on to the RegistryState, either the owned one or the editor's global State. | |
| TOptional< FAssetPackageData > | GetAssetPackageDataCopy
(
FName PackageName |
||
| bool | GetAssetTagByObjectPath
(
const FSoftObjectPath& InObjectPath, |
||
| bool | GetDependencies
(
const FAssetIdentifier& AssetIdentifier, |
||
| const FAssetRegistryState * | Returns the RegistryState owned by this. | ||
| bool | GetReferencers
(
const FAssetIdentifier& AssetIdentifier, |
||
| bool | HasRegistry () |
||
| void | Grabs the SourceTimestamp from the asset registry file changed times. | ||
| void | SetRegistryState
(
const FAssetRegistryState* InRegistryState |
Set the RegistryState viewed by this FAssetManagerEditorRegistrySource to a dynamically allocated FAssetRegistryStateFAssetManagerEditorRegistrySource takes ownership of the given AssetRegistry and deletes it is when cleared. | |
| void | SetUseEditorAssetRegistry
(
const IAssetRegistry* AssetRegistry |
Set the RegistryState viewed by this FAssetManagerEditorRegistrySource to the FAssetRegistryState owned by the given global AssetRegistry. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FAssetManagerEditorRegistrySource & | operator=
(
const FAssetManagerEditorRegistrySource& Other |
||
| FAssetManagerEditorRegistrySource & | operator=
(
FAssetManagerEditorRegistrySource&& Other |
Constants
| Name | Description |
|---|---|
| CustomSourceName | If SourceName matches this, this is the custom source loaded from an arbitrary path |
| EditorSourceName | If SourceName matches this, this is the editor |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FAssetData | GetAssetByObjectPath
(
FName ObjectPath |
Asset path FNames have been deprecated, use FSoftObjectPath instead. |