Highlight is a visual effect you can use to call attention to a specific object within your experience. Every highlight effect has a silhouette outline that surrounds the object and a solid overlay interior that displays over the object's interior. You can customize both of these components independently to modify the highlight's visual appearance.
|Original Object||Black Outline, Yellow Interior||Yellow Outline, Black Interior|
Useful applications of the highlight effect include:
- Providing visual feedback that an object is important and/or interactable.
- Making distant objects visible through objects that are closer to the user.
- Indicating the current position and status of other characters.
As a performance limit, Studio only displays 31 simultaneous Highlight instances on the client at a time. If you exceed this limit, the additional instances are silently ignored.
For low-end devices, Studio uses a fallback version that doesn't have high performance overheads. This version doesn't have the outline effect; instead, it creates an interior fill with a checker pattern to emulate the FillTransparency property.
Controls how the Highlight effect displays with respect to other objects in the world. You can set this property to one of the following options:
AlwaysOnTop - Allows the highlight to display regardless if there are objects between the camera and the highlighted object. This means the user is always able to see the highlight regardless of what is between the highlighted object and the camera.
Occluded - Hides the highlight if there are objects between the camera and the highlighted object. This means the user is only able to see the object if there are no obstructing objects between the highlighted object and the camera's view.
|DepthMode = AlwaysOnTop||DepthMode = Occluded|
Sets the visibility of the highlight's interior to any value between the default value of 0 (opaque) and 1 (transparent). You can use this property to determine how much of the object's existing color you want users to see.
|FillTransparency = 0||FillTransparency = 0.5||FillTransparency = 1|