Creating a spatial drawing app with RealityKit
Use low-level mesh and texture APIs to achieve fast updates to a person’s brush strokes by integrating RealityKit with ARKit and SwiftUI.
Overview
Configure the sample code project
To run this sample code, you’ll need:
An Apple Vision Pro with visionOS 2 or later
Xcode 16 or later
Because this sample app uses ARKit hand tracking on visionOS, drawing features aren’t available in the visionOS simulator.
See Also
Scene content
Hello WorldEnabling video reflections in an immersive environmentGenerating interactive geometry with RealityKitCombining 2D and 3D views in an immersive appTransforming RealityKit entities using gesturesResponding to gestures on an entityModels and meshesMaterials, textures, and shadersAnchorsLights and camerasContent synchronizationAudioVideosImages