Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/Accessors > API/Plugins/PCG/Metadata/Accessors/IPCGAttributeAccessorKeys > API/Plugins/PCG/Metadata/Accessors/IPCGAttributeAccessorKeys/GetKey
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessorKeys.h |
| Include | #include "Metadata/Accessors/PCGAttributeAccessorKeys.h" |
template<typename ObjectType>
bool GetKey
(
int32 InStart,
ObjectType *& OutObject
)
Remarks
Retrieve in the given argument pointer of the wanted type. Need to be a supported type, such as FPCGPoint, PCGMetadataEntryKey or void. It will wrap around if the index goes outside the number of keys. true if it succeeded, false otherwise. (like num == 0, unsupported type or read only)
Parameters
| Name | Description |
|---|---|
| InStart | Index to start looking in the keys. |
| OutObject | Reference on a pointer, where the key will be written. |