How do volumetric containers work on visionOS?

Generated on 8/1/2024

1 search

Volumetric containers on visionOS are designed to enhance the spatial computing experience by allowing apps to take advantage of the third dimension. Here are some key features and functionalities:

  1. Volume Resizing: Users can resize volumes themselves, similar to resizing a window. This allows the volume size to be adjusted to fit the content appropriately (Platforms State of the Union).

  2. Fixed or Dynamic Scale: Developers can choose whether a volume has a fixed or dynamic scale. A fixed scale means the volume remains the same size regardless of its distance from the user, enhancing its presence in the world. A dynamic scale means the volume changes size as it moves closer or further away, similar to real-world objects (Dive deep into volumes and immersive spaces).

  3. Ornaments and Chrome: Ornaments can be affixed to volumes for additional controls or information. These can dynamically move to face the user as they walk around, providing a more interactive experience (Platforms State of the Union).

  4. Baseplate: A baseplate appears automatically when looked at, highlighting the bottom edges of the volume. This helps users understand the boundaries of the volume. The baseplate can be disabled if the content already fills the volume's bounds (Dive deep into volumes and immersive spaces).

  5. World Alignment: Volumes can be set to remain gravity-aligned (parallel to the floor) or tilt as they are raised. This adaptive tilting behavior ensures the content remains usable even from different viewing angles (Dive deep into volumes and immersive spaces).

  6. Scene Types: VisionOS supports three scene types: windows, volumes, and immersive spaces. Volumes are used for rich, immersive 3D content, allowing apps to create unique and exciting experiences that blend with the real world (Dive deep into volumes and immersive spaces).

These features collectively enable developers to create more engaging and interactive volumetric apps on visionOS, enhancing the overall user experience.