Using onGeometryChange3D to scale RealityView content when a Volume is resized
We can use this modifier to access the geometry of a view without using GeometryReader.
Code snippets and examples of using common APIs throughout visionOS development
We can use this modifier to access the geometry of a view without using GeometryReader.
This component provides access to aspect ratio, image size, and the size of the presentation in our scene.
We can pre or post-generate Spatial Scenes, depending on the needs of our app.
There are two events we can use to listen for changes to viewing mode, with some caveats.
The available viewing modes depend on the type of image the component is presenting.
This component allows us to display Standard and Spatial Photos. We can also generate Spatial Scenes from existing photos.
The OnCollision Behavior can fire a Timeline when colliding with more than one Entity.
We can use Behaviors in a parent scene to trigger Timelines in a child scene.
We can next Timelines in others to group actions into small reusable sequences.
We can trigger more than one Behavior/Timeline using a single notification, even when the timelines are defined in different files.
We can use Entity Actions in Timelines to animate changes to our scenes.
We can use RealityKit Timelines to add interaction and animation to our scenes.