Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/Accessors
References
| |
|
| Module |
PCG |
| Header |
/Engine/Plugins/Experimental/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include |
#include "Metadata/Accessors/IPCGAttributeAccessor.h" |
Syntax
enum EPCGAttributeAccessorFlags
&123;
StrictType = 1 << 0,
AllowBroadcast = 1 << 1,
AllowConstructible = 1 << 2,
AllowSetDefaultValue = 1 << 3,
&125;
Values
| Name |
Description |
| 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. |