Navigation
API > API/Plugins > API/Plugins/AssetReferenceRestrictions
Inheritance Hierarchy
- UDynamicSubsystem
- UEditorSubsystem
- UAssetReferencingPolicySubsystem
References
| Module | AssetReferenceRestrictions |
| Header | /Engine/Plugins/Editor/AssetReferenceRestrictions/Source/AssetReferenceRestrictions/Public/AssetReferencingPolicySubsystem.h |
| Include | #include "AssetReferencingPolicySubsystem.h" |
Syntax
UCLASS ()
class UAssetReferencingPolicySubsystem : public UEditorSubsystem
Remarks
Subsystem to register the domain-based asset referencing policy restrictions with the editor
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
||
| TSharedPtr< FDomainDatabase > | GetDomainDB () |
||
| void | Initialize
(
FSubsystemCollectionBase& Collection |
||
| bool | ShouldCreateSubsystem
(
UObject* Outer |
||
| bool | ShouldValidateAssetReferences
(
const FAssetData& Asset |
Returns whether the given asset's outgoing references are restricted in any way and should be individually validated. | |
| TValueOrError< void, TArray< FAssetReferenceError > > | ValidateAssetReferences
(
const FAssetData& Asset |
Check the outgoing references of the given asset according to the asset registry and return details of any errors. |