Spatial SDK is a Kotlin SDK for building immersive 3D and mixed reality experiences on Meta Horizon OS. It combines the Android development ecosystem with Meta VR device capabilities through accessible APIs. Spatial SDK is an Android library, so you can use the mobile languages, tools, and libraries you already know. Add it to an existing Android app to give the app an immersive mode, or use it to build a fully immersive app from scratch.
Why use Spatial SDK
Quick to get started: Spatial SDK looks and feels familiar to mobile developers. You can start building spatial experiences right away.
Simple to learn: Spatial SDK simplifies Meta Horizon OS development with intuitive APIs. You integrate key platform capabilities into your experiences.
Fast to build: The Spatial SDK workflow is fast, so you can iterate on your app. The developer tools and capabilities let you build and test your ideas quickly.
Additive to mobile: Spatial SDK builds on your existing engineering stack and infrastructure. You keep the wide ecosystem of libraries and tools available to mobile developers.
If you are new to building immersive experiences, explore the design guidelines. These guidelines help you create immersive, accessible apps that reach a broad audience.
Spatial SDK capabilities
Mixed reality: Spatial SDK supports key mixed reality features such as passthrough, scene, anchors, and Mixed Reality Utility Kit (MRUK); enabling developers to quickly build apps that blend the virtual and physical world.
Realistic 3D graphics: Spatial SDK supports modern graphics pipelines, including glTF, physically-based rendering (PBR), image-based lighting, skeletal animations, and rigid body physics. Use them to create compelling 3D experiences.
Complete scene composition: Spatial SDK supports complex compositions containing 3D assets, animations, sounds, physics, and more. Build full scenes with Spatial Editor or create them at runtime using code.
Interactive panels: Spatial SDK supports rich panels inside your app’s scene, built using your preferred 2D UI framework.
Add Spatial SDK to your app
The guides below carry the full setup, including the SDK dependencies and the Spatial Editor export configuration. Pick the route that matches your project:
This path is a route through the documentation for developers who are new to spatial apps, not a complete feature list. Work through the sections in order, then use the API reference for specific classes and methods.
Key concepts
Spatial SDK architecture: how Spatial SDK works with Android apps, and how your app reaches Meta VR device features.
StarterSample: foundation project for the getting started tutorials
The same repository holds showcase apps that demonstrate complete Spatial SDK implementations, including Focus, a productivity workspace with panel management, spatial object persistence, AI integration, and mixed reality task organization.