Navigation
API > API/Plugins > API/Plugins/PCG
Context passed to FPCGActorMeshParsingContext::ParseActorComponents. When parsing multiple actors into the same PointData, this struct should be shared across all calls so that tag attribute creation is deduplicated.
| Name | FPCGActorMeshParsingContext |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/Registry/PCGDataFunctionRegistryHelpers.h |
| Include Path | #include "Data/Registry/PCGDataFunctionRegistryHelpers.h" |
Syntax
struct FPCGActorMeshParsingContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorIndex | int64 | Per-actor values - caller must set these before each call. | Data/Registry/PCGDataFunctionRegistryHelpers.h | |
| ActorIndexAttribute | FPCGMetadataAttribute< int64 > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| ActorReferenceAttribute | FPCGMetadataAttribute< FSoftObjectPath > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| ActorTags | const TArray< FName > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| bIgnorePCGCreatedComponents | bool | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| bOnlyMeshComponents | bool | Processing flags. | Data/Registry/PCGDataFunctionRegistryHelpers.h | |
| ComponentReferenceAttribute | FPCGMetadataAttribute< FSoftObjectPath > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| HierarchyDepth | int64 | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| HierarchyDepthAttribute | FPCGMetadataAttribute< int64 > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| MaterialAttribute | FPCGMetadataAttribute< FSoftObjectPath > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| MeshAttribute | FPCGMetadataAttribute< FSoftObjectPath > * | Attribute pointers - null means that attribute will not be written. | Data/Registry/PCGDataFunctionRegistryHelpers.h | |
| ParentIndex | int64 | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| ParentIndexAttribute | FPCGMetadataAttribute< int64 > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| PointData | UPCGBasePointData * | Required output target. | Data/Registry/PCGDataFunctionRegistryHelpers.h | |
| PointMetadata | UPCGMetadata * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| RelativeTransform | FTransform | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| RelativeTransformAttribute | FPCGMetadataAttribute< FTransform > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| SanitizedAttributeNames | TSet< FName > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| SkeletalMeshAttribute | FPCGMetadataAttribute< FSoftObjectPath > * | Data/Registry/PCGDataFunctionRegistryHelpers.h | ||
| TagToAttributeMap | TMap< FName, FPCGMetadataAttributeBase * > * | Tag attribute tracking - shared across all calls for the same PointData. | Data/Registry/PCGDataFunctionRegistryHelpers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateTagAttributes
(
AActor* InActor |
Creates metadata attributes on PointMetadata for any of the actor's tags that are not yet tracked in TagToAttributeMap, skipping any that would collide with pre-existing attribute pointers. | Data/Registry/PCGDataFunctionRegistryHelpers.h | |
int ParseActorComponents
(
AActor* InActor |
Parses the primitive components of InActor and writes points into PointData. | Data/Registry/PCGDataFunctionRegistryHelpers.h |