Navigation
API > API/Plugins > API/Plugins/PCG
Splits spline at a specific distance(s), key(s) or at certain values.
| Name | UPCGSplitSplinesSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSplitSplines.h |
| Include Path | #include "Elements/PCGSplitSplines.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSplitSplinesSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSplitSplinesSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGSplitSplinesSettings() |
Elements/PCGSplitSplines.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Attribute | FPCGAttributePropertyInputSelector | Attribute identifying either the provenance of the split constants (key, distance or alpha) or the predicate on the control points. | Elements/PCGSplitSplines.h |
|
| bShouldOutputOriginatingSplineIndex | bool | Controls whether the output spline will have an attribute containing the index of the originating spline. | Elements/PCGSplitSplines.h |
|
| bUseConstant | bool | Controls whether the input splines will be cut using a single constant or values driven either by an additional input or based on a predicate on the spline control points. | Elements/PCGSplitSplines.h |
|
| Constant | double | Constant (either Key, Distance or Alpha) that will be used to split the splines. | Elements/PCGSplitSplines.h |
|
| Mode | EPCGSplitSplineMode | Split criteria. | Elements/PCGSplitSplines.h |
|
| OutputOriginatingSplineIndex | FPCGAttributePropertyOutputSelector | Attribute to write the originating spline index to. | Elements/PCGSplitSplines.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGChangeType GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | Elements/PCGSplitSplines.h | |
virtual FName GetDefaultNodeName() |
Elements/PCGSplitSplines.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGSplitSplines.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGSplitSplines.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGSplitSplines.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/PCGSplitSplines.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGSplitSplines.h |