Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Object Highlighting

The interaction package includes a feature for highlighting objects in the scene. This is utilized by the Snappers to indicate when an object is within snapping range, but it can also be used independently.

Highlight Effects

Various highlight effects can be applied to objects, allowing for customized visual cues to indicate different states. Creating your own effects or modifying existing ones can be particularly useful for differentiating between these states.

The package includes a default overlay effect that colors an object, as well as two variants of a mesh outline shader.

Highlight Component

The simplest way to add a highlight effect to an object is by using the Highlight component. This component will apply the referenced highlight effect to the GameObject it is attached to.

Highlight component