Navigation
API > API/Plugins > API/Plugins/PCG
Computes quantities from nearby neighbor points, such as average density, color, and position.
| Name | UPCGPointNeighborhoodSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGPointNeighborhood.h |
| Include Path | #include "Elements/PCGPointNeighborhood.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGPointNeighborhoodSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGPointNeighborhoodSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AveragePositionAttribute | FName | The output attribute name to write the average positions, if not "None". | Elements/PCGPointNeighborhood.h |
|
| bSetAverageColor | bool | Writes the target color to the point color if true, otherwise keeps the source color. | Elements/PCGPointNeighborhood.h |
|
| bSetAveragePosition | bool | Writes the average position to the point transform. | Elements/PCGPointNeighborhood.h |
|
| bSetAveragePositionToAttribute | bool | Allows the average position to be output into a user-generated attribute. | Elements/PCGPointNeighborhood.h |
|
| bSetDistanceToAttribute | bool | Allows the non-normalized distance to be output into a user-generated attribute. | Elements/PCGPointNeighborhood.h |
|
| bWeightedAverage | bool | Takes the bounds into account when projecting points. | Elements/PCGPointNeighborhood.h |
|
| DistanceAttribute | FName | The output attribute name to write the non-normalized distance, if not "None". | Elements/PCGPointNeighborhood.h |
|
| SearchDistance | double | Elements/PCGPointNeighborhood.h |
|
|
| SetDensity | EPCGPointNeighborhoodDensityMode | Writes either the normalized distance or the average density to the point density. | Elements/PCGPointNeighborhood.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGPointNeighborhood.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGPointNeighborhood.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGPointNeighborhood.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGPointNeighborhood.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGPointNeighborhood.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/PCGPointNeighborhood.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGPointNeighborhood.h |