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 inSONA_LIB_DIR, or beside thesonapackage. - crates.io,
sona360(andsona360-sys):cargo add sona360, thenuse sona;in code. The library is found throughSONA_LIB_DIRat build time and the loader path at run time. The optional modules' crates,sona-editor(the player editor, safe),sona-editor-sysandsona-track-sys(raw), are not on crates.io: they are in the SDK download underbindings/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'ssona-renderer.js, which the page's import map namessona-renderer(the wrappers). - Unity,
com.360sona.renderer, in the SDK download for Unity: Package Manager, Add package from disk, then the package'spackage.json(the Unity tutorial). The libraries go inRuntime/Plugins/, one per platform. - Unity Asset Store,
360sona-renderer-<: Assets, Import Package. The libraries go as above.version>.unitypackage - Godot Asset Library,
360sona Avatars(addons/sona): the AssetLib tab, or unzip into the project. The libraries go inaddons/sona/bin/<platform>/. - Fab,
360sona Avatars(theSona360plugin): Fab, or unzip intoPlugins/. The library goes inSource/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)