Navigation
API > API/Plugins > API/Plugins/PCG
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PCGAttributeAccessorHelpers::ExtractAllValues
(
const IPCGAttributeAccessor* InAccessor, |
Utility function to extract all the values through the accessor for all the keys. | Metadata/Accessors/PCGAttributeAccessorHelpers.h | |
bool PCGAttributeAccessorHelpers::ExtractAllValues
(
const UPCGData* InData, |
Utility function to create the accessor and keys and extract all the values for all the keys. | Metadata/Accessors/PCGAttributeAccessorHelpers.h |
PCGAttributeAccessorHelpers::ExtractAllValues(const IPCGAttributeAccessor , const IPCGAttributeAccessorKeys , TArray< T, AllocatorType > &, EPCGAttributeAccessorFlags)
Description
Utility function to extract all the values through the accessor for all the keys.
| Name | PCGAttributeAccessorHelpers::ExtractAllValues |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessorHelpers.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessorHelpers.h" |
namespace PCGAttributeAccessorHelpers
{
template<typename T, typename AllocatorType>
bool PCGAttributeAccessorHelpers::ExtractAllValues
(
const IPCGAttributeAccessor * InAccessor,
const IPCGAttributeAccessorKeys * InKeys,
TArray < T, AllocatorType > & OutArray,
EPCGAttributeAccessorFlags GetFlags
)
}
true if it succeeded.
Parameters
| Name | Remarks |
|---|---|
| InAccessor | Attribute accessor from which to extract the values. |
| InKeys | Attribute accessor keys for the values. |
| OutArray | Output array where the values will be written. |
| GetFlags | Flags for the get accessor. By default, is broadcast and constructible. |
PCGAttributeAccessorHelpers::ExtractAllValues(const UPCGData , const FPCGAttributePropertyInputSelector &, TArray< T, AllocatorType > &, FPCGContext , EPCGAttributeAccessorFlags, bool)
Description
Utility function to create the accessor and keys and extract all the values for all the keys. Also, automatically resolve the selector for @Last.
| Name | PCGAttributeAccessorHelpers::ExtractAllValues |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessorHelpers.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessorHelpers.h" |
namespace PCGAttributeAccessorHelpers
{
template<typename T, typename AllocatorType>
bool PCGAttributeAccessorHelpers::ExtractAllValues
(
const UPCGData * InData,
const FPCGAttributePropertyInputSelector & InSelector,
TArray < T, AllocatorType > & OutArray,
FPCGContext * Context,
EPCGAttributeAccessorFlags GetFlags,
bool bQuiet
)
}
true if it succeeded.
Parameters
| Name | Remarks |
|---|---|
| InData | Input data to extract the value from. Will also be used to resolve @Last on the selector. |
| InSelector | Selector to know which value to extract. Will be resolved if it is @Last. |
| OutArray | Output array where the values will be written. |
| Context | Optional context for logging. Can be null. |
| GetFlags | Flags for the get accessor. By default, is broadcast and constructible. |