| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Editor/DataValidation/Source/DataValidation/Public/EditorValidatorSubsystem.h |
Include |
#include "EditorValidatorSubsystem.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Config=Editor)
class UEditorValidatorSubsystem : public UEditorSubsystem
UEditorValidatorSubsystem manages all the asset validation in the engine. The first validation handled is UObject::IsDataValid and its overridden functions. Those validations require custom classes and are most suited to project-specific classes. The next validation set is of all registered UEditorValidationBases. These validators have a function to determine if they can validate a given asset, and if they are currently enabled. They are good candidates for validating engine classes or very specific project logic.
Name | Description | ||
---|---|---|---|
|
bAllowBlueprintValidators |
Specifies whether or not to allow Blueprint validators |
|
|
bValidateAssetsWhileSavingForCook |
Specifies whether or not to validate assets on save when saving for a cook |
|
|
bValidateOnSave |
Whether it should validate assets on save inside the editor |
|
|
ExcludedDirectories |
Directories to ignore for data validation. Useful for test assets |
|
|
SavedPackagesToValidate |
List of saved package names to validate next frame |
|
|
Validators |
Name | Description | |
---|---|---|
|
UEditorValidatorSubsystem() |
Name | Description | ||
---|---|---|---|
|
AddValidator ( |
Adds a validator to the list, making sure it is a unique instance |
|
|
CleanupValidators() |
||
|
EDataValidat... |
IsAssetValid ( |
|
|
EDataValidat... |
IsObjectValid |
|
|
IsPathExcludedFromValidation ( |
||
|
RegisterBlueprintValidators() |
||
|
ValidateAllSavedPackages() |
Handles validating all pending save packages |
|
|
ValidateAssets ( |
Called to validate assets from either the UI or a commandlet |
|
|
ValidateOnSave ( |
Called to validate from an interactive save |
|
|
ValidateSavedPackage ( |
Schedule a validation of a saved package, this will activate next frame by default so it can combine them |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |
Implement this for initialization of instances of the system |