Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGActorMeshParsingContext
Description
Parses the primitive components of InActor and writes points into PointData. For UStaticMeshComponent/UInstancedStaticMeshComponent/USkinnedMeshComponent/UInstancedSkinnedMeshComponent, creates one point per mesh instance. For other UPrimitiveComponent types (when bOnlyMeshComponents is false), creates a single point at the component transform using the component's local bounds. Returns the number of points added.
| Name | ParseActorComponents |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/Registry/PCGDataFunctionRegistryHelpers.h |
| Include Path | #include "Data/Registry/PCGDataFunctionRegistryHelpers.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/Registry/PCGDataFunctionRegistryHelpers.cpp |
int ParseActorComponents
(
AActor * InActor
)