介绍一下 RealityKit
Asked on 2025-07-03
1 search
RealityKit is a powerful framework developed by Apple that provides high-performance 3D simulation and rendering capabilities for apps on iOS, iPadOS, macOS, and visionOS. It is designed to enable developers to create immersive spatial computing apps and games by seamlessly blending 3D content with the real-world environment.
Key features of RealityKit include:
-
Cross-Platform Capabilities: RealityKit supports multiple Apple platforms, allowing developers to write their app once and deploy it across iOS, macOS, iPadOS, and visionOS with minimal code changes. This cross-platform support extends to the latest TVOS as well.
-
Integration with SwiftUI and ARKit: RealityKit works in conjunction with SwiftUI and ARKit to provide a comprehensive toolkit for building spatial experiences. This integration allows for easy content positioning and interaction within SwiftUI views.
-
Advanced Rendering and Simulation: RealityKit offers realistic rendering styles, including realistic, cel-shaded, and cartoon styles. It also supports advanced features like dynamic lights, mesh instances, and environment blending.
-
Support for Immersive Media: RealityKit includes support for immersive video playback, including 180°, 360°, and wide field of view videos. It also introduces new components for presenting images and spatial scenes, enhancing the way media is displayed in apps.
-
New APIs and Features: Recent updates to RealityKit have introduced new APIs for spatial tracking, gesture handling, and post-processing effects, among others. These updates make it easier to create interactive and visually appealing 3D experiences.
For more detailed information, you can explore sessions like Discover RealityKit APIs for iOS, macOS, and visionOS and What’s new in RealityKit from WWDC.

Discover RealityKit APIs for iOS, macOS, and visionOS
Learn how new cross-platform APIs in RealityKit can help you build immersive apps for iOS, macOS, and visionOS. Check out the new hover effects, lights and shadows, and portal crossing features, and view them in action through real examples.

What’s new in USD and MaterialX
Explore updates to Universal Scene Description and MaterialX support on Apple platforms. Discover how these technologies provide a foundation for 3D content creation and delivery, and learn how they can help streamline your workflows for creating great spatial experiences. Learn about USD and MaterialX support in RealityKit and Storm, advancements in our system-provided tooling, and more.

What’s new in visionOS 26
Explore exciting new features in visionOS 26. Discover enhanced volumetric APIs and learn how you can combine the power of SwiftUI, RealityKit and ARKit. Find out how you can build more engaging apps and games using faster hand tracking and input from spatial accessories. Get a sneak peek at updates to SharePlay, Compositor Services, immersive media, spatial web, Enterprise APIs, and much more.