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