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< IPCGAttributeAccessor > PCGAttributeAccessorHelpers&58;&58;CreateAccessor
&40;
UPCGData &42; InData,
const FPCGAttributePropertySelector & InSelector
&41;
}
Remarks
Creates a 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 "@Source". Otherwise the creation will fail.