Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Helpers
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGPropertyHelpers.h |
| Include | #include "Helpers/PCGPropertyHelpers.h" |
namespace PCGPropertyHelpers
{
template<typename T>
TArray < T > PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs
(
const UPCGParamData * InParamData,
const TMap < FName, TTuple < FName, bool > > * OptionalNameMapping,
FPCGContext * OptionalContext
)
}
Remarks
Extract an attribute set in a array of structures. T MUST be a UStruct. Also, it must only contain supported types (so no arrays nor other structures)
Parameters
| Name | Description |
|---|---|
| InParamData | Attribute set that contains the data. |
| OptionalNameMapping | Optional mapping for the name in the structure and the name in the attribute set. Can also say if this property is required, or not and should be defaulted. By default all are defaulted if not found. |
| OptionalContext | Optional context if the extraction is done in a PCG Node, so errors are using the context to log. |