Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGCleanSplineSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCleanSpline.h |
| Include | #include "Elements/PCGCleanSpline.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCleanSplineSettings : public UPCGSettings
Remarks
Remove superfluous control points along the spline, such as those that are co-located or collinear.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFuseColocatedControlPoints | Fuse control points that share the same location in world space, within a distance threshold. | |
| bool | bRemoveCollinearControlPoints | Remove control points on linear sections of the spline that would otherwise have no effect on the final spline calculation. | |
| bool | bUseRadians | Use radians directly, instead of degrees. | |
| bool | bUseSplineLocalSpace | Use spline local space for the distance calculation, rather than world space. | |
| double | CollinearAngleThreshold | A control point will be considered collinear if it is within this angle from the segment between its previous and next control points. | |
| double | ColocationDistanceThreshold | Control points will be considered co-located if they are within this distance from one another. | |
| EPCGControlPointFuseMode | FuseMode | Controls how two co-located points will be fused together. |
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 > | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |