Skip to content

Packages

The SDK's code is published to each ecosystem's own registry, so a project adds it the usual way. The closed core is never in these packages: every library is stamped for one app, so a developer downloads their own (with its sona-licence.json) from their app's page on https://360sona.com/devs and puts it where the package looks (installing).

  • NuGet, Sona360: dotnet add package Sona360. The library goes beside the program, or on the loader path.
  • PyPI, sona360: pip install sona360. The library goes in SONA_LIB_DIR, or beside the sona package.
  • crates.io, sona360 (and sona360-sys): cargo add sona360, then use sona; in code. The library is found through SONA_LIB_DIR at build time and the loader path at run time. The optional modules' crates, sona-editor (the player editor, safe), sona-editor-sys and sona-track-sys (raw), are not on crates.io: they are in the SDK download under bindings/rust/, added by path (sona-editor = { path = "sdk/bindings/rust/sona-editor" }).
  • npm, @360sona/three, @360sona/babylon, @360sona/react: npm install @360sona/three. They draw with the web download's sona-renderer.js, which the page's import map names sona-renderer (the wrappers).
  • Unity, com.360sona.renderer, in the SDK download for Unity: Package Manager, Add package from disk, then the package's package.json (the Unity tutorial). The libraries go in Runtime/Plugins/, one per platform.
  • Unity Asset Store, 360sona-renderer-<version>.unitypackage: Assets, Import Package. The libraries go as above.
  • Godot Asset Library, 360sona Avatars (addons/sona): the AssetLib tab, or unzip into the project. The libraries go in addons/sona/bin/<platform>/.
  • Fab, 360sona Avatars (the Sona360 plugin): Fab, or unzip into Plugins/. The library goes in Source/ThirdParty/SonaLib/.

Versions follow sona.h (SONA_VERSION_*); the npm wrappers follow the web SDK's version.

This page as Markdown · All the docs as one file (llms-full.txt)