Navigation
API > API/Plugins > API/Plugins/PCG
Take a spline as input and create a point data, with each point being a segment defined by 2 connected control points. The point position will be in the middle of those 2 control points, and the extents of the point will be half the difference between those 2 control points.
| Name | UPCGSplineToSegmentSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Grammar/PCGSplineToSegment.h |
| Include Path | #include "Elements/Grammar/PCGSplineToSegment.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSplineToSegmentSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSplineToSegmentSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExtractAngles | bool | Can extract the angle with previous tangent and next tangent. | Elements/Grammar/PCGSplineToSegment.h |
|
| bExtractClockwiseInfo | bool | Can output a global attribute to know if the spline points order is clockwise or counterclockwise. | Elements/Grammar/PCGSplineToSegment.h |
|
| bExtractConnectivityInfo | bool | Can set the index of the previous and next segment (to keep information on connectivity). | Elements/Grammar/PCGSplineToSegment.h |
|
| bExtractTangents | bool | Can extract the tangents with previous segment and next segment. | Elements/Grammar/PCGSplineToSegment.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/Grammar/PCGSplineToSegment.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/Grammar/PCGSplineToSegment.h | ||
virtual FText GetNodeTooltipText() |
Elements/Grammar/PCGSplineToSegment.h | ||
virtual EPCGSettingsType GetType() |
Elements/Grammar/PCGSplineToSegment.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/Grammar/PCGSplineToSegment.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/Grammar/PCGSplineToSegment.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/Grammar/PCGSplineToSegment.h |