unreal.PrimaryAssetCookRule

class unreal.PrimaryAssetCookRule

Bases: EnumBase

Rule about when to cook/ship a primary asset

C++ Source:

  • Module: Engine

  • File: AssetManagerTypes.h

ALWAYS_COOK: PrimaryAssetCookRule

Asset will always be cooked, in both production and development.

Type:

4

DEVELOPMENT_ALWAYS_COOK: PrimaryAssetCookRule

Asset will always be cooked in development, but should never be cooked in a production build.

Type:

3

DEVELOPMENT_COOK: PrimaryAssetCookRule

Asset will be cooked in development if something else depends on it, but will never be cooked in a production build.

Type:

2

NEVER_COOK: PrimaryAssetCookRule

Asset should never be cooked/shipped in any situation. An error will be generated if something depends on it.

Type:

1

UNKNOWN: PrimaryAssetCookRule

Nothing is known about this asset specifically. It will cook if something else depends on it.

Type:

0