Navigation
API > API/Plugins > API/Plugins/PCG
Attracts points (interpolates) from the source towards points from the target.
| Name | UPCGAttractSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAttractElement.h |
| Include Path | #include "Elements/PCGAttractElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttractSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGAttractSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGAttractSettings() |
Elements/PCGAttractElement.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttractorIndexAttribute | FPCGAttributePropertyInputSelector | Index attribute on the source that maps a point to a point from the target. | Elements/PCGAttractElement.h |
|
| bOutputAttractIndex | bool | Elements/PCGAttractElement.h |
|
|
| bRemoveUnattractedPoints | bool | Can optionally remove points that weren't attracted to points on the target. | Elements/PCGAttractElement.h |
|
| bUseSourceWeight | bool | Elements/PCGAttractElement.h |
|
|
| bUseTargetWeight | bool | Elements/PCGAttractElement.h |
|
|
| Distance | double | Will be used to determine which points to attract. | Elements/PCGAttractElement.h |
|
| Mode | EPCGAttractMode | Controls the criteria used for the attract operation. | Elements/PCGAttractElement.h |
|
| OutputAttractIndexAttribute | FPCGAttributePropertyOutputNoSourceSelector | Elements/PCGAttractElement.h |
|
|
| SourceAndTargetAttributeMapping | TMap< FPCGAttributePropertyInputSelector, FPCGAttributePropertyInputSelector > | Elements/PCGAttractElement.h |
|
|
| SourceWeightAttribute | FPCGAttributePropertyInputSelector | This attribute will determine the weight of the fusion result for the source point. | Elements/PCGAttractElement.h |
|
| TargetAttribute | FPCGAttributePropertyInputSelector | The target attribute used when attracted by attribute value. | Elements/PCGAttractElement.h |
|
| TargetWeightAttribute | FPCGAttributePropertyInputSelector | This attribute will determine the weight of the fusion result for the target point. | Elements/PCGAttractElement.h |
|
| Weight | double | Elements/PCGAttractElement.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGAttractElement.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGAttractElement.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGAttractElement.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGAttractElement.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGAttractElement.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/PCGAttractElement.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGAttractElement.h |