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:

5

DEVELOPMENT_ALWAYS_COOK: PrimaryAssetCookRule

Legacy name equivalent to DevelopmentAlwaysProductionNeverCook

Type:

3

DEVELOPMENT_ALWAYS_PRODUCTION_NEVER_COOK: PrimaryAssetCookRule

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

Type:

3

DEVELOPMENT_ALWAYS_PRODUCTION_UNKNOWN_COOK: PrimaryAssetCookRule

Asset will always be cooked in development; nothing is known about whether it should cook in Production. It will cook in production if something else depends on it.

Type:

4

DEVELOPMENT_COOK: PrimaryAssetCookRule

Legacy name equivalent to Production Never Cook

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

PRODUCTION_NEVER_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

UNKNOWN: PrimaryAssetCookRule

Nothing is known about this asset specifically. It will cook in both Development and Production if something else depends on it.

Type:

0