unreal.PrimaryAssetCookRule

class unreal.PrimaryAssetCookRule

Bases: unreal.EnumBase

Rule about when to cook/ship a primary asset

C++ Source:

  • Module: Engine

  • File: AssetManagerTypes.h

ALWAYS_COOK

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

Type

4

DEVELOPMENT_ALWAYS_COOK

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

Type

3

DEVELOPMENT_COOK

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

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

Type

1

UNKNOWN

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

Type

0