Navigation
API > API/Plugins > API/Plugins/PCGGeometryScriptInterop > API/Plugins/PCGGeometryScriptInterop/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGPrimitiveCrossSectionSettings
References
| Module | PCGGeometryScriptInterop |
| Header | /Engine/Plugins/PCGInterops/PCGGeometryScriptInterop/Source/PCGGeometryScriptInterop/Public/Elements/PCGPrimitiveCrossSection.h |
| Include | #include "Elements/PCGPrimitiveCrossSection.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGPrimitiveCrossSectionSettings : public UPCGSettings
Remarks
Creates spline cross-sections of one more primitives based on vertex features.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableMinAreaCulling | Cull tiers that have a surface area smaller than a specified threshold. | |
| bool | bEnableTierMerging | Cull tiers that are within a specified threshold. | |
| bool | bRemoveRedundantSections | If multiple tiers can be combined into a single tier without affecting the contour, remove the redundant one. | |
| FPCGAttributePropertyOutputSelector | ExtrusionVectorAttribute | The attribute that will be populated with each cross-section's extrusion vector. | |
| int32 | MaxMeshVertexCount | A safeguard to prevent finding features on an overly complex mesh. | |
| double | MinAreaCullingThreshold | If a tier is smaller in area than this threshold, it will be culled. | |
| int32 | MinimumCoplanarVertices | The minimum required number of vertices that must be co-planar in order to be considered a tier "feature". | |
| FVector | SliceDirection | Slicing will happen from the minimum vertex along this direction vector (normalized). | |
| double | TierMergingThreshold | If a tier is within this distance (in cm) of the previous tier, it will be culled. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > |