engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FPrimaryAssetRules结构体 参考

Structure defining rules for what to do with assets, this is defined per type and can be overridden per asset 更多...

#include <AssetManagerTypes.h>

Public 成员函数

ENGINE_API bool IsDefault () const
 Checks if all rules are the same as the default. 更多...
 
ENGINE_API void OverrideRules (const FPrimaryAssetRules &OverrideRules)
 Override non-default rules from an override struct.
 
ENGINE_API void PropagateCookRules (const FPrimaryAssetRules &ParentRules)
 Propagate cook rules from parent to child, won't override non-default values.
 

Public 属性

bool bApplyRecursively
 If true, this rule will apply to all referenced Secondary Assets recursively, as long as they are not managed by a higher-priority Primary Asset.
 
int32 ChunkId
 Assets will be put into this Chunk ID specifically, if set to something other than -1. 更多...
 
EPrimaryAssetCookRule CookRule
 Rule describing when this asset should be cooked.
 
int32 Priority
 Primary Assets with a higher priority will take precedence over lower priorities when assigning management for referenced assets. 更多...
 

详细描述

Structure defining rules for what to do with assets, this is defined per type and can be overridden per asset

成员函数说明

◆ IsDefault()

ENGINE_API bool FPrimaryAssetRules::IsDefault ( ) const

Checks if all rules are the same as the default.

If so this will be ignored.

类成员变量说明

◆ ChunkId

int32 FPrimaryAssetRules::ChunkId

Assets will be put into this Chunk ID specifically, if set to something other than -1.

The default Chunk is Chunk 0.

◆ Priority

int32 FPrimaryAssetRules::Priority

Primary Assets with a higher priority will take precedence over lower priorities when assigning management for referenced assets.

If priorities match, both will manage the same Secondary Asset.


该结构体的文档由以下文件生成: