Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/Accessors > API/Plugins/PCG/Metadata/Accessors/IPCGAttributeAccessor > API/Plugins/PCG/Metadata/Accessors/IPCGAttributeAccessor/Set
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Metadata/Accessors/IPCGAttributeAccessor.h |
| Include | #include "Metadata/Accessors/IPCGAttributeAccessor.h" |
template<typename T>
bool Set
&40;
const T & InValue,
IPCGAttributeAccessorKeys & Keys,
EPCGAttributeAccessorFlags Flags
&41;
Remarks
Set a value to the accessor for a given type at index 0. Not threadsafe for all accessors. true if the set succeeded, false otherwise
Parameters
| Name | Description |
|---|---|
| InValue | the value to write |
| Keys | Identification to know how to identify the value. |
| Flags | Optional flag to allow for specific operations. Cf EPCGAttributeAccessorFlags. |