Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- FPCGContext
- FPCGStaticMeshSpawnerContext
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGStaticMeshSpawnerContext.h |
| Include | #include "Elements/PCGStaticMeshSpawnerContext.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FPCGStaticMeshSpawnerContext : public FPCGContext
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCurrentInputSetup | Per-input context variables. | |
| bool | bReuseCheckDone | Whole-execution variables. | |
| bool | bSelectionDone | ||
| bool | bSkippedDueToReuse | ||
| TMap< PCGMetadataValueKey, FPCGInstancesAndWeights > | CategoryEntryToInstancesAndWeights | Used in the weighted by category selector. | |
| TArray< int > | CumulativeWeights | ||
| int32 | CurrentDataIndex | Index of MeshInstances/PackedCustomData in last MeshInstancesData element. | |
| int32 | CurrentInputIndex | Index of input in the context (for selection) | |
| UPCGPointData * | CurrentOutputPointData | ||
| const UPCGPointData * | CurrentPointData | ||
| int32 | CurrentPointIndex | ||
| FPCGMeshMaterialOverrideHelper | MaterialOverrideHelper | ||
| TArray< FPackedInstanceListData > | MeshInstancesData | ||
| TMap< TSoftObjectPtr< UStaticMesh >, FBox > | MeshToBoundingBox | Used in all selectors. | |
| TMap< TSoftObjectPtr< UStaticMesh >, PCGMetadataValueKey > | MeshToValueKey | ||
| TMap< PCGMetadataValueKey, TSoftObjectPtr< UStaticMesh > > | ValueKeyToMesh | Used in by-attribute selector. | |
| TArray< TArray< FPCGMeshInstanceList > > | WeightedMeshInstances | Used in weighted selector. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPackedInstanceListData |