Assign color

This modifier assigns a uniform color to all selected elements (particles, bonds, etc.) by setting their Color property. Which elements are currently selected is determined by the value of their Selection property. If no selection is defined, i.e. the Selection property does not exist, the color is assigned to all elements by the modifier.

The Operate on field selects the kind of elements the modifier should assign the color to:

Operate onDescription
Particles

Selected particles are colored by setting their Color property.

Bonds

Selected bonds are colored by setting their Color property.

Particle vectors

The vector glyphs of selected particles are colored by setting their Vector Color property.

Mesh faces

Selected facets of a surface mesh are colored by setting their Color property.

Mesh vertices

Selected vertices of a surface mesh are colored by setting their Color property.

Note that OVITO uses a red color to highlight selected particles in the interactive viewports. Since this accentuation would mask the actual particle color assigned by this modifier, the modifier clears the current selection by default (by deleting the Selection property). If you would like to preserve the particle selection so that is remains available to subsequent modifiers in the data pipeline, you can request the modifier to not delete the Selection property by activating the Keep selection option.