Navigation
API > API/Plugins > API/Plugins/PCG
Selector type that uses a table of primitive data (one row per primitive) and expects a table row index on the input points.
| Name | UPCGMeshSelectorPrimitiveData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/MeshSelectors/PCGMeshSelectorPrimitiveData.h |
| Include Path | #include "MeshSelectors/PCGMeshSelectorPrimitiveData.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGMeshSelectorPrimitiveData : public UPCGMeshSelectorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGMeshSelectorBase → UPCGMeshSelectorPrimitiveData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CustomPrimitiveDataAttributes | TArray< FPCGAttributePropertyInputSelector > | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
|
| MaterialOverrideAttributes | TArray< FName > | Per-material-slot list of attributes in primitive data that specify materials to override on the spawned primitives. | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
| MeshAttribute | FName | Attribute in primitive data that provides the mesh for the spawned primitives. | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
| PrimitiveIndexAttribute | FName | Attribute on input source data that serves as a row index into the primitive table. | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
| PrimitiveOverrideAttributes | TArray< FPCGObjectPropertyOverrideDescription > | Array of attributes in primitive data that drive properties on the spawned primitives. | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
| TemplateDescriptor | FPCGSoftISMComponentDescriptor | Base/default settings for the spawned primitive before overrides are applied. | MeshSelectors/PCGMeshSelectorPrimitiveData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PackCustomPrimitiveData
(
const UPCGData* InputData, |
MeshSelectors/PCGMeshSelectorPrimitiveData.h |
Public Virtual
Overridden from UPCGMeshSelectorBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool SelectMeshInstances
(
FPCGStaticMeshSpawnerContext& Context, |
MeshSelectors/PCGMeshSelectorPrimitiveData.h |