Navigation
API > API/Plugins > API/Plugins/AssetReferenceRestrictions
Subsystem to register the domain-based asset referencing policy restrictions with the editor
| Name | UAssetReferencingPolicySubsystem |
| Type | class |
| Header File | /Engine/Plugins/Editor/AssetReferenceRestrictions/Source/AssetReferenceRestrictions/Public/AssetReferencingPolicySubsystem.h |
| Include Path | #include "AssetReferencingPolicySubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class UAssetReferencingPolicySubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UAssetReferencingPolicySubsystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DomainDB | TSharedPtr< FDomainDatabase > | AssetReferencingPolicySubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Deinitialize() |
AssetReferencingPolicySubsystem.h | ||
TSharedPtr< FDomainDatabase > GetDomainDB() |
AssetReferencingPolicySubsystem.h | ||
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
AssetReferencingPolicySubsystem.h | ||
virtual bool ShouldCreateSubsystem
(
UObject* Outer |
AssetReferencingPolicySubsystem.h | ||
bool ShouldValidateAssetReferences
(
const FAssetData& Asset |
Returns whether the given asset's outgoing references are restricted in any way and should be individually validated. | AssetReferencingPolicySubsystem.h | |
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. | AssetReferencingPolicySubsystem.h | |
TValueOrError< void, TArray< FAssetReferenceError > > ValidateAssetReferences
(
const FAssetData& Asset, |
AssetReferencingPolicySubsystem.h |