Navigation
API > API/Plugins > API/Plugins/PCG
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< T > PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs
(
const UPCGParamData* InParamData, |
Extract an attribute set in a array of structures. | Helpers/PCGPropertyHelpers.h | |
TArray< FInstancedStruct > PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs
(
const UPCGParamData* InParamData, |
Extract an attribute set in a array of structures. | Helpers/PCGPropertyHelpers.h |
PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs(const UPCGParamData , const TMap< FName, TTuple< FName, bool > > , FPCGContext *)
Description
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)
| Name | PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGPropertyHelpers.h |
| Include Path | #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
)
}
Parameters
| Name | Remarks |
|---|---|
| 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. |
PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs(const UPCGParamData , const UScriptStruct , const TMap< FName, TTuple< FName, bool > > , FPCGContext )
Description
Extract an attribute set in a array of structures. Also, it must only contain supported types (so no arrays nor other structures)
| Name | PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGPropertyHelpers.h |
| Include Path | #include "Helpers/PCGPropertyHelpers.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Helpers/PCGPropertyHelpers.cpp |
namespace PCGPropertyHelpers
{
TArray < FInstancedStruct > PCGPropertyHelpers::ExtractAttributeSetAsArrayOfStructs
(
const UPCGParamData * InParamData,
const UScriptStruct * InStruct,
const TMap < FName , TTuple < FName , bool > > * OptionalNameMapping,
FPCGContext * OptionalContext
)
}
Parameters
| Name | Remarks |
|---|---|
| InParamData | Attribute set that contains the data. |
| InStruct | Structure to extract the param to. |
| 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. |