Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop
Creates spline cross-sections of one more primitives based on vertex features.
| Name | UPCGPrimitiveCrossSectionSettings |
| Type | class |
| Header File | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGPrimitiveCrossSection.h |
| Include Path | #include "Elements/PCGPrimitiveCrossSection.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGPrimitiveCrossSectionSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGPrimitiveCrossSectionSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGPrimitiveCrossSectionSettings() |
Elements/PCGPrimitiveCrossSection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableMinAreaCulling | bool | Cull tiers that have a surface area smaller than a specified threshold. | Elements/PCGPrimitiveCrossSection.h |
|
| bEnableMinHeightCulling | bool | Culls tiers that don't meed a minimum height requirement. | Elements/PCGPrimitiveCrossSection.h |
|
| bEnableTierMerging | bool | Cull tiers that are within a specified threshold. | Elements/PCGPrimitiveCrossSection.h |
|
| bRemoveRedundantSections | bool | If multiple tiers can be combined into a single tier without affecting the contour, remove the redundant one. | Elements/PCGPrimitiveCrossSection.h |
|
| ExtrusionVectorAttribute | FPCGAttributePropertyOutputSelector | The attribute that will be populated with each cross-section's extrusion vector. | Elements/PCGPrimitiveCrossSection.h |
|
| MaxMeshVertexCount | int32 | A safeguard to prevent finding features on an overly complex mesh. | Elements/PCGPrimitiveCrossSection.h |
|
| MinAreaCullingThreshold | double | If a tier is smaller in area than this threshold, it will be culled. | Elements/PCGPrimitiveCrossSection.h |
|
| MinHeightCullingThreshold | double | If a tier is smaller in height than this threshold, it will be culled. | Elements/PCGPrimitiveCrossSection.h |
|
| MinimumCoplanarVertices | int32 | The minimum required number of vertices that must be co-planar in order to be considered a tier "feature". | Elements/PCGPrimitiveCrossSection.h |
|
| SliceDirection | FVector | Slicing will happen from the minimum vertex along this direction vector (normalized). | Elements/PCGPrimitiveCrossSection.h |
|
| TierMergingThreshold | double | If a tier is within this distance (in cm) of the previous tier, it will be culled. | Elements/PCGPrimitiveCrossSection.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGPrimitiveCrossSection.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGPrimitiveCrossSection.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGPrimitiveCrossSection.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGPrimitiveCrossSection.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGPrimitiveCrossSection.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Elements/PCGPrimitiveCrossSection.h | ||
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGPrimitiveCrossSection.h |