# Selection sets

Several Simplygon features require some form of selection set to function properly, for example for selective processing, assignment of clipping geometries, cameras / visibility volumes for visibility culling, bone locks etc. As Unity does not have any official support for selection sets we've added an extension in the form of a SimplygonSelectionSet component.

The SimplygonSelectionSet component can be added to most scene nodes, such as transformations, meshes, bones and cameras. Upon export (to Simplygon) these components will be identified and related nodes placed in selection sets accordingly. A set has two properties, the first is the name of the selection set the node should be part of, the second is include children, which when specified will add all children of the node to the set.

The SimplygonSelectionSet component can be found in Components -> Simplygon -> SimplygonSelectionSet, as well as in the component menu in the inspector.

# Add selection set through menu

Selection set through menu

# Add selection set through inspector

Selection set through inspector

# Modify properties of a selection set

Modify selection set

# Use selection set

To assign a set to a specific Simplygon pipeline, simply select the dropdown and select the set you wish to use. Cameras can be assigned without a current scene selection, all other objects needs to be selected for the dropdown to be populated.

Clipping geometry selection set.

Clipping geometry selection set

Visibility culling selection set.

Camera selection set