Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGSpawnerPrimitives |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Compute/PCGDataBinding.h |
| Include Path | #include "Compute/PCGDataBinding.h" |
Syntax
USTRUCT ()
struct FPCGSpawnerPrimitives
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeIdOffsetStrides | TArray< FUintVector4 > | Same for all primitives. | Compute/PCGDataBinding.h | |
| NumCustomFloats | uint32 | Same for all primitives. | Compute/PCGDataBinding.h | |
| PrimitiveFactory | TSharedPtr< IPCGRuntimePrimitiveFactory > | Compute/PCGDataBinding.h | ||
| PrimitiveMeshBounds | TArray< FBox > | Compute/PCGDataBinding.h | ||
| SelectionCDF | TArray< float > | Cumulative distribution function values (one per primitive) to enable choosing a primitive based on a random draw value. | Compute/PCGDataBinding.h | |
| SelectorAttributeId | int32 | Compute/PCGDataBinding.h |