On top of the new Custom HLSL, Grammar, Spline and Segment manipulation, Geometry, Raycast, Isoline, Pathfinding, Spline Meshes, Save to PCG Data Assets, Write to Niagara Data Channel operators, 5.5 also introduces multiple native PCG elements including:
Attract: interpolates points and attributes from a source data to a target data according to the weight value and attract distance. Useful to regroup points or interpolate attributes such as scale or rotation to a nearby center of attraction.
Collapse: merges points and attributes according to an iterative search distance threshold. Useful to combine nearby points and use in pair with Attract node.
Blur: Apply spatial blur on a given attribute within a given distance
Cluster: Using traditional clustering algorithms, the Cluster node attempts to identify groups of points from a point data that share proximity to “centroids” in world space.
Random Choice: Chooses points or attribute set entries randomly through ratio or a fixed number of entries.
Create Points Sphere: Generates a sphere of points based on a sphere generation mode (Geodesic, Angle, Segments, Random, Poisson)
Add Component: Adds a component per input point to the specified actor (either through an attribute on the ‘Target Actor’ data, or will default to the owner of the PCG Component), from a template component, or from a class stored in an attribute.
Get Attribute List: Returns an attribute list per input data containing one entry per attribute. Options to also output the internal type and the default value (as a string).
Bounds from Mesh: Updates the point bounds on the input data based on the bounds of static mesh(es) provided in an attribute.
Create Collision Data: allows to create a data that works as-if all points were static meshes with their collision. The output data is a primitive data type (compatible with the volume sampler) and can be used as the “difference” part of the difference node for more precision.
Spawn Spline Component: spawns spline component per spline data provided as input.
Wait Until Landscape Ready: Waits until landscape changes (if any) are done. This node, in collaboration with the options on the graph/pcg component that ignores landscape updates (e.g.
Ignore Landscape Tracking option), allows to build graphs that would affect the landscape (such as placing actors with landscape patches, etc.) without creating loops.
Attribute Remove Duplicate: remove points or attribute set entries which have identical attribute(s) values.
Get Tags: Returns an attribute list per input data that contains one entry per tag, with optionally the values (as strings).
Data Tags to Attribute Set: Returns an attribute set with a single entry per input data.
Sort Data by Tag Value: Sorts input data based on their tag values, e.g. when they have tags of the form Tag:Value
, in either ascending or descending order.
Filter Elements By Index: Filters a points or attribute sets directly getting new data with specified indices.
Parse String: Parses string as attribute and converts it into a compatible PCG type.
Octree spatial queries: adds new functions to do spatial queries from the Point Data octree in Blueprint