Spatial SwiftUI: GeometryReader3D
Reading Size3D and BoundingBox data from a proxy.
Code snippets and examples of using common APIs throughout visionOS development
Reading Size3D and BoundingBox data from a proxy.
Scaling entities to exact real world metrics.
Another option for keeping an existing window open, but hiding it while presenting an immersive space.
Sometimes we want to keep an existing window, but show another window while presenting an immersive space.
Sometimes we want to keep an existing window open, but hide it while presenting an immersive space.
We can specify one or more viewpoints that our volume should support.
Listen for changes to viewpoint with onVolumeViewpointChange.
We can use look() and its variants to point entities to new directions.
We can use move() and its variants to move entities to new locations.
We can use Anchoring Component to describe anchors that RealityKit should track.
Placing virtual content on a plane anchor.
Changing material values is similar to changing component values, but with a few considerations.