Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataPartitionCommon.h |
| Include | #include "Metadata/PCGMetadataPartitionCommon.h" |
namespace PCGMetadataPartitionCommon
{
TArray < TArray < int32 > > PCGMetadataPartitionCommon::AttributeGenericPartition
(
const UPCGData * InData,
const FPCGAttributePropertySelector & InSelector,
FPCGContext * InOptionalContext,
bool bSilenceMissingAttributeErrors
)
}
Remarks
Generic partition for the incoming data on the given attribute. Will return an array of bucket indices. Each bucket will contain the indices (in stable order) for a given partition. Array of bucket indices.
Parameters
| Name | Description |
|---|---|
| InData | Data to partition, need to support attributes (spatial data or attribute set). |
| InSelector | Selector on the attribute to partition. |
| InOptionalContext | Optional context for logging. |
| bSilenceMissingAttributeErrors | Do not log errors to the context or log. |