Navigation
API > API/Plugins > API/Plugins/PCG
Intersects splines against other splines (or themselves) and returns varied results based on user need.
| Name | UPCGSplineIntersectionSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSplineIntersection.h |
| Include Path | #include "Elements/PCGSplineIntersection.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSplineIntersectionSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSplineIntersectionSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGSplineIntersectionSettings() |
Elements/PCGSplineIntersection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOutputComplexIntersections | bool | Controls whether we'll output intersection ranges (start/end) when relevant instead of singular points. | Elements/PCGSplineIntersection.h |
|
| bOutputIntersectionType | bool | Controls whether intersection types will be written to the attributes. | Elements/PCGSplineIntersection.h |
|
| bOutputSplineIndices | bool | Controls whether the output will contain the index of the intersecting splines | Elements/PCGSplineIntersection.h |
|
| bUseBestFitBox | bool | Controls whether the output for intersection points is oriented using a best fit box (using PCA - Principal Component Analysis) or if it's aligned on the longest intersection. | Elements/PCGSplineIntersection.h |
|
| DistanceThreshold | double | Maximum distance at which we report an intersection on the splines. | Elements/PCGSplineIntersection.h |
|
| IntersectingSplineIndexAttribute | FPCGAttributePropertyOutputNoSourceSelector | Attribute that will contain the first intersecting spline index, or -1 if not an intersection control point. | Elements/PCGSplineIntersection.h |
|
| IntersectionTypeAttribute | FPCGAttributePropertyOutputNoSourceSelector | Attribute that will contain the intersection type (0: not an intersection, 1: point intersection, 2: intersection start, 3: intersection end.) | Elements/PCGSplineIntersection.h |
|
| OriginatingSplineIndexAttribute | FPCGAttributePropertyOutputNoSourceSelector | Attribute that will contain the first spline index (only in the output case of intersection points.) | Elements/PCGSplineIntersection.h |
|
| Output | EPCGSplineIntersectionOutput | Controls type of output result. | Elements/PCGSplineIntersection.h |
|
| Type | EPCGSplineIntersectionType | Controls type of intersection test that will be done. | Elements/PCGSplineIntersection.h |
|
Functions
Public
Public Virtual
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGChangeType GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | Elements/PCGSplineIntersection.h | |
virtual FName GetDefaultNodeName() |
Elements/PCGSplineIntersection.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGSplineIntersection.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGSplineIntersection.h |
Protected Virtual
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGSplineIntersection.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGSplineIntersection.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGSplineIntersection.h |