-
Notifications
You must be signed in to change notification settings - Fork 24
How arunityX Works
Philip Lamb edited this page Sep 23, 2023
·
2 revisions
artoolkitX for Unity consists of:
- a set of Unity C# scripts which are placed in a Unity scene, and which perform live augmented reality tracking
- Unity Editor C# scripts which assist with AR app setup and deployment
- native Unity plugins, based around the artoolkitX native libraries for Windows, mac OS, iOS, Android, and Linux, and
- supporting tools for trackable handling and camera calibration.
The core computer vision portions of the toolkit are written in C and C++ and compiled into native code for each platform, as a library named "ARX". The Unity scripts communicate with the native code via C#'s "platform invoke" (P/invoke) system, which allows native code to be called from C#. The native abstractions (e.g. an ARTrackable which might represent a textured 2D surface, or a square fiducial marker) are re-represented by C# scripts which act as Unity game components.