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