Skip to content

The Meta Spatial SDK Templates is a collection of code samples that demonstrate the capabilities of the Meta Spatial SDK. These samples are used by the Meta Horizon Plugin for Android Studio. Meta Spatial SDK enables mobile developers to build Meta Horizon OS experiences using familiar Android languages, tools, and libraries.

License

Notifications You must be signed in to change notification settings

meta-quest/Meta-Spatial-SDK-Templates

Meta Spatial SDK Templates

This repository is a collection of code samples that demonstrate the capabilities of Meta Spatial SDK. Meta Spatial SDK is a new way to build immersive apps for Meta Horizon OS. Meta Spatial SDK lets you combine the rich ecosystem of Android development and the unique capabilities of Meta Quest via accessible APIs.

The samples in this repository are used for New Project Templates by the Meta Horizon Plugin for Android Studio. Each sample project includes source code, build scripts, and documentation to help developers understand how to use the SDK to build their own spatially-aware applications.

Requirements

To try out these sample apps, you will need:

Getting Started

First, ensure that all of the requirements are met.

Then, to build and run a sample:

  1. Add the Meta Horizon Plugin for Android Studio to your Android Studio IDE.
  2. In the main toolbar, press "File" -> "New Spatial SDK Project" -> Fill out your project's information -> "Create"
  3. Plug in your Quest device to your computer
  4. Click the "Run" button in the Android Studio toolbar, the app will now be running on your headset

Notes:

Templates

We currently have 1 template app:

  • StarterTemplate is a starter project that shows a basic 3D immersive scene with panels that communicate with each other.

Documentation

The documentation for Meta Spatial SDK can be found here.

Release Notes

Find our official release notes here.

Spatial SDK Gradle Plugin

The samples all include the Spatial SDK Gradle Plugin in their build files. This plugin is used for the Spatial Editor integration and for build-related features like custom shaders.

Meta collects telemetry data from the Spatial SDK Gradle Plugin to help improve MPT Products. You can read the Supplemental Meta Platforms Technologies Privacy Policy to learn more.

License

The Meta Spatial SDK Templates package is multi-licensed.

The majority of the project is licensed under the Zero-Clause BSD License, as found in the LICENSE file.

The Meta Platform Technologies SDK license applies to the Meta Spatial SDK and supporting material, and to the assets used in the Meta Spatial SDK Templates package. The MPT SDK license can be found in the asset folder of each sample.

Specifically, all the supporting materials in each template's app/src/main/assets folders including 3D models, videos, sounds, and others, are licensed under the MPT SDK license.

About

The Meta Spatial SDK Templates is a collection of code samples that demonstrate the capabilities of the Meta Spatial SDK. These samples are used by the Meta Horizon Plugin for Android Studio. Meta Spatial SDK enables mobile developers to build Meta Horizon OS experiences using familiar Android languages, tools, and libraries.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages