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/PCGAttributeAccessorHelpers.h |
| Include | #include "Metadata/Accessors/PCGAttributeAccessorHelpers.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/Metadata/Accessors/PCGAttributeAccessorHelpers.cpp |
namespace PCGAttributeAccessorHelpers
{
TUniquePtr< const IPCGAttributeAccessor > PCGAttributeAccessorHelpers&58;&58;CreateConstAccessor
&40;
const UPCGData &42; InData,
const FPCGAttributePropertySelector & InSelector
&41;
}
Remarks
Creates a const accessor to the property or attribute pointed at by the InSelector. Note that InData must not be null if the selector points to an attribute, but in the case of properties, it either has to be the appropriate type or null. Make sure to update your selector before-hand if you want to support "@Last"