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/Get
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 Get
&40;
T & OutValue,
int32 Index,
const IPCGAttributeAccessorKeys & Keys,
EPCGAttributeAccessorFlags Flags
&41; const
Remarks
Both GetRange and SetRange will be specialized for all supported types. (declared below and defined in the cpp). By default, all unsupported types will return false. Get a value from the accessor for a given type. Not threadsafe for all accessors. true if the get succeeded, false otherwise
Parameters
| Name | Description |
|---|---|
| OutValue | Where the value will be written to |
| Index | The index to look for in the keys |
| Keys | Identification to know how to retrieve the value |
| Flags | Optional flag to allow for specific operations. Cf EPCGAttributeAccessorFlags. |