UAssetManager::SetPrimaryAssetRules

Changes the management rules for a specific asset, this overrides the type rules.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h

Include

#include "Engine/AssetManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AssetManager.cpp

Syntax

virtual void SetPrimaryAssetRules
(
    FPrimaryAssetId PrimaryAssetId,
    const FPrimaryAssetRules & Rules
)

Remarks

Changes the management rules for a specific asset, this overrides the type rules. If passed in Rules is default, delete override