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 |
|