Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGPreconfiguredInfo
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< SubclassType > PopulateFromEnum
(
const TSet< EnumType >& InValuesToSkip, |
Utils/PCGPreconfiguration.h | ||
static TArray< SubclassType > PopulateFromEnum
(
const TSet< EnumType >& InValuesToSkip, |
Automatically fill all preconfigured settings depending on the provided enum. | Utils/PCGPreconfiguration.h |
PopulateFromEnum(const TSet< EnumType > &, const FTextFormat &, const TFunction< bool(SubclassType &InOutInfo, const UEnum *EnumPtr, int32 ValueIndex)> &)
| Name | PopulateFromEnum |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Utils/PCGPreconfiguration.h |
| Include Path | #include "Utils/PCGPreconfiguration.h" |
template<typename EnumType, typename SubclassType>
static TArray < SubclassType > PopulateFromEnum
(
const TSet< EnumType > & InValuesToSkip,
const FTextFormat & InOptionalFormat,
const TFunction < bool *EnumPtr, int32 ValueIndex)> & ProcessFunc
)
PopulateFromEnum(const TSet< EnumType > &, const FTextFormat &, const FTextFormat &, const TFunction< bool(SubclassType &InOutInfo, const UEnum *EnumPtr, int32 ValueIndex)> &)
Description
Automatically fill all preconfigured settings depending on the provided enum. Can also specify explicitly values that should not be included, i.e. cases that may not be available in non-editor builds. Can pass in an optional function or lambda for filtering or finer control over the results, for things like metadata.
| Name | PopulateFromEnum |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Utils/PCGPreconfiguration.h |
| Include Path | #include "Utils/PCGPreconfiguration.h" |
template<typename EnumType, typename SubclassType>
static TArray < SubclassType > PopulateFromEnum
(
const TSet< EnumType > & InValuesToSkip,
const FTextFormat & InOptionalFormat,
const FTextFormat & InOptionalTooltipFormat,
const TFunction < bool *EnumPtr, int32 ValueIndex)> & ProcessFunc
)
An array of preconfigured info for schema actions or conversion, etc.
Parameters
| Name | Remarks |
|---|---|
| InValuesToSkip | A set of enum values that should be skipped during population, like counts or hidden values. |
| InOptionalFormat | An optional string format to fit the name of the action into, as it appears in the contextual search. |
| ProcessFunc | A post-process or filtering callback for each enum value. Returns false if the enum should be filtered. |