Link Search Menu Expand Document

Pack Clusters

PCGEx | Cluster : Pack

Pack Clusters

The Pack Clusters node combines individual vertex-edge pairs into a single data set for storage and reuse, allowing for selective attribute and tag preservation, but must be unpacked to be used as a cluster.


Vtx
Endpoints of the input Edges
Edges
Edges associated with the input Vtxs
Packed Clusters
Individually packed vtx/edges pairs

Table of content


The Pack Cluster nodes outputs individual clusters into a single points data that contains both Vtx and Edges. As such, it is not directly usable as a cluster object, until it is unpacked using the Unpack Clusters node.

This node is primarily designed so you can save clusters/diagrams to assets in order to re-use them without the associated cost of building them. Make sure to flatten the data before you save it, otherwise attributes may not carry over properly.



Properties


Carry Over Settings


“Carry over” settings lets you pick-and-choose which attributes & tags carry over to the new data.

Property Description
Preserve Attributes Default Value If enabled, the node will attempt to create attributes on the data in a way that preserve the original, underlying default value of the attribute.
This can be critical in order to identify which data originally belonged to which, as well as properly initializing flags to a desirable default.
Attributes Lets you pick and choose which attributes to keep or dismiss.
Tags Lets you pick and choose which attributes to keep or dismiss.

Both Attributes & Tags share the same string-based filters.

Note that the filters look for a single valid match amongst the list; you cannot create and/or conditions.

Filter Details

Property Description
Filter Mode Chooses how the filter operates.
- All let everything pass.
- Exclude filters out the result of the filter.
- Include only allows the items that pass the filters.
Matches Lets you define a list of checks pairs: a string value, and a Match Mode.
Comma Separated Names Easy to override, lets you specify a list of comma-separated names.
The only caveat is that you can only pick a unique match mode used for each entry.
Comma Separated Names Filter Which filter will be used along the Comma Separated Names.
Preserve PCGEx Data Most of the time you’ll want to leave it to its default value. It ensures PCGEx/ prefixed data are not captured by the filter.

Filter Modes

Mode Description
Equals Checks for strict equality of the filtered value and the associated string.
Contains Checks if the filtered value contains the associated string.
Starts With Checks if the filtered value is prefixed with the associated string.
Ends With Checks if the filtered value is suffixed with the associated string.