Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Grammar
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGSplineToSegmentSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Grammar/PCGSplineToSegment.h |
| Include | #include "Elements/Grammar/PCGSplineToSegment.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSplineToSegmentSettings : public UPCGSettings
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bExtractAngles | Can extract the angle with previous tangent and next tangent. | |
| bool | bExtractClockwiseInfo | Can output a global attribute to know if the spline points order is clockwise or counterclockwise. | |
| bool | bExtractConnectivityInfo | Can set the index of the previous and next segment (to keep information on connectivity). | |
| bool | bExtractTangents | Can extract the tangents with previous segment and next segment. |
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 > |