how to use bezel?

Asked on 2024-09-25

1 search

The "bezel" or "baseplate" in the context of Apple's WWDC is a feature used in VisionOS to help users understand the boundaries of a volume. It appears automatically when looked at, highlighting the bottom edges of the volume. This is particularly useful for content that sits inside a volume but doesn't fill its bounds, as it gives users a sense of the edges of the volume.

In VisionOS 2, the baseplate is enabled by default and can be controlled using the volume baseplate visibility modifier. The automatic behavior fades in the baseplate when it's looked at, which is equivalent to writing the modifier with visible. However, if your app's content already extends to the bounds of the volume or if you draw your own surface, it's better to disable the baseplate to avoid conflicts and let the content itself guide users to the edges.

For more details, you can refer to the session Dive deep into volumes and immersive spaces (02:20).