Navigation
API > API/Plugins > API/Plugins/PCG
| |
|
| Name |
EPCGAttributeAccessorFlags |
| Type |
enum |
| Header File |
/Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include Path |
#include "Metadata/Accessors/IPCGAttributeAccessor.h" |
Syntax
enum EPCGAttributeAccessorFlags
{
StrictType = 1 << 0,
AllowBroadcast = 1 << 1,
AllowConstructible = 1 << 2,
AllowSetDefaultValue = 1 << 3,
AllowReuseMetadataEntryKey = 1 << 4,
AllowBroadcastAndConstructible = AllowBroadcast | AllowConstructible,
}
Values
| Name |
Remarks |
| StrictType |
Always require that the underlying type of the accessor match the expected type, 1 for 1. |
| AllowBroadcast |
Allow to broadcast the expected type to the underlying type (or vice versa, depending on the operation) |
| AllowConstructible |
Allow to construct the expected type from the underlying type (or vice versa, depending on the operation) |
| AllowSetDefaultValue |
By default, if the key is a PCGInvalidEntryKey, it will add a new entry. |
| AllowReuseMetadataEntryKey |
New writes usually create a new metadata entry key when we write. |
| AllowBroadcastAndConstructible |
|